Android(安卓)studio instant run导致的classNotFoundException
16lz
2021-12-04
Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.xcds.doormutual.MyApplication” on path: DexPathList[[zip file “/data/app/com.xcds.doormutual-1/base.apk”],nativeLibraryDirectories=[/data/app/com.xcds.doormutual-1/lib/arm, /data/app/com.xcds.doormutual-1/base.apk!/lib/armeabi, /vendor/lib, /system/lib]]
由instantRun导致的类找不到异常,复制下Stack Overflow的解决方案:
I tried all possible options but result is zero. Finally i found correct solution which is helpful for me. Just go to disable Instant Run Go to File -> Settings -> Build,Execution, Deployment -> Instant Run -> Uncheck the checkbox for instant run. Run your app once and this apk file work properly.
更多相关文章
- Android(安卓)Studio 3.6.3 中遇到无法创建FileHasher类型的服务
- http://dl-ssl.google.com/android上不去解决方案
- android-疑问2
- Android(安卓)Phone进程启动过程
- Android(安卓)读取TXT 文件中文乱码 解决方案
- android 粘贴 复制
- Android复制文件
- Android(安卓)ListView getView()方法重复调用导致position错位
- Android(安卓)SDK更新的问题