[안드로이드 공부]/안드로이드 스튜디오

[안드로이드 스튜디오] 디버그툴 사용하기

코코모아 2015. 9. 5. 14:58

예전엔 매니페스트에서 디버그 모드 설정을 해주었는데, 안드로이드 스튜디오로 넘어 오면서 부터는 그래들에 설정을 해주면 된다.


Waiting for device.

Cannot debug application com.comostudio.xxxxx on device pantech-xxxxxx.

This application does not have the debuggable attribute enabled in its manifest.

If you have manually set it in the manifest, then remove it and let the IDE automatically assign it.

If you are using Gradle, make sure that your current variant is debuggable.

The session was restarted


그냥 build.gradle에 가서

debuggable true

해주고, 벌레 모양 버튼 눌러주면 된다.


좀 더 자세한 디버깅 설정은

http://developer.android.com/tools/debugging/debugging-studio.html