久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

通過 Eclipse 安裝時,Android 應用程序崩潰

Android App is crashing when installing through Eclipse(通過 Eclipse 安裝時,Android 應用程序崩潰)
本文介紹了通過 Eclipse 安裝時,Android 應用程序崩潰的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

限時送ChatGPT賬號..

每次通過 Eclipse 重新安裝時,都會出現以下異常.每次我重新安裝當前處于前臺的應用程序時都會發生這種情況.

I get the following exception every time I reinstall my through eclipse. It happens every time I reinstall an app that is currently in the foreground.

我希望這個錯誤只會在開發過程中發生,因為我會通過 Eclipse 卸載正在運行的應用程序.

I expect that this error is only happening during development because I cause an uninstallation of a running app through Eclipse.

有人在用戶手機上看到過這個錯誤嗎?

Has anybody seen this error on user phones?

當我切換到帶有 ICS 的 Galaxy Nexus 時,這開始發生在我身上.

This started happening for me as I switched to a Galaxy Nexus with ICS.

02-22 11:31:07.098: E/AndroidRuntime(479): FATAL EXCEPTION: main
02-22 11:31:07.098: E/AndroidRuntime(479): java.lang.RuntimeException: Unable to instantiate application android.app.Application: java.lang.NullPointerException
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.LoadedApk.makeApplication(LoadedApk.java:466)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3260)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.ActivityThread.access$2200(ActivityThread.java:117)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.os.Handler.dispatchMessage(Handler.java:99)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.os.Looper.loop(Looper.java:123)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.ActivityThread.main(ActivityThread.java:3683)
02-22 11:31:07.098: E/AndroidRuntime(479):  at java.lang.reflect.Method.invokeNative(Native Method)
02-22 11:31:07.098: E/AndroidRuntime(479):  at java.lang.reflect.Method.invoke(Method.java:507)
02-22 11:31:07.098: E/AndroidRuntime(479):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
02-22 11:31:07.098: E/AndroidRuntime(479):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
02-22 11:31:07.098: E/AndroidRuntime(479):  at dalvik.system.NativeStart.main(Native Method)
02-22 11:31:07.098: E/AndroidRuntime(479): Caused by: java.lang.NullPointerException
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:346)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.LoadedApk.getClassLoader(LoadedApk.java:291)
02-22 11:31:07.098: E/AndroidRuntime(479):  at android.app.LoadedApk.makeApplication(LoadedApk.java:458)
02-22 11:31:07.098: E/AndroidRuntime(479):  ... 11 more

在上面的日志中,我沒有找到任何與我的應用程序相關的東西.但它仍然崩潰.

In the above logs i didn't find any thing related to my application. But still it's crashing.

誰能告訴我這是什么原因?這是 Galaxy Nexus 上冰淇淋三明治中的錯誤嗎?

Can any one tell me what's the reason for this? Is this a bug in Ice Cream Sandwich of on the Galaxy Nexus?

推薦答案

我遇到了這個問題,當 XML 中的某些地方出錯時,也許你只需要重新生成你的 R.java

i got this problem when someting in XML is wrong, maybe you just have to regenerate your R.java

這篇關于通過 Eclipse 安裝時,Android 應用程序崩潰的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How can I find Saturdays and Sundays in A given month?(如何找到給定月份的周六和周日?)
Android Format date with time zone(Android 格式化日期與時區)
How can I make a horizontal sliding calendar in android eclipse?(如何在 android eclipse 中制作水平滑動日歷?)
Android Calendar: Changing the start day of week(Android 日歷:更改一周的開始日期)
In Java, how to get strings of days of week (Sun, Mon, ..., Sat) with system#39;s default Locale (language)(在 Java 中,如何使用系統的默認語言環境(語言)獲取星期幾(Sun、Mon、...、Sat)的字符串) - IT屋-程序員軟件
How to add 7 days to current date while not going over available days of a month?(如何在不超過一個月的可用天數的情況下將 7 天添加到當前日期?)
主站蜘蛛池模板: 久久精品国产一区二区三区不卡 | 国产十日韩十欧美 | 亚洲精品第一 | 国产一区二区精华 | 国产精品福利网站 | 免费色网址 | 综合久久av | 综合在线视频 | 91视频进入 | 国产日韩欧美在线 | 亚洲男女视频在线观看 | 亚洲一区二区综合 | 久久久久国产精品一区二区 | 国产精品海角社区在线观看 | 91天堂网| 91精品在线看 | 在线观看av网站永久 | 精品欧美一区二区三区久久久 | 欧美激情精品久久久久久变态 | 99热这里 | 国产精品国产三级国产aⅴ中文 | 黄色在线观看网站 | 欧美亚洲国产一区二区三区 | 操久久久| 男人天堂av网站 | 亚洲视频二区 | 成年人黄色免费视频 | 夜夜精品视频 | 日韩1区 | 视频一区 亚洲 | 色综合一区二区 | 一区二区三区在线 | 久在线| 日韩综合在线 | 91影院在线观看 | 欧美日韩国产免费 | 日本三级播放 | 久久久精品一区 | 国产高清性xxxxxxxx | 特级黄一级播放 | 九九热国产精品视频 |