I am trying to debug an app with Intellij
13.0 on Windows 7.
Whenever I start debugging I get the following warning:
Warning: debug info
The same issues occured with me all of a sudden while debuging an app on my samsung galaxy S6
This is what worked for me : closed android studio killed adb , using adb kill-server removed all of my previous breakpoints(debug points) Restarted android studio and my phone Restaterted Mac did a debug without any breakpoint. Then again did debug by putting the breakpoints again in my code, Eureka it worked. Luckily it burned only half hour of mine.
This happened to me and the thing I did was to set
android:debuggable="true"
in <application>
tag...like:
<application android:allowBackup="true"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:largeHeap="true"
android:icon="@drawable/icon"
android:debuggable="true"
>
This fixed the problem with later SDKs.
I used adb kill-server
in the console to get the Logcat to appear. Running Android Studio 1.02.
First make sure you close any application use ADB , DDMS
like if you open Eclipse with android studio
Second restart your ADB from terminal
adb kill-server
adb start-server
if you cannt find terminal use this image to guide you
if this doesn't work with you close android studio and open it again
the cause of error , many application share ADB this why you cant start debugging
You can restart ADB in windows without writing any commands.
Just open Task Manager
Sort the list by name
Find process named "adb" Right click on it and then select "End Task" Done
Next time you run any app the adb will start with a new instance.
A pretty straight forward solution is running the following commands in the command Terminal of Android Studio :
adb kill-server
adb start-server
and then try debugging again. It should be working now.