-2

Please help me to solve this error.

When I put debuggable, the error appear like this

"Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one".

So i don't know what to do.... Anyone can help me. Thank you

Y.S
  • 28,153
  • 12
  • 86
  • 113
thet
  • 13
  • 1
  • 5

1 Answers1

4

This is NOT an error, merely a warning. You can still compile, debug & run your application on emulators / devices. When you export your application to create a release build, by default this APK is NOT debuggable, since this APK will be released to users, but the APK you are currently building is debugabble by default, so if you wish you can remove the android:debuggable tag.

References:

1. SDK Tools

In the above link go to SDK Tools, Revision 8 and there see General Notes.

2. Setting up a Device for Development

Y.S
  • 28,153
  • 12
  • 86
  • 113
  • but this shows as an error with red underline can't save or run at all – thet Jun 13 '14 at 11:30
  • 2
    @user3434063: go to `Project` and select `Clean` and clean your project. Then, if it does not get built automatically, right click on your project in the package explorer and select `Build Project` – Y.S Jun 13 '14 at 11:50
  • thanks ... hope your workflow is going well now ... :) – Y.S Jun 23 '14 at 09:56