I get the following message when I try to install Facebook-11.apk on the emulator:
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
I've found this and it wasn't very helpful. My emulator's Image is Intel Atom (x86_x64) (API 21).
I've searched everywhere and can't seem to find a solution to this. Thanks in advance!
For google searchers out there - Use Genymotion if you want to check your app with the Facebook app.
As mentioned - you can't install Facebook apk on Intel-based images.
I did it on emulators from Android Studio. Basically you can use any ARM emulator but they are slow as hell, so I do not recommend them. In order to use x86:
Go to https://www.apkmirror.com/apk/facebook-2/facebook/variant-%7B%22arches_slug%22%3A%5B%22x86%22%5D%7D/ and download any app you like (but you will have to try some of them, e.g. first one at the moment I was writing this answer did not work on x86 emulator)
Download the selected apk.
Drag'n'drop it on the launched emulator.
Whooorey!
Related
I built an Android source on my server successfully. The commands I used are
source build/envsetup.sh
lunch aosp_x86-eng
make -j32
I can also run the emulator successfully on the server without GUI because the server has no available video device. In order to visually see the emulator, I followed the steps mentioned in here and here to move several built images to my laptop (a MacBook Pro). Basically, I used Android Studio to create a x86 emulator and copied several image files (e.g., system.img, ramdisk.img, userdata.img) into the corresponding avd folder. However, when I try to launch the emulator, it only shows a blank screen without any progress even after 5 mins. I have tried to switch off gpu, switch to software rendering, and switch to cold boot but with no success.
I don't understand the reason because it seems others can succeed after following these steps. Can anyone tell me what mistakes I made?
After several days of search, it turns out the answer is pretty simple. Here is what I did to make it work:
Download Intel x86 Atom System Image (previously I only had Google APIs Intel x86 Atom System Image) in Android Studio.
Create an emulator without Google APIs.
Copy the system.img and ramdisk.img I built on server into <SDK folder>/system-images/android-XX/default/x86/ on my MacBook.
Lunch the emulator and it works pretty well.
I also found if using an emulator with Google APIs, it can only work in software - GLES 2.0 mode. But WebView doesn't work in such mode.
So it seems the reason of a blank screen is because I use an emulator with Google APIs... I don't know why but it works.
Emulator in the image below is one of the fastest emulator in xamarin. I have 2 computers and 1 of them has this emulator somehow installed. whatever I tried and I searched all over, I cant find out how to install this emulator on my other computer. Does anybody know how do I get this emulator. something similar described here but it is not the same at all.
I have already api level 23 and intel atom(x86) for this api level installed
I have installed extras in android sdk manager as below
There are two ways of getting an x86 enabled emulator.
First is by installing the Intel HAXM emulator. To do so open Xamarin Studio click on tools and open SDK Manager. In the Extras folder you will see an entry Intel x86 Emulator Accelerator.
An even simple solution is to install Android Studio and during the installation set the SDK path to the one configured inside Xamarin Studio. The benefit is, that you can use Android Studio for stuff like memory monitoring, CPU usage and such as well as getting a better designer for your layouts.
I described it for Xamarin Studio but the steps basically applies to Visual Studio as well.
I found the answer for my question. Just for anyone who will have same interest here is the answer. I dislike xamarin android emulators in general. I used to test my app using real device rather. Advantages were,
I didnt need any virtualization whatever hassle to be installed like hyper v
They occupy a lot of space on my ssd drive
but this emulator is beautiful, fast and light. It occupies only around 700mb. I highly recommend this emulator to anyone.
It comes with VS 2017 RC installation but you dont need to install VS 2017. It is also working with VS 2015. Just download the VS 2017 installer and choose the emulator only from the list.
PS, I guess most of the xamarin presentations made by microsoft and xamarin is with this emulator :)
I was trying Android Studio - successfully installed it but couldn't launch the emulator and the error message was Intel Haxm wasn't installed. I checked my setting and realized it was installed.
I tried to re-run it several times and the same thing happened.
I tried to install SDK 17 and the error was still there.
May I know what might be causing this? And how should we solve it?
Thank you.
You was created an AVD with Intel Atom system image, so make sure that your CPU is Intel. If yes, see this instructions about installing HAXM on your computer.
If HAXM won't to be installed, please make sure that your CPU is strong enough to use HAXM. Then, change the system image of your AVD to ARM-v7 or Armeabi.
System image also called with CPU type of the emulator on AVD.
Another option to run Android Apps on computer:
If you are not able to use Android Studio Emulator (at all after trying above given solutions), then you can use Genymotion. It comes with free as well as paid versions. You can download this software on your Windows/Mac/Linux based computer and configure it with Android Studio/Eclipse.
Watch this video for more details: Install and configure Genymotion with Android Studio
Genymotion is fast and reliable and also has latest (till Lollipop 5.0) android support and provides many emulator themes as well.
I hope this answer helps you if above mentioned solution doesn't work.
I am trying to create AVD for Android 5.0.1 with Google API. but it gives me warnings
This AVD may not work unless you install the Google APIs ARM (armeabi-v7a) system image for Android 5.0.1 (API 21) first.
i have installed that images but still that warning comes.
How can I resolve this warning?
First you need to change skin from HVGA to No Skins.
After then you may need to give it a couple of attempts, as emulator might experience a crash or two, given its beta release. If such an issue arises, just reboot your PC.
And follow the steps using this link
http://www.ibtimes.co.uk/how-install-android-5-0-lollipop-windows-pc-1479140
I'm trying to install the Chrome browser on the Android emulator (x86 image) but can't seem to install it. Did anyone succeed in installing this on an emulator?
I tried by installing the Google Play Store, which failed, then I tried pushing a Chrome apk I found on the web with adb, but that crashed upon opening.
Any hints would be more than welcome!
I was experiencing the same problem attempting to install Chromium APK onto an Android emulator. It would crash immediately upon trying to open the app. There is no guarantee that you are experiencing the same issue, but these steps helped:
Make sure your AVD has an SD card configured.
Use ARM processor instead of Intel Atom
There are a huge number of other services that you need to do. The simplest solution is to install the Content Shell which is the full renderer but not the browser ui (such as bookmarks, history etc)