First, preface
Sometimes, after we create a new project, we want to re-move items to another folder for some reason. However, when you move to a new folder, you find that a good project doesn't work. When you click Run, the following dialog box appears.
Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: Split lib_dependencies_apk was defined multiple times.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?
The main idea is to say lib_dependencies_apk this thing defined several times, we have to click OK Unloading load, but click OK, or can not run.
Ii. solution 1. Compile the. class file before you clean the project, recompile the file
Click Build->clean Project, and then click Rebuild Project.
Re-click to run, found that the installation is not running.
2. Delete some files automatically generated by the IDE
Delete. Gradle,. Idea, build three folders, be careful not to delete the wrong oh.
Click Run again.
This is the time to run.
"Android" Mobile Project location