* after picking the device, it appears that the apk is successfully installed onto the device.
* It then pops up the alert saying "waiting for debugger" - Application is waiting for the debugger to attach.
Waiting for device.
Target device: samsung-nexus_s-12345ABCD
Uploading file
local path: <PATH TO MY PROJ_DIR/build/outputs/apk/app-debug.apk
remote path: /data/local/tmp/com.mycompany.app.debug
Installing com.mycompany.app.debug
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.mycompany.app.debug"
pkg: /data/local/tmp/com.mycompany.app.debug
Success
Launching application:com.mycompany.app.debug/com.mycompany.app.ui.activities.MainEntryPageActivity.
DEVICE SHELL COMMAND: am start -D -n "com.mycompany.app.debug/com.mycompany.app.ui.activities.MainEntryPageActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mycompany.app.debug/com.mycompany.app.ui.activities.MainEntryPageActivity }
Warning: debug info can be unavailable. Please close other application using ADB: Monitor, DDMS, Eclipse
Restart ADB integration and try again
Waiting for process: com.micromobs.app.debug
----------
Marker - Jun 18, 2014, 5:19:32 PM
2014-06-18 17:20:03,383 [ 555159] INFO - a.gradle.invoker.GradleInvoker - About to execute Gradle tasks: [:app:assembleDebug]
2014-06-18 17:20:03,388 [ 555164] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
2014-06-18 17:20:03,389 [ 555165] INFO - dle.util.AndroidGradleSettings - Found Android SDK home at '/Applications/Android Studio.app/sdk' (from local.properties file)
2014-06-18 17:20:03,389 [ 555165] INFO - a.gradle.invoker.GradleInvoker - Build JVM args: []
2014-06-18 17:20:03,389 [ 555165] INFO - a.gradle.invoker.GradleInvoker - Build command line options: [--configure-on-demand, -Pandroid.invoked.from.ide=true]
2014-06-18 17:20:03,389 [ 555165] INFO - .project.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: [--configure-on-demand, -Pandroid.invoked.from.ide=true]
2014-06-18 17:20:26,079 [ 577855] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 16 ms
2014-06-18 17:20:26,079 [ 577855] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-06-18 17:20:26,079 [ 577855] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 0 ms
2014-06-18 17:20:26,134 [ 577910] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 15 ms
2014-06-18 17:20:26,134 [ 577910] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 0 files to update
2014-06-18 17:20:26,135 [ 577911] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 1 ms
2014-06-18 17:20:26,165 [ 577941] INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 9 ms
2014-06-18 17:20:26,165 [ 577941] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2014-06-18 17:20:26,171 [ 577947] INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 6 ms
Killing adb, restarting device, restarting app, restarting computer, none of that helps. I still can successfully debug, if i deploy to my emulator (Genymotion).
Thanks.