The blogger uses Android Studio, installs the APK into the emulator, runs the first time, uninstalls, and then runs the second time to re-issue the question:
Error type 3
Error: Activity class {com.example.xx.chap2_2/com.example.xx.chap2.FirstActivity} does not exis
Analysis of the problem, I don’t know (to be answered later). Obviously, the uninstallation on the simulator has been finished, the blogger guessed that it should be the simulator problem, there is no such problem when installing the blogger on the real machine.
Modify the package name ApplicationID in the app’s build.gradle and rerun it.
Reproduced in: https://www.cnblogs.com/listentothecloud20150215/p/10053915.html
Read More:
- Andorid: Installation failed due to invalid APK file due to version mismatch
- Error reported by ISE simulator: ERROR:Simulator : 861 – failed to link the design solution
- WCF error “an error occurred when verifying security for the message”… “
- no target device found problem solved
- Import Android project Error:Internal error : org.gradle.tooling .BuildException: Could not execute build…
- error: File not found by glob???
- didFailWithError: Error Domain=kCLErrorDomain Code=0 “The operation couldn’t be completed. (kCLError
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- Install of Android studio_ FAILED_ OLDER_ Solutions to SDK
- ERROR: Unsupported method: AndroidProject.getVariantNames().
- Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
- App installation failed.could not write to the device.
- Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK
- Xbmc latest version error
- “Operation now in progress” appears when mounting CIFS
- Error: could not find or load main class
- ERROR Unsupported method AndroidProject.getVariantNames().
- OpenSCManager Error 1722
- Error installing NX10.0 in win10. Tip: ZeroGu6: Windows DLL failed to load
- Registering in Windows10 regsvr32 xxx.ocx reported an error but the call to DIIRegisterServer failed with error code 0x80040200…