1. Use ADB to write in the package restart program ADB uninstall package name
if there is no ADB command:
(1) create a. Bash_profile file (input touch.Bash_profile)
(2) open the. Bash_profile file (input open – E.Bash_profile)
(3) edit in the open. Bash_profile file: export path = ${path} :/users/your own user name/library/Android/SDK/platform tools
after editing, save and exit
(4) execute the command source. Bash_profile;
(5) enter, and the ADB version will succeed if the version number appears. Finally, execute the ADB uninstall package name, output success, and restart the program
2 at manifest Does the XML declare two activities as launchers
3 in the listing, add your first startup class and filter code, copy the whole intent filter and add it to your first startup class
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Read More:
- [Solved] Could not identify launch activity: Default Activity not found Error while Launching activity
- [Solved] Could not identify launch activity: Default Activity not found Error while Launching activity
- Could not identify launch activity: Default Activity not foundError while Launching activity
- [Solved] Android Studio Error: error while launching activity
- Remember an android app startup error Error running: Default Activity not found
- [Solved] Manifest merger failed: android:exported needs to be explicitly specified for element <activity#com
- [Solved] Fragment not attached to an activity
- How to Solve Error: Android java.lang.IllegalStateException: Could not execute method of the activity
- How to Fix Error Launching Installer WIN10
- Xilinx Vitis Error Launching Program: Memory write error MMU section translation fault
- How to Solve Error: You need to use a Theme.AppCompat theme (or descendant) with this activity.
- JZVideo Error: Attempt to invoke virtual method ‘android.view.Window android.app.Activity.getWindow()’ on a null object reference
- Jd-gui error: ERROR launching ‘JD-GUI’ [How to Solve]
- [Solved] Android12 Download Error: The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
- [Solved] Android Error: E/EGL_adreno: tid 3927: eglSurfaceAttrib(1334): error 0x3009 (EGL_BAD_MATCH)
- Android studio configurate intent-filter and compile error [Solved]
- [Solved] Android Studio Run Error: Error while executing: am start -n
- Flash back problem when Android studio plays music in sdcard through intent
- [Solved] Manifest merger failed: Apps targeting Android 12 and higher are required to specify an explicit