android修改文件夹名,Android 修改Project文件夹名称,引起的错误
FATAL EXCEPTION: mainProcess: com.example.q.mydialog, PID: 12677java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.q.mydialog/com.example.q.mydialog.MainActivity}: ja
FATAL EXCEPTION: main
Process: com.example.q.mydialog, PID: 12677
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.q.mydialog/com.example.q.mydialog.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.example.q.mydialog.MainActivity" on path: DexPathList[[zip file "/data/app/com.example.q.mydialog-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.q.mydialog-1/lib/x86, /system/lib, /vendor/lib]]
菜单Build ---> clean project
Build ---> rebuild project
再删除app 的 build文件夹,和project的build 文件夹
更多推荐
所有评论(0)