0

I deleted my test app from my phone. Now I try to run app again within android studio. I expected that it would recreate the app. Instead I get this error:

Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=mobapptut.com.camera2videoimage/.LoginActivity }
Error type 3
Error: Activity class {mobapptut.com.camera2videoimage/mobapptut.com.camera2videoimage.LoginActivity} does not exist.

Error while Launching activity

How can I address this?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Daniel Viglione
  • 8,014
  • 9
  • 67
  • 101

3 Answers3

0

Did you try to check the "Deploy application" checkbox in the Run/Debug Configuration screen, under the General tab like is mentioned in this post? Try also a clean a rebuild and check that you do not have in Gradle apply plugin: 'android-library'

trocchietto
  • 2,607
  • 2
  • 23
  • 36
0

Try using:
"adb uninstall sample_package_path"
This has worked for me in older OS versions(sometimes the app doesn't uninstall properly)

Multiple users in O OS can also be the possible cause for this type_3 error.

ManmeetP
  • 801
  • 7
  • 17
0

You can go to the Apps settings and delete it from there
Settings -> Apps & Notifications -> See all Apps (delete for all users):
As you can see in this answer.

Skulas
  • 457
  • 6
  • 6