Didn't|Didn't find class "MyApplication" on path: DexPathList[apk"],nativeLibraryDirectories=[lib]]
【Didn't|Didn't find class "MyApplication" on path: DexPathList[apk"],nativeLibraryDirectories=[lib]]】Caused by: java.lang.ClassNotFoundException: Didn't find class "com.dianjin.caicai.app.MyApplication" on path: DexPathList[[zip file "/data/app/com.dianjin.caicai-1/base.apk"],nativeLibraryDirectories=[/data/app/com.dianjin.caicai-1/lib/x86, /system/lib, /vendor/lib]]
文章图片
打开android studio 的File → Settings → Build,Execution,Deployment → Instant Run将 Instant Run关掉,如:下图
文章图片
clear project 清理一下项目,然后重新运行项目
推荐阅读
- 136.|136. Single Number
- 运行报错Cannot|运行报错Cannot find module '@babel/compat-data/corejs3-shipped-proposals’
- 文件解压缩及搜索文件find
- 【Tomcat源码阅读分享】—(5)Tomcat中的ClassLoader
- Option|Option B: Facing Adversity, Building Resilience and Finding Joy
- react|react Cannot find module 'node_modules/_react-scripts/config/webpack.config.dev
- 如何理解es6中的class,以及class中的constructor函数
- 关于|关于 java.lang.NoClassDefFoundError: com.umeng.analytics.d的问题
- Panda|Panda Class 中班生活之开学Day3.
- objc_class|objc_class 中 cache 原理分析