Debugging app using your Android Phone | Android Studio
As an android developer you might have faced problem with the debugging. As the emulator takes a hack of time to start.
An alternate to this is using you own android mobile for debugging.
Using you mobile phone makes it easy to debug in lesser time. Also it is very easy to setup your phone for debugging
Here are the steps to do so:
Open you mobile phone and enable the debug mode
Steps in activating the debugging mode
Not tap Build number 7 times to activate the developers mode
You might want to update your driver to get connected.
Now open you android studio.
Tools->Android->Enable ADB Integration .
Open build:app gradle and write debuggable true
apply plugin: ‘com.android.application’
and run the app. It will automatically get installed and started on you mobile phone.