- How to Install APK on Android
- Have an Android app not on Google Play? Install it from its APK
- What to Know
- Allow Unknown Apps on Android
- Install an Android File Manager
- Download the APK Installer From Your Android
- Transfer the APK Installer via USB
- Advanced: Run APK Installer With Minimal ADB and Fastboot
- What Is an APK?
- Why Use an APK?
- Finding APK Installers
- Install an apk file from command prompt?
- 14 Answers 14
- How to simply install apk in device in Android Studio
- 9 Answers 9
- How to install an APK file on an Android phone?
- 11 Answers 11
- How do you install an APK file in the Android emulator?
- 34 Answers 34
How to Install APK on Android
Have an Android app not on Google Play? Install it from its APK
What to Know
- Allow Chrome to install unknown apps by going to Settings >Apps >Menu >Special access >Install unknown apps.
- Install a file manager (such as Cx File Explorer or File Manager) so that you can find the APK file after you download it to your phone.
- Download an APK file and open it to install it. Alternatively, transfer the APK Installer from your computer using USB.
If you want to use an app from outside of the Google Play Store, you can install the app’s APK file. This article explains how to install APKs on Android 7 or later.
Allow Unknown Apps on Android
Before you can download APK files using Chrome or any other browser, you must first allow unknown apps:
Go to your device settings and tap Apps & Notifications (or Apps in older versions of Android).
Tap the three dots in the upper-right corner.
Tap Special access.
Tap Install unknown apps.
Tap Chrome (or whichever web browser you use)
Move Allow from this source to the On position.
Install an Android File Manager
Now that you’ve configured your phone to let you install unknown apps, you’ll need a way to find the application file (APK file) on your phone so that you can run it.
Android phones typically come with a file manager app you can use, but if you don’t have one, search for one on Google Play. Some of the best options include Cx File Explorer and File Manager.
Download the APK Installer From Your Android
The easiest way to install an APK file on your Android is to download the file using the default browser, Chrome.
Find a website offering the Android app and tap the link to download the APK file. Accept any pop-ups, including “This type of file can harm your device.”
Only download APK files from reputable sources. A quick Google search can often let you know if an app (or company that makes the app) has a questionable reputation.
If your phone’s web browser doesn’t give you the option to open the file after downloading, open your file explorer app, go to the Downloads folder on your device, then tap the APK file.
Allow the app any required permissions it asks for. Then, at the bottom of the installer window, tap Install.
Now you’ll see the app available in your list of installed apps.
Transfer the APK Installer via USB
If you don’t have internet access on your phone, or for any other reason you can’t use a browser to download the file, you can still install apps from your computer. Using your computer web browser, download the APK file just like described above. Once it’s downloaded, connect to your Android phone and transfer the file.
If you’ve never connected your Android to your computer, enable USB Debugging. You can then plug your phone into your computer with a USB cable, and it’ll mount the phone like it would a memory stick.
Once your phone is connected to your computer, it shows up as another drive in your computer’s File Explorer. Move the APK file you downloaded from the app website to the /sdcard/download folder on your phone.
Once the file is transferred, use the file explorer app on your phone as described in the previous section to tap the APK file and install the app.
If you don’t have a USB cable, another solution is to install WiFi FTP Server from Google Play. Then, use an FTP client on your computer (like FileZilla) to transfer the APK file from your computer to the /sdcard/download folder on your phone. However, this is an advanced option and requires an understanding of how to use FTP files.
Advanced: Run APK Installer With Minimal ADB and Fastboot
If the APK installer isn’t running when you tap it, there’s an advanced solution that might work. You can install the APK file on your Android from your computer using a tool called Minimal ADB and Fastboot.
Connect your phone via USB and enable USB Debugging.
Download and install the latest version of Minimal ADB and Fastboot on your computer.
Run the tool, and a command window opens. With your phone connected to your computer with the USB cable, type the command adb devices.
If the tool detects your phone, an ID for the device appears under List of devices attached. Now you’re ready to transfer the APK file.
Using Windows File Explorer, find the downloaded APK file on your computer.
Right-click the file and select Copy.
Using Windows File Explorer, navigate to the Minimal ADB and Fasbtoot folder (typically c:\Program Files (x86)\Minimal ADB and Fastboot\).
Paste the APK file into that folder.
Rename the APK file to something short so that it’s easy to type as a command.
Back in the same command window you had open before, type the command adb install app name (replace with the name of your APK file).
When you see the word Success, the app is installed on your phone.
What Is an APK?
An APK (Android Package Kit) is a type of file that installs an application for Android. It’s just like an executable (EXE) file for Windows or a package installer (PKG) for Mac.
If you’ve ever installed an Android application from the Google Play store, then you’ve used an APK file without realizing it. When you tap the Install button, Google Play automates the process of transferring the APK file to your phone and running it for you.
Why Use an APK?
If the Android app you want to install isn’t available on Google Play, you can download the APK file from the web and install it manually.
Finding APK Installers
There are many websites where you can find non-Google Play apps to install. Three of the most popular are APK Pure, Reddit’s APK Directory, and APK Mirror.
Источник
Install an apk file from command prompt?
I want to install a file using the Windows command line. First I want to build after compiling all the .jar files to create an .apk file for an Android application without using Eclipse.
Does anyone know how this can be done without the use of Eclipse & only by making use of command line.
14 Answers 14
You can use the code below to install application from command line
this apk is installed in the internal memory of current opened emulator.
this apk is installed in the sd-card of current opened emulator.
You can also install an apk to specific device in connected device list to the adb.
Refer also to adb help for other options.
You can build on the command line with ant. See this guide.
Then, you can install it by using adb on the command line.
The -r flag is to replace the existing application.
You can install an apk to a specific device/emulator by entering the device/emulator identifier before the keyword ‘install’ and then the path to the apk. Note that the -s switch, if any, after the ‘install’ keyword signifies installing to the sd card. Example:
Use the Android Debug Bridge command line tool adb eg: adb install filename.apk .
A good reference for adb is Here
The simple way to do that is by command
and if you want to target connect device you can add parameter » -d «
if you have more than one device/emulator connected you will get this error
adb: error: connect failed: more than one device/emulator — waiting for device — error: more than one device/emulator
to avoid that you can list all devices by below command
you will get results like below
chose one of these devices and add parameter to adb command as » -s a3b09hh3e » as below
also as a hint if the path of the apk long and have a spaces, just add it between double quotes like
Источник
How to simply install apk in device in Android Studio
My question is when i click on run button it runs gradle command to check change files and build class and then dex to create apk.
If i know there is no change in my files still gradle runs to check.
As i have many libraries attached to my app module to reduce run time. if anyone knows to install apk in device from android studio without running gradle.
Note : I want to install on device which is connected to my system not to emulator,etc.
Note : I want to install from android studio not by using any other software.
9 Answers 9
One more solution is using terminal to install apk on devices. Once you have built your APK using the File>Build APK, it shows you the path in which new apk is present.
Just go to the path on terminal like below generated apk path on my system — $cd /Android_App_Code/UpdatedCodeForCheckOut/Projects/IMS/source/apps/Android/flowtalk/app/build/outputs/apk
and type — $ adb install -r app-debug.apk
this command just installs the build on your connected device. and now every time when there is no change in code, just run install command on terminal. It’s super fast you will see.
You can’t skip a Gradle build unless you want a constant APK that has no changes.
Go to File>Build APK. Then, Gradle will build once. After that, a bubble at the top-right corner will appear indicating a successful APK generation.
Click «Show in explorer», copy the generated APK and move it to your connected device. Then, go on your device>Your File Manager>The APK you just moved. Click it and install the application. There you have it.
There is no way for you to run without a Gradle build, and you’re not the only one who thinks it is utterly STUPID for a force rebuild every time you want to build an APK or run an app with no changes since the last build.
Источник
How to install an APK file on an Android phone?
I have a simple «Hello Android» application on my computer (Eclipse environment), and I have built an APK file. How do I transfer the APK file to my Android phone for testing?
My phone is Ideos running Android 2.2 (Froyo). My laptop has Windows Vista. I have the latest Android SDK installed.
11 Answers 11
Simply, you use ADB, as follows:
Also see the section Installing an Application in Android Debug Bridge.
If you have access to a Gmail account on the phone then an easy way (in terms of minimal set up effort) is to mail the .apk file to that Gmail account.
If you then access that account from the native Gmail app on the phone it recognises that the attachment is an app and offers an «Install» button.
As per other responses this approach also requires that you have selected USB debugging on the device.
Try this — it is remarkably easy 😉
I quote Hello Android because I can’t say it better 😉
You need to enable USB debugging on the phone itself (by starting the Settings application and selecting Applications > Development > USB Debugging), install the Android USB device driver if you haven’t already (Windows only), and then plug the phone into your computer using the USB cable that came with the phone.
Close the emulator window if it’s already open. As long as the phone is plugged in, Eclipse will load and run applications on the phone instead. You need to right-click the project and select Run As > Android Application.
Источник
How do you install an APK file in the Android emulator?
I finally managed to obfuscate my Android application, now I want to test it by installing the APK file and running it on the emulator.
How can I install an APK file on the Android Emulator?
34 Answers 34
You can simply drag and drop the .apk file of your application to the emulator and it will automatically start installing.
Windows:
- Execute the emulator (SDK Manager.exe->Tools->Manage AVDs. ->New then Start)
- Start the console (Windows XP), Run -> type cmd, and move to the platform-tools folder of SDK directory.
- Paste the APK file in the ‘android-sdk\tools’ or ‘platform-tools’ folder.
- Then type the following command.
adb install C:\Users\Name\MyProject\build\Jorgesys.apk
Linux:
- Copy the apk file to platform-tools in the android-sdk linux folder.
- Open Terminal and navigate to platform-tools folder in android-sdk.
- Then Execute this command —
- If the operation is successful (the result is displayed on the screen), then you will find your file in the launcher of your emulator.
Mac:
1.Run the emulator,
2.then copy your .apk file and paste into /Users/your_system_username/Library/Android/sdk/platform-tools ,
if you are not able to find sdk path in your mac system, do the following steps: Open finder->select Go option on top menu -> select Go to Folder option -> it will popup a window with a textfield: /Users/your_system_username/Library/Android/sdk/ -> now open platform-tools folder and paste your copied .apk file,
Now open the terminal and type the following: cd Library/Android/sdk/platform-tools
execute the following in your terminal: ./adb install yourapkfilename.apk if you get the following error message: error: no devices found — waiting for device , follow step 5.
Run your emulator from Android Studio, once emulator active then repeat step 4, you will see the success message on your terminal.
If you’ve created more than one emulators or if you have an Android device plugged in, adb will complain with
adb help is not extremely clear on what to do:
The flag you decide to use has to come before the actual adb command:
Nowadays, you can simply drag and drop the Android apk to the emulator and it will automatically starts installing.
go to the android-sdk/tools directory in command prompt and then type
Copy .apk file in your SDK’s platform-tools/ directory,then install the .apk on the emulator by using cmd(on windows):
If there is more than one emulator running, you can find all running emulators by this command:
then you must specify the emulator upon which to install the application, by its serial number, with the -s option. For example:
First you need to install Android Studio on your machine. Then simply follow these steps.
- Go to you navigation bar and open Android Studio.
- From the toolbar open AVD Manager. (If you cannot see it create a new android project)
- Create a Virtual Device.
- Select a hardware device that you want to install your app.
- Select an android image that you want to install on your device. (If you cannot see any images you can download the require image from Recommended, x86 Images or Other images)
- Add a name to your AVD.
- Now the virtual device has been created and you can simply run it by clicking the play button.
- Now you have setup the virtual device and now you need to install the APK file.
- Download the APK file that you want to install and Drag and Drop it to the emulator.
- The APK file has been successfully installed and you can see it in your applications.
- Now you can simply run the installed app.
Источник