07/30 13:54:19: Launching 'app' on Nexus 5X API 28.
$ adb shell am start -n "com.smstechnology.diceroller/com.smstechnology.diceroller.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Unexpected error while executing: am start -n "com.smstechnology.diceroller/com.smstechnology.diceroller.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Error while Launching activity
Asked
Active
Viewed 31 times
0

Lalit Fauzdar
- 5,953
- 2
- 26
- 50
-
Does this answer your question? [Error while launching activity in Android Studio](https://stackoverflow.com/questions/41132529/error-while-launching-activity-in-android-studio) – tariksune Jul 30 '20 at 18:19
-
I suggest googling the error message. You will find lots of other people have gotten the same error and have some solutions. See if any of them owrk. – Code-Apprentice Jul 30 '20 at 18:19
-
Can you edit your answer and show your build.gradle file code where all the implementations are done? – Rajnish Sharma Jul 30 '20 at 19:57
-
@CodeDexter this doesn't really look like a gradle issue. The text shows the ADB command that was executed. – Ryan M Jul 31 '20 at 02:28