Android應用覆蓋安裝時crash問題

來源:互聯網
上載者:User

標籤:

最近測試報了這樣的問題, 在版本覆蓋安裝的時候會報如下crash, 實驗一下果然,具體跟進了一下,發現要必現該問題是需要條件的:
1,4.0或者4.1系統
2,覆蓋前Activitystack 棧中有三個以上Activity
經查很多同仁遇到了同樣的問題,收集備忘於此。目前沒有太好的解決辦法。在高版本系統上或者低版本上沒有該種問題。有在排查同樣問題的兄弟們沒時間不要再去查了。意義不大。
java.lang.RuntimeException: Unable to instantiate application com.google.android.apps.plus.phone.EsApplication: java.lang.NullPointerException        at android.app.LoadedApk.makeApplication(LoadedApk.java:466)        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3436)        at android.app.ActivityThread.access$2200(ActivityThread.java:124)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1012)        at android.os.Handler.dispatchMessage(Handler.java:99)        at android.os.Looper.loop(Looper.java:130)        at android.app.ActivityThread.main(ActivityThread.java:3859)        at java.lang.reflect.Method.invokeNative(Native Method)        at java.lang.reflect.Method.invoke(Method.java:507)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)        at dalvik.system.NativeStart.main(Native Method)Caused by: java.lang.NullPointerException        at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:346)        at android.app.LoadedApk.getClassLoader(LoadedApk.java:291)        at android.app.LoadedApk.makeApplication(LoadedApk.java:458)        ... 11 more

Android應用覆蓋安裝時crash問題

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.