I am using a gradle script to create an application in Eclipse. Using gradle, I can run the application on the device using the script in gradle.
task run(type: Exec, dependsOn: 'installDebug') { def adb = "$System.env.ANDROID_HOME/platform-tools/adb" commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.example.multidexproject/.MainActivity' }
and it works fine. Now I would like to write a task for debugging the application. So, is there any command for this in adb?
Krish source share