Reputation: 13
please help me how to debug my android application in moto g dvice in windows platform.In my app am getting problem in running service in background.
Upvotes: 0
Views: 4093
Reputation: 1561
In addition to the above solution you need to do this to:
The Android development guide (http://developer.android.com/tools/device.html) says that USB drivers are required for debugging on a device connected by USB.
You can install the USB driver by going to https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/action/auth
After installing the driver you can see the device in the Devices section of your IDE.
Upvotes: 1
Reputation: 4518
We can debug android application by following below steps
Enable USB debugging in developer options(if you are not able to see developer option then go to settings -> About Phone and press more than 5 times on build number then developer option will be enabled)
Install ADT plugin in eclipse
Upvotes: 0
Reputation: 685
Go to the settings of your device and check for Development Tools
or Developer Options
.If its not available then go to About Device
there tap 7 times on Build Number you will see Developer Options in your Settings Menu.Click on it and enable Debugging option.
In your Eclipse,right click on the your project,select Run as>>Run Configurations>>Target>>select Always prompt Device.
Now Whenever you will run your application it will show options,select your device. Hope it helps you .All the best :)
Upvotes: 1