I have just installed an Android Emulator - which is Pixel 4 API 28 - on my Windows 11 computer. I have a project in Expo and I want to test it on Android Emulator. For this, the Expo needs to install Expo Go on Emulator to load my project. By default, it installs automatically when I request for installation by pressing a on my terminal. It detects the connected and available devices on my computer and installs the application.
But for me this does not happen. Instead of installing automatically, the terminal prints me this:
› Opening on Android...
. Learn more: https://expo.fyi/authorize-android-device_4_API_28
This link leads to a 404 page of Github but if I remove the "_4_API_28" part from hyperlink it leads to "Authorize Android Device" page from fyi. This page guides how to reset USB debug permissions of my device to allow my computer to get debug access. I have already did that on my android emulator but nothing changed, it still prints that message.
Is there anything I can do to solve this issue and install Expo Go on my android emulator property?
I was working on an android app to push FCM notifications.
Now this debug app was getting installed on my mobile properly, however since am using my office laptop with intel-vt (HAXM) disabled I could not use the emulator and since the USB is also disabled, I could not use the ADB to side load.
So I was left with building the APK and manually side loading it on my mobile every time I made even a small change.(Redmi Note 5 Pro).
Now this app was working fine till the last time I uninstalled it.After which I tried to install the new version which failed with error "App not installed". Then I went on to install the older version thinking I might have screwed up something in the latest version, however all the older version APKs which were working absolutely fine earlier (at least they were installing i mean) stopped getting installed with the same error.
I have already uninstalled the older version and have double checked from system and there is no earlier APK existing on my mobile.
This is driving me crazy and has put a complete halt on my work as this is the only mobile I have. And yes I have tried restarting my mobile, I have even disabled MIUI optimizations from developers menu.
PS - I am an extreme noob at Android and have recently started with Android development so please forgive me if my question sounds very silly.
Appreciate any help I can get on this.
Please follow the following steps:
Go to Settings -> Permissions -> Install via USB: Uncheck your App if
it's listed.
Go to Settings -> Additional Settings -> Privacy: Check the Unknown
Sources option.
Finally go to Settings -> Additional Settings -> Developer options:
Check the Install via USB option.
I am trying to use Genymotion to run Android 5.0 (android version does not matter here as it fails for multiple). I installed Google Play (from here). All other apps work (and Chrome used to also) but I guess they made some update and now whenever I click on Chrome, the app crashes (screenshot below).
I am just looking for ANY solution that allows me to run Chrome app in Genymotion. Is there a way to get just the APK for Chrome to install in the Emulator? (Dont want to do native emulator as it is sooooooo slooowwwww)
This is caused by the newer versions of Chrome, so you can install an older version and it will work.
So first make sure that you uninstall the current Chrome version, and go to Google Play settings and TURN OFF the auto-update feature.
Then download this chrome version:
http://www.apkmirror.com/apk/google-inc/chrome/chrome-44-0-2403-133-240313311-x86-android-apk-download/
Drag it into the emulator and it will auto install it. That should work.
If you get an error like "INSTALL_FAILED_NO_MATCHING_ABIS", that means you need another version of Chrome, so go to www.apkmirror.com and look for your corresponding version of chrome. I've tried with the version from August 1 and it works.
This question already has answers here:
How to install Google Play Services in a Genymotion VM (with no drag and drop support)?
(17 answers)
Closed 5 years ago.
I'm currently trying out Genymotion and boy, it's so much faster than the ADT emulator.
But I need to install Google Play to download some apps into it. How do I do this?
Update May 28th, 2017: This method is no longer supported by me and doesn't work anymore as far as I know. Don't try it.
# How To Add Google Apps and ARM Support to Genymotion v2.0+ #
Original Source: [GUIDE] Genymotion | Installing ARM Translation and GApps - XDA-Developers
Note(Feb 2nd): Contrary to previous reports, it's been discovered that Android 4.4 does in fact work with ARM translation, although it is buggy. Follow the steps the same as before, just make sure you download the 4.4 GApps.
UPDATE-v1.1: I've gotten more up-to-date builds of libhoudini and have updated the ZIP file. This fixes a lot of app crashes and hangs. Just flash the new one, and it should work.
This guide is for getting back both ARM translation/support (this is what causes the "INSTALL_FAILED_CPU_ABI_INCOMPATIBLE" errors) and Google Play apps in your Genymotion VM.
Download the following ZIPs:
ARM Translation Installer v1.1 (Mirrors)
If you have issues flashing ARM translation, try re-downloading from a mirror
Download the correct GApps for your Android version:
If you have issues flashing GApps, try re-downloading from a mirror
Google Apps for Android 6.0
Google Apps for Android 5.1
Google Apps for Android 5.0
Google Apps for Android 4.4 (Download from CM11 Links) (4.4 GApps might have bugs)
Google Apps for Android 4.3 (Mirrors)
Google Apps for Android 4.2
Google Apps for Android 4.1
Next open your Genymotion VM and go to the home screen
Now drag&drop the Genymotion-ARM-Translation_v1.1.zip onto the Genymotion VM window.
It should say "File transfer in progress". Once it asks you to flash it, click 'OK'.
Now reboot your VM using ADB (adb reboot) or an app like ROM Toolbox. If nescessary you can simply close the VM window, but I don't recommend it.
Once you're on the home screen again drag&drop the gapps-*-signed.zip (the name varies) onto your VM, and click 'OK' when asked.
Once it finishes, again reboot your VM and open the Google Play Store.
Sign in using your Google account
Once in the Store go to the 'My Apps' menu and let everything update (it fixes a lot of issues). Also try updating Google Play Services directly.
Now try searching for 'Netflix' and 'Google Drive'
If both apps show up in the results and you're able to Download/Install them, then congratulations: you now have ARM support and Google Play fully set up!
I've tested this on Genymotion v2.0.1-v2.1 using Android 4.3 and 4.4 images. Feel free to skip the GApps steps if you only want the ARM support. It'll work perfectly fine by itself.
Old Zips: v1.0. Don't download these as they will not solve your issues. It is left for archival and experimental purposes.
Install Genymotion 2.10 or above, now there is a dedicated button to install Google Play Services name "Open GApps". Link for more info
3 Steps process for Genymotion 2.9 or below:-
4.4 Kitkat
5.0 Lollipop
5.1 Lollipop
6.0 Marshmallow
7.0 Nougat
7.1 Nougat (webview patch)
8.0 Oreo
8.1 Oreo
9.0 Pie
Download from above link
Just drag & drop downloaded zip file to genymotion and restart
Add google account and download "Google Play Music" and Run.
EDIT 2
After three months we can say: no more official Google Apps in Genymotion and CyanogenMod-like method is only way to get Google Apps. However, you can still use the previous project of the Genymotion team: AndroVM (download mirror).
EDIT
Google apps will be removed from Genymotion in November. You can find more information on the Genymotion Google Plus page.
Choose virtual device with Google Apps:
Done:
Now 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.
Alright, this is probably the easiest way to do it:
First of all, you will have to install GAPPS.
Next, open the virtual box and wait for the home screen to show up on Genymotion.
Drag and drop the GAPPS folder that you had downloaded earlier on into Genymotion.
You would get a prompt. Click OK. You would see a lot of errors, but just ignore them and wait for the successful prompt to come up. Click OK again and restart the virtual device.
A Google account screen should show up. Open up the playstore app if it doesn't show up. Sign into your account. Again ignore the errors.
The playstore should open now and should be fully functional.
I could flash the ARM translation but not the gapps, using https://stackoverflow.com/a/20013322/98057. I got the 'Ooops, something went wrong while flashing gapps-jb-20121011-signed.zip' error mentioned above. If you read the Genymotion logs and find an entry like:
Sep 16 23:00:02 [Genymotion Player] [Error] [Adb][shell] Unable to finished process: "Process operation timed out"
Try to apply the flash using adbdirectly:
$ adb -s 192.168.56.101:5555 shell "/system/bin/check-archive.sh /sdcard/Download/gapps-jb-20121011-signed.zip"
$ adb -s 192.168.56.101:5555 shell "/system/bin/flash-archive.sh /sdcard/Download/gapps-jb-20121011-signed.zip"
$ adb reboot
Change these commands according to what your log files say (the path and IP will probably be different).
I found the Genymobile log files in the following folder, by the way:
~/.Genymobile/Genymotion/deployed/<device name>/genymotion-player.log
Google Apps KitKat for Genymotion.
Download the Google Apps ZIP file from the link which contain the essential Google Apps such as Play Store, Gmail, YouTube, etc.
https://www.mediafire.com/?qbbt4lhyu9q10ix
After finishing booting, drag and drop the ZIP file we downloaded named update-gapps-4-4-2-signed.zip to the Genymotion Window. It starts installing the Google Apps, and it asks for your confirmation. Confirm it.
Try to do all the steps specified in the link below and before that upgrade VirtualBox to 4.2 by following the instructions in VirtualBox 4.2.0 Released With Support For Drag'n'drop From Host To Linux Guests, More. Then upgrade Genymotion to the latest version.
Go to the desktop and run Genymotion. Select a virtual device with Android version 4.2 and then drag and drop the two files Genymotion-ARM-Translation_v1.1.zip first. Then Genymotion will show progress and after this it will promt a dialog. Then click OK and it will ask to reboot the device. Restart ADB. Do the same steps for the second file, gapps-jb-20130812-signed.zip and restart ADB.
I hope this will resolve the issue. Check this link - it explains it clearer.
If anyone got an error while signing in to Google and this message appear:
Couldn't Sign In
can't establish a reliable connection to the server...
then try to sign in from the browser - in YouTube, Gmail, Google sites, etc.
This helped me. After signing in in the browser I was able to sign in the Google Play app...
Sometimes "ARM Translation Installer v1.1" is not working.. Here is the simple solution to install Google Play.
Go to this link: http://www.mediafire.com/download/jdn83v1v3bregyu/Galaxy+S4++HTC+One++Xperia+Z+-+4.2.2+-+with+Google+Apps+-+API+17+-+1080x1920.zip
Download the file from the link and extract to get the Android virtual device with Google Play store. The file will be in the name as “Galaxy S4 HTC One Xperia Z – 4.2.2 – with Google Apps – API 17 – 1080×1920″.
Close all your Genymotion store running in the background.
Copy that extracted file in to the following folder.
C:\Users\'username'\AppData\Local\Genymobile\Genymotion\deployed
After you copy you should see this path:
C:\Users\'username'\AppData\Local\Genymobile\Genymotion\deployed\Galaxy S4 HTC One Xperia Z - 4.2.2 - with Google Apps - API 17 - 1080x1920
Inside the “Galaxy S4 HTC One Xperia Z – 4.2.2 – with Google Apps – API 17 – 1080×1920″ folder you will see many *.vmdk and *.vbox files.
Now open VirtualBox and select Machine->Add and browse for the above folder and import the *.vbox file.
Restart Genymotion. Done.
I have downloaded some sample source codes, modified them and made a audio-video player.
The player is supporting minimum Android version 2.2. I ran the app in my tab, as well as phone.
It's working fine for my Android phone, but not in my tab. I am not sure why this is happening.
I am not even able to install the .apk file in my Android tab.
Can anybody suggest me what may be cause of this?
In order to install apps from places other than the market, you need to enable that in Applications settings - allow unknown sources. enable it.
enable usb debugging also
With the debug tools installed, you can install an apk from the command line by saying
adb install my.apk.