java.lang.RuntimeException: Unable to instantiate activity ComponentInfo/ ClassNotFoundException

前端 未结 10 2002
渐次进展
渐次进展 2020-12-15 23:21

I\'m develop android application and than i wanna additional new Activity i had error on my logcat

My LogCat:

04-19 12:59:17.654: D/AndroidRuntime(18         


        
10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-16 00:09

    Dude, this also happened to me when my app was already published in the marketplace. It was a total disaster. I realized it after 5 hours of already publishing it.

    There was no problem by running it with the ADT. Problem was with the generated APK. So if you publish an app, test the installation of the pure APK in your test phone.

    As you, I also think that problem was with the the update of my ADT, in my case v22.

    The solution was to clean and build the project:

    Android java.lang.RuntimeException: Unable to instantiate activity ComponentInfo

提交回复
热议问题