Unable to instantiate activity ComponentInfo{com.xxxx.xxxx/com.xxxx.xxxx.LoginActivity}:

今天寫遇到了

java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.xxxx.xxxx/com.xxxx.xxxx.LoginActivity}:

java.lang.ClassNotFoundException: Didn't find class "com.xxxx.xxxx.LoginActivity" on path: /data/app/com.xxxx.xxxx-1.

apk。

  這個錯誤,原因AndroidManifest.xml文件出錯。將問題Activity的name具體到某個包下即可運行。android:name=".LogoActivity"改爲android:name=".ac.LogoActivity".


轉載請註明原文出處:http://blog.csdn.net/chenlinfeng772885775/article/details/49883511



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章