Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install an apk on the emulator in Android Studio?

How do you install an apk on the emulator in Android Studio from the terminal?

In Eclipse we did

/home/pcname/android-sdks/platform-tools/adb -s emulator-5554 install /home/pcname/Downloads/apkname.apk 

Now how about in Android Studio?

like image 440
stackoverflow Avatar asked Jun 18 '13 11:06

stackoverflow


People also ask

How do I run an APK file in Android Studio?

Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK. Android Studio then displays the unpacked APK files, similar to figure 1.

Can I run APK on emulator?

How can I install an APK file on the Android Emulator? Step to install APK in Emulator : Step 1 -> Run the emulator step 2-> Paste the apk in SDK manager tools and platform-tools folders. Step 3->Run this command adb install AppNaem. APK .

How do I install an APK file on my Android?

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.


1 Answers

Run simulator -> drag and drop yourApp.apk into simulator screen. Thats all. No commands.

like image 120
user2511630 Avatar answered Sep 27 '22 19:09

user2511630