NOTICE: Please use APK Package you made or legally accepted by Google or/and developer to be owned and used. I am not supporting people using an illegal copy of the APK package here, even though they might work in the same way. This video does not have any sound output (including my voice), or guideline in it. I just captured and uploaded to show people how it works.
This Method can be helpful if you:
1. Have a lot of APK packages.
2. Are having an issue with downloading as your device/external storage does not have enough space to download APK package to the device.
3. Are an Android app developer and prefer to deploy APK via computer straight away other than copy to the device.
4. Want to install the same APK package into the multiple devices.
5. Just don’t want to even waste the space or organize manually after installing APK packages in the device.
Part 1: Activating USB Debugging and connecting to the computer
* You can simply ignore or skip reading this part if you can confirm USB Debugging is on and the device is connected to the computer *
Before start, you must turn Android USB Debugging feature on. There are some methods to turn Android Debugging on but may vary depending on the manufactures of devices or ROM they used. The methods below are based on AOSP based stock Android without the manufacturer or/and ROM developer’s customizations.
~ Android 2.3 (Gingerbread): Settings – Applications – Development – USB Debugging
Android 3.0 (Honeycomb) ~ Android 4.1 (Jelly Bean): Settings – Developer Option (in System section) – USB Debugging
Android 4.2 (Jelly Bean Release 2) ~ Current version of Android (Pie / Including Beta version of Android Q):
In this case, Developer Option is hidden and must be activated through the steps below:
Settings – About phone – Tap ‘Build Number’ 7 times
Then, you will see “You are now a developer!’ pop up message. If found, try the same method as Android 3.0 ~ Android 4.1.
If you’ve turned USB Debugging on successfully, connect it to the PC and make sure the computer recognizes your phone as an ADB device. If it does not, you must try to install your device driver again.
Part 2: Using / Applying ADB (Android Debug Bridge) and Command Prompt
From now, the only steps left are just a few Command Prompt commands to type.
1. Go to the ADB folder. If you are a developer and have Android Studio and SDK installed on your PC, you might know where it is. If you are still not sure, or if you haven’t installed Android Studio and do not even want to, you can just download ‘Minimal ADB Fastboot Tool’ instead. The Minimal ADB Fastboot Tool is light but the same as stock ADB and Fastboot tool from Android Studio. I will leave the download link below with original reference (In my case, I have saved my ADB folder on C: drive root direction).
2. Make sure your APK Package has been saved in your ADB folder (In this video, Test.apk is the one).
3. Open Command Prompt (Type cmd on Run or Windows Search).
4. Type “cd ‘ADB location'” to set Command Prompt to work in your folder location (In this video, I typed cd c:/ADB).
5. If you’ve successfully set your ADB location, type “adb install ‘package_name.apk'” (In this video, I typed adb install Test.apk).
6. It will take a little bit of time to finish depends on the size of the package, so please just calm down and wait for a while.
7. If you see the “Success” output at the end, you are free to remove the cable.
Download Link & References:
Minimal ADB Fastboot Tool (1.4.3 / Newest) Download Link:
Original Android MTK Website (Source of Minimal ADB Fastboot Tool / All Versions Downloadable):
Xem thêm Bài Viết:
- Đọc ngay hướng dẫn cài twrp Recovery hiệu quả trên thiết bị Android
- Bỏ túi cách thêm IDM vào Chrome tiện lợi không phải ai cũng biết
- Bỏ túi thông tin hướng dẫn sử dụng adb fastboot zenfone 5 flash Asus
- Hướng dẫn cài đặt và sử dụng Adobe Audition 1.5 chi tiết nhất
- Khắc phục lỗi ‘adb’ is not recognized as an internal or external command