MFC_Starter
MFC_Starter

Reputation: 203

Android Studio App only Debug-Mode

I'm trying to program my own App in Android Studio. If I run the App in Debug mode, everything works fine. But If I start the App in "run-mode", I'll get the dialoge: "Waiting for Debugger..." and nothing happen. Even when I start the app from my Android-menu without a computer connection.

Upvotes: 9

Views: 2944

Answers (4)

Roman
Roman

Reputation: 317

  1. Close your phone emulator
  2. Start "AVD Manager"
  3. Click on the down arrow on the right of your listed emulator
  4. Click on "Cold Boot Now"

Upvotes: 3

AhmadReza Payan
AhmadReza Payan

Reputation: 2271

I had this problem when I run the application in Debug mode!

I resolved it by doing uncheck and recheck the USB Debugging in developer options.

hope it will help you :)

Upvotes: 0

Mr.7
Mr.7

Reputation: 2713

This should do the trick

Make sure your java files don't have any break points and Restart the device

otherwise

right click on project--> Run as --> Android application

hope this helps :)

Upvotes: 4

chabislav
chabislav

Reputation: 959

Are you using real phone or emulator? If real phone, try to unplug the phone, delete the app and restart your phone. This should help.

Upvotes: 1

Related Questions