I know that a few terminal emulators are available via the google app store
Is there a way of installing these apps on an AVD rather than an actual device?
I don't currently have a smartphone so all my development is currently via an emulator
Find one that distributes their apps outside of the Play Store, such as an open source project. Those should be eligible to install on an emulator.
Related
As I have stated in the title I'm struggling with .apk I cannot install application on my phone I'm getting app not installed. But when installing via usb I'm able to install application on the emulator phone. It’s always showing App Not Installed on mobile phone.
When I run application via AndroidStudio to USB the application has been installed. I do not know where I should looking for issues. May be someone had the similat issue.
There are two things you can try:
First of all build your apk by Build/Build Bundles/Build APK and not just by creating apk as a side effect of simply running the app under Android Studio
Make sure no other flavors are installed on your device - sometimes devices offer "Uninstall for all users" - that's what you should be looking for.
I have purchased Genymotion with the goal to have a simulation with Android 7.0 and Google Play.
Android 7.0 runs fine on Genymotion, but I am not able to install Google Play on it.
Google Play works fine for Android 6.0 and below - I was able to find the sources (Flashes) that must be installed additionally for using Google Play in Genymotion.
Does someone know how to install Google Play on an Android 7.0 Device with Genymotion?
Updated answer
Since Genymotion 2.10, you are able to install Google Play Services within ease without dealing with zip files. You now have a 1-click installer (called "Open GApps" widget).
Here are few notes to consider:
The 1-click installer is available for every device running Android 4.4 or more (whether new or already created), as long as Genymotion 2.10 is installed.
The Open GApps widget installs the smallest variant (i.e. pico) as it fits most development and testing needs.
That means you only get Google Play Store and Google Play Services and nothing else.
If you need access to further Google apps, you can either visit the Play Store and download them from there or you can install another variant of Open GApps from their website, as describe in my original answer.
How to use the widget and install Open GApps
Just open your Genymotion device.
You will see a gray Open GApps logo on the right bar, alongside with all the other settings:
When you click on that logo, Genymotion will start downloading Open GApps to your device:
Then, you will need to restart your device and you're all set:
Original answer
In order to install Google Play and use it on Genymotion, you will need to find a zip file of the pre-built Google Apps packages to onto the emulator.
As mentioned in the comments to your question, Genymotion's ROM is compiled to x86 to match the most popular computer's CPU architecture.
However, most of the pre-built Google Apps packages available are using ARM architecture, which is popular among phones.
Some of the comments mentioned the need for installing an ARM Translation which will let those ARM apps to run on the x86 virtual device, but it might be difficult to find the right translation file for Android Nougat and anyway that it not necessary at all.
You are able to go to the open GApps site and install the needed pre-built Google Apps packages that you desire.
Make sure to choose Platform: x86 and the proper Android version.
In order to install it on Genymotion just drag and drop the zip file into the emulator and you will be prompted with the following message which lets you know that the file can be flashed to the device:
Click OK and it will flash the file.
When the process is done you will be prompted with the following message:
All you need to do is to restart the device emulator and you will have Google Play on your Android Nougat emulator.
Enjoy.
Since Genymotion 2.10, Gapps can be installed automatically from within Genymotion!
Top right of the Genymotion emulator window, you will find a 'Gapps' button: click on it and Genymotion will do the rest: downloading the correct GApps bundle and install it in your Android image!
Once installed, just restart this emulator: the Gapps button now have a green check mark on it and the Open Gapps (Pico) bundle has been installed for the specific version of Android you are running :-)
Works for Android 4.4 onwards.
Read more at
https://www.genymotion.com/blog/2-10-open-gapps-widget/
UPDATED ANSWER
As #pascal pointing out (kudos to #pascal), since Genymotion 2.10 Google Play Service and Play Store can be automatically installed.
Here is the news from Genymotion 2.10 – Seamlessly install Google Play Services and Play Store:
Genymotion 2.10 is out! And it comes with a 1-click installer for Google Apps
Simply download and install Genymotion 2.10 and a new “Open GApps” widget will be available in your toolbar. Click it and it’ll do the rest!
Now you can have your applications relying on Google Play Services and Google Play Store working perfectly fine. No more fumbling around with random zip files and tutorials found there and there!
OLD ANSWER
Quoting myself from https://stackoverflow.com/a/40712778/4758255:
There is official FAQ for using Google Play in How do I install Google Play Services?, here the FAQ text:
For intellectual property reasons, Google Play Services are not
included by default in Genymotion virtual devices. However, if you
really need them, you can use the packages provided by OpenGapps.
Simply follow these steps:
Visit opengapps.org
Select x86 as platform
Choose the Android version corresponding to your virtual device
Select nano as variant
Download the zip file
Drag & Drop the zip installer in new Genymotion virtual device (2.7.2 and above only)
Follow the pop-up instructions
Please note Genymobile Inc. and Genymotion assume no liability
whatsoever resulting from the download, install and use of Google Play
Services within your virtual devices. You are solely responsible for
the use and assume all liability related thereto. Moreover, we
disclaim any warranties of any kind for a particular purpose regarding
the compatibility of the OpenGapps packages with any version of
Genymotion.
I was wondering- can you download apps from google play onto an Android Studio AVD (Android Virtual Device)? If you can, how do you do that? Thanks!
I ended up using the Genymotion emulator. It allows to install apps from the store without a problem and it's really quick in comparison with standard emulator.
Other way to install apps from Google Play is to extract the APK and install the app in the emulator via adb:
adb install <path>/Twitter.apk
You can download the APK directly from the web or via an app.
I had installed AndroVM to use Android apps in computer. But when it comes to games like shadow fight even with OpenGL support enabled, AndroVM couldn't run many games such as Hill Climb racing, Gunship battle etc. Hence I tried Genymotion. When I installed Genymotion, it automatically detected AndroVM installed in Virtual Box. And I could only run Hill climb racing and rest of them didn't work. So I finally installed Android SDK and followed all instructions to add packages(Tools, extras and System Images). Even if I have installed Google play services and Google repository, I couldn't find Google playstore in the android emulator. Even this post suggests how to install Google playstore in emulator,it also have discussions about piracy and legal issues(in comments) and the apk's (GoogleLoginService.apk , GoogleServicesFramework.apk , Phonesky.apk) are not official packages. Hence
Can any one suggest how can I install apps inside emulator without using Google playstore, and
Why can't I find playstore even after I install Google play services and repository.
These are the packages I've installed (Sorry I don't have enough reputation to upload image). And I'm using Ubuntu 14.04
you can't directly install apps using what google provided to you to install playstore app in emulator.
there are some 'hack' (not really) for this, but even you follow the steps, you can't install paid app in emulator also,
I believe it is kind of difficulty made by google to prevent people to use pc to run android apps easily.
below is a detail steps how to install apps in emulator
http://blog.apkudo.com/2012/08/08/run-google-play-on-an-emulator-and-pretend-to-be-any-device/
another more up-to-date steps.
http://www.flinkd.org/2013/12/installing-google-play-on-the-android-emulator-api-18/
before all these, you should download the same version as your emulator of package from
http(s)://goo.im/gapps/
happy 'hacking'.
i have found the best emulator to be is bluestacks. It runs flawlessly in my less powered old laptop which has 2GB RAM. It is core2duo engine and has 10 years old graphics card. It does make lot of noice when i run bluestacks and gets heated. Bluestacks is the best emulator. All apps run easily in bluestacks. I have tried all emulators. None of them works in my machine except bluestacks. Youwave which is light weight app but asks for money.
I am not able to access android market through emulator.
I got Android Market to work on Emulator for Platform 2.3 using OS 10.6.6:
First download and setup emulator on your mac.
Launch emulator and create an AVD. I created one called vd1.
Close vd1.
Launch Terminal in Utilities and enable the Finder to show hidden system files and folders by executing following commands:
lsy$ defaults write com.apple.finder AppleShowAllFiles TRUE
lsy$ killall Finder
Download system.img
http://www.mediafire.com/?s8eeph3r71ho1lz
Copy system.img to two locations:
[username]\.android\avd\[vd1]\
[username]\android\platforms\android-9\images\
Launch emulator from Terminal
lsy$ cd android\tools
lsy$ ./emulator -avd [vd1] -partition-size 100
Android Market is not available through the emulator for similar reasons it is not available through the developer phone. Allowing people to buy applications with an unlocked phone (or the emulator) would make it easier for those paid apps to be redistributed as freee apps.
Will's right. But also see this if it helps: http://forum.openhandsetdevelopers.com/running-android-market-on-emulator-no-download-issue-t82.html
Check out this link.
http://tech-droid.blogspot.com/2009/11/android-market-on-emulator.html
You get a full featured market on your emulator. I don't know if it's
legal(allowed by Google), but the image file, that this post mentions,
is a link to HTC's download page.
I am able to access all the market apps now, right from the emulator,
the paid ones, and the copy-protected ones also.
Cheers.
Dexter.
The emulator does not have the Android Market. The Android Market is only available for devices whose manufacturers have licensed the Android Market from Google.
Android Studio from version 2.3.2 has Google Play System Images.
You are able to create the simulator with the Play Store (old name: Android Market App).
You can use this test framework : android-test-billing to test the In-App billing on the emulator.
This library was used in the project Horer - horaires de RER.
I have did it in my 1.6 emulator it worked fine , Try this,
Download system.img from following link
http://www.4shared.com/get/x6pZm3-W/system.html
Go to avd folder. It will be in your c drive probably
( example C:\Documents and Settings\Vadivelan.android\avd\market.avd)
Paste the download file
Now launch the emulator
Market is ready
But am not sure it will work in 2.2 emulator, because the given system.img file is specific to 1.6. For 2.2 download the 2.2 system.img (but i doubt it works, as per my information it gives error)
Regards,
Vadivelan
just find the same app from a trusted website that allows you to download the .apk file to launch the app without using the play store. You wont be able to find all apps, but most of them should be relatively easy to find and download without using the play store.