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.
Related
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.
Is it possible to install Google Play app (such as for example Twitter) on Emulator? I tried to do it using browser in emulator, but it says "No devices".
P.S. I don't have apk, I want to install app from Google Play.
P.S.S I have only emulator, no real device
This question is edited. This answer for those who have google play account.
If you want to download .apk files directly from Google Play. Check this. Apk downloader is a chrome extension which u can use to direct download .apk from google play on computer. After downloading that .apk
Start your emulator.
Start command prompt, and change your directory 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 yourapp.apk
Approach 2 - Download Genymotion and use drag-drop approach on its emulator.
Update - Now you can drag drop .apk on your Andorid emulator.
As mentioned by Gautam Jain as a comment under the first top suggestion discussion, the easiest way to download any app from Google PlayStore is to use: apk.tools
Once you have the .apk package you can simply drag&drop into your already running emulator.
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.
You can install the app on another device via the Play Store, then use a backup app to save the apk file to the SD card, move it from there to the emulator.
To install an apk in the emulator use something like
adb install <path>/Twitter.apk
If you follow this steps you will get there: http://www.android.pk/blog/general/how-to-install-apk-files-on-android-emulator/
I am trying to run android on emulator. I could not find "android market" app in the default app list of the emulator. I tried to download that from google play but it requires you to have "google play app" in the default list, which is also not available in my emulator. Then I tried to search for downloading the apk file for "android market" on net, so that I could install it. But I could not find some reliable source for downloading that.
If you could suggest me some good way of installing this app, I would be really thankful to you. Please also tell me some good download link for downloading android apps.
First of all you need to know that .apk files can't be downloaded from google play. Those files are always installed directly to the supportive device. Secondly Emulator can't have play store app.
So, If you want to install the .apk files on emulator, first download .apk from torrent(famous .apk files are available there) then use adb tool to push .apk file on emulator. just google "how to install apk on emulator" you will find many option use adb push to emulator.
May this helps you, Enjoy android on Emulator. :)
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.
I need to test my Android app for playing flash objects in the WebView.
At first I didn't need to test it on the emulator since I have an actual device (Android 2.3.7) but since users have been reporting issues about the app on Android 4.0 (Ice Cream Sandwich), I want to test it now in the emulator.
First I tried to install the Android Market using
adb install androidmarket.apk
After installing it, it just closes when I open it so I downloaded the Flash Player apk and installed it the same way.
adb install flashplayer.apk
So I tried the app but still no flash is playing.
Then I read somewhere that I should be installing the Adobe AIR instead. I installed the apk using the same approach
adb install adobeair.apk
Tried the app again but still the same. Just the blue box with a question mark appears.
Any idea how to test Flash videos on the Android emulator?
EDIT:
I've also tried
adb -e install -r adobeair.apk
with the same result.
First I tried to install the Android Market
The Android Market/Google Play client is not licensed for distribution and use this way. You cannot obtain a legal download of this APK from Google.
so I downloaded the Flash Player apk
Please point to where you can get an authorized download of this APK from an official Adobe Web site.
Then I read somewhere that I should be installing the Adobe AIR instead. I installed the apk using the same approach
Please point to where you can get an authorized download of this APK from an official Adobe Web site.
Any idea how to test Flash videos on the Android emulator?
Even if there were legal downloads of the required APKs (and I am not aware that there are), Flash/AIR depend heavily on hardware acceleration and cannot work in today's emulator.
Just a several days before, on the site:
http://download.macromedia.com/pub/flashplayer/installers/archive/android/
You could have found many APK packages with various versions of FlashPlayer for Android. They even have been successfully installing on the emulator - although I actually DONT KNOW if they work properly (I had no point in running anything..).
As of today (=2012.11.18) they site is almost down, but you can still downlaod the packages, for example:
http://download.macromedia.com/pub/flashplayer/installers/archive/android/11.1.115.27/install_flash_player_ics.apk
edit: I've just found the proper site:
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
edit2: nope, it installs but does not seem to work. I've just tested http://www.adobe.com/swf/software/flash/about/flashAbout_info_small.swf on emulator and empty black page showed up.
You can download the APK you need for all flash versions for Android 2.x and 3.x, even for Android 4.0 at the following location:
Archived Flash Player versions
Just scroll down a little bit