I have a device nexus5x with android O and i develop an app in my laptop and also in another computer. But when i want to start the app in another computer after i have started it in my laptop i always get error described below.
Error while executing: am start -n "com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity }
Error type 3
Error: Activity class {com.safetylink.android.safetylinkheartbeatapp/com.application.aware.safetylink.auth.SplashScreenActivity} does not exist.
Error while Launching activity
It's a magic for me, because i don't have the same problem with another phones (it's just being reinstalled) and with emulator. Application works fine on them.
I think it's related to nexus5x settings, but i don't know exactly. What should i do, to fix this problem?
P.S.: I have already tryed to clean, rebuild project, rename activity, invalidate cache and restart for several times, also disable instance run, but it doesn't work for me.
Error type 3 Error: Activity class {com.example.xxxxxx/com.example.xxxx.MainActivity} does not exist 1. Check whether the package in AndroidManifest.xml and the applicationId in build.grade are consistent (where most of the problems are), modify them and try again after the inconsistency
But here is the proper way to uninstall: Use the ./gradlew uninstallAll command. This will prevent the Error: Activity class {HomeActivity} does not exist. error. If you’re lazy you can use the abbreviation for this task: ./gradlew uA.
Error: Activity class {LauncherActivity} does not exist. Due to this error, you must be unable to launch your launcher activity for your project if you uninstalled it on the device. So in this article, we are going to discuss that why does this error occurs and six methods that will help you to solve this error.
In my case, the installation of the "Deploy: Default APK" option in Android Studio was helpful
On some devices (LG Stylus 3 Android 7.0) when you press and move app from desktop to trash can the app does not removed from device. You can restore app trashed by this way later without reinstalling it from Google Play. If it is your case you may see this error:
Error while executing: am start -n "ru.alanov.cashbox/ru.alanov.cashbox.activity.LoginActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.your.app/.activity.MainActivity }
Error type 3
Error: Activity class {ru.alanov.cashbox/com.your.app.activity.MainActivity} does not exist.
Error while Launching activity
when trying to reinstall app from Android Studio thru ADB. Go to Settings -> Applications -> Click on your app and delete it. After it error disappears.
If you are getting this error, it may be because the app that you are trying to load is still installed for another user account on the same device.
In other words, uninstalling an app for the current user account does not necessarily uninstall the same app for all other user accounts on the device.
If you go into Settings => App and look for the device in question, you will see that it may still be there. If that is the case, Tap on the app to show the App Info screen and goto the "..." overflow menu on the upper right hand side. Tap that and there should be an option to uninstall the app for all users.
Once you have uninstalled the app for all users, this error should go away and you should be able to load and run the app.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With