简体   繁体   English

尝试更改最小SDK之后的android ClassNotFoundException

[英]android ClassNotFoundException after trying to change minimum sdk

I am really getting desperate. 我真的很绝望。 I have a working app - theoretically. 从理论上讲,我有一个正在运行的应用程序。 Tried to change the sdk version from 8 to 13. 尝试将sdk版本从8更改为13。

Now when I start the app I get a Fatal exception, or rather a ClassNotFoundException for the very first activity started: 现在,当我启动应用程序时,我得到一个致命异常,或者说,对于第一个活动的开始,它是一个ClassNotFoundException:

       10-15 16:56:22.370: E/AndroidRuntime(862): java.lang.RuntimeException: Unable to  instantiate activity ComponentInfo{com.example.pris/com.example.pris.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.pris.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.pris-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.pris-1, /system/lib]]

Apparently there seems to be some mixup with paths, but I have not the slightes idea where, or how to fix this. 显然,路径似乎有些混乱,但是我不知道如何在哪里或如何解决此问题。

Please help! 请帮忙!

clean rebuild and restart project.. btw do you have any additional libraries?? 干净的重建并重新启动项目。顺便说一句,您还有其他库吗? if so get rid of them lol.. 如果是这样,请摆脱他们..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM