Activity class {} does not exist. Mulator

Asked

Viewed 38 times

0

Good afternoon. I have been having this problem for 3 days. When I try to install the debugging in the emulator the following error occurs:

error type 3 Error: 
Activity class {com.marktclub/com.marktclub.MainActivity} does not exist. emulator

When generating the normal release (./gradlew assembleRelease) it is not the error. The problem is only when trying to pass to emulator.

I tried the remote and it didn’t work:

adb Uninstall com.marktclub

This problem occurred after I deleted the emulator and created a new one.

  • Try installing apk directly with the command: adb install app/build/outputs/apk/app-debug.apk

  • That one reply can also solve

  • Installing direct gave the same error and I checked all the files and all are with the same name of the correct app. =/

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.