什么代码也没写就是按书上说的新建一个项目后直接编译运行,但出这个错:
Installation failed with message Failed to commit install session 1223832994 with command pm install-commit 1223832994. Error: INSTALL_FAILED_DEXOPT: Package couldn't be installed in /data/app/com.example.linlonghrma-1: scanPackageLI.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?