Enabling Developer mode on devices (phone):
- Go to Settings -> About phone
- Tap on Build number until message looks like "... you are already a developer ..."
Enabling Developer options on devices:
- Go to Settings -> Developer options
- Turn it on and let device to allow development settings
- Check on USB debugging to enable it and let device to allow debugging via USB
Connect your device to your PC. Notification USB debugging connected will appear.
Run adb devices to make sure the device connected to adb properly.
>adb devices
List of devices attached
J32V2ML17X026640 device
If you have multiple adb.exe on your pc, make adb from Android SDK as default by put reference to this file into path. In Windows:
- Go to Control Panel -> System -> Advanced system settings
- Go to Environment Variables -> System Variables, then select variable Path then click Edit
- Add your path to correct adb.exe location from Android SDK, for example C:\Java\android-sdk-windows\platform-tools
Tested on MITO A150 Android 4.2.2, PC Windows 10 SL, AMD Processor.
To turn off debugging, go to Settings -> Developer Options uncheck on USB debugging. Next time you want to test your application, just check on USB Debugging.
References:
No comments:
Post a Comment