Notice: Undefined index: order_next_posts in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 194

Notice: Undefined index: post_link_target in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 195

Notice: Undefined index: posts_featured_size in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 196

Android hacking tip: How to install apps using ADB

If you regularly work with apks, it’s worth taking the time to setup the Android Debug Bridge (adb) as this program can push an apk and install it in one easy step.

Connect your device to the computer and ensure debugging is enabled. Download and install the Android SDK on your computer.

Once the SDK is installed, launch the Android SDK Manager (located in the program-files/android-sdks folder.) Ensure the ‘Android SDK Platform Tools’ checkbox is ticked and hit ‘Install’.

Once the installation is complete, locate the adb.exe program (inside program-files/android-sdks/platform-tools) and right click on it while holding the ‘Shift’ key. Select ‘open command line window here’ and adb will launch a new window. This is where you’ll type all your commands.

Start by typing ‘adb devices’ and hitting ‘Enter.’ If you’ve connected your device successfully, it will be listed in the adb window. If it isn’t listed, try connecting your device to a different port and check you have the correct drivers installed.

Once adb recognizes your device, type ‘adb install’ followed by the location of the apk, including the filename and its .apk extension. Hit ‘Enter.’

When the process is complete, the app will appear in your app drawer and be ready to use.