Recently I decided to learn android dev with Kotlin, I installed JDK, the latest Android Studio release and other stuff but my CPU is AMD so I cannot install intel's HAXM which is required to launch the emulator . I want to know if an equivalent for pc with AMD exist
For your problem there are several ways to fix the issue.
Android Studio with Android Emulator Hypervisor Driver for AMD Processors Tools(Recommended)
Here's the full document
Go to Android SDK -> SDK Tools -> Check Android Emulator Hypervisor Driver for AMD Processors also make sure if they're installed they're updated, since this solution got a problem with using NOX player at same time, and causing Blue Screen of Death
Then go to App & Features -> Turn windows features on or off -> make sure Hyper-V and Windows Hypervisor Platform are disabled. All Windows features enabling Hyper-V either explicitly or silently must be turned off.
Other solution is to use Nox or Bluestack emulator. i prefer nox since idk why but bluestack using so many resource, and also nox multi-instance is also working very well for using several emulators and it's got 3 version of android (4, 5, 7).
Common issues while using nox when trying to develop flutter app or etc is sometime emulator won't appear in your emulator list in android studio which the solution is that you should copy your adb nox file to your android sdk folder. or address the PATH VARIABLES to use nox adb.
Good Luck.
Related
I have installed Windows Subsystem for Android and I am able to run apps on windows 11 however when I tried to run the emulator I created on Android Studio, it just does not no longer work and Android emulator is not responding.
It was working prior to the install, so I am assuming the cause could be when I installed WSA
Try turning on/off the Hyper-V option which you will get in the programs and features tab in control panel.
These are the four solution might help you to solve your problem.
This error occurs after installing latest android studio with amd processor.
Turning on/off SVM Mode will solve.
Install HAXM again
Turn on/off Hyper-V
AMD processor most of time shows this type of errors.
I get the error message below when firing up the android emulator from android studio. Any ideas?
Turns out this is a bug affecting all Core 2 series processors that are meant to be supported by Intel HAXM. That is those which have VT-x but not EPT. After posting it on the Github, I was told to roll back to version 7.2.0 and after some more issues I was able to get the emulator running. In the end the performance was terrible so I went to Genymotion which has a free edition for personal use.
I recently upgraded Android Studio to 2.0 (Windows) which broke the emulator.
The symptom is that the emulator starts a (single thread) process that takes about 100% of its CPU. Nothing shows on the screen.
Of course, this worked like a charm before the update.
Few things I tried:
Used an AVD created before and after the update
Increased AVD memory to 1G
Delete / Install Android Studio
Used different CPU Architecture (Arm & x86)
Used different versions of API (21 & 23)
I had the same problem I had to reinstall android studio all over again, After that open your SDK monitor press on launch stand alone SDK manager, There scroll down and check if the emulator is installed properly if not install it.
I hope this answer helped you since that's what I did and it works.
A temporary solution:
Go into the AVD Manager, select the Virtual device, and click "Edit"
Find "Emulated Performance" -> Graphics, and switch that from auto (or hardware) to Software.
It won't have quite the performance, but this worked for me. Seems to be that Android Studio 2.0 doesn't play well with certain graphics cards or something.
I use:
Android studio 1.5
Java JDK 1.7
windows 7
Intel HAXM driver
I created a default google map activity with studio and I tried to run with but I get a message to upgrade my google servies.
As I read to documentation of android studio I have to set
compile 'com.google.android.gms:play-services:8.3.0'
on gradle in section dependencies. This was set by default.
I don't think that the problem is on my code but in emulator's configuration.
I strongly believe that the problem start from my android sdk packages but it is not possible to make any mistake. I test the same project in Linux OS that I have install android Dev environment and there is no problem at all. Google maps works.
I installed next packages
From tools:
Android SDK Tools
Android SDK platform-tools
Android SDK Build-tools
From Android 6.0(API 23)
Everything except ARM, Wear and TV packages.
From Extra:
Android Support Repository
Android Support Library
Google Play services
Google Repository
Google USB Driver
Intel x86 Emulator Accelerator(HAXM installer)
Next I create AVD from android studio:
I choose a device definition one from default
Then system image API level 23 with ABI x86 and target Android 6.0 (with Google APIs)
but automatically selects android 6.0 without Google APIs
Your problem may well be the same as mine, see AVD Error - Update Google Play Services. Sorry no solutions but perhaps you are correct that the fault lies with the current packages
I develop android apps in my Windows 8 system with the help of Android Studio. Currently I test the apps using either Bluestacks or the android virtual device that is available in Android Studio. The AVD has virtual devices including Android 2.2, 2.3.3, 3.2, 4.0, 4.0.3, 4.1.2, and 4.4. Also Bluestacks runs on Android 4.1.2.
Recently I heard that Geny Motion is the fastest Android emulator. So I downloaded its newest version and installed it(also Virtual Box is installed). When I opened Geny Motion it said to add a virtual device. So I selected one device from the list and moved to next page. There it starts to download(a file of 147 MB). I can't download such a large file since my internet connection is too slow. Then I thought of using any of the virtual devices of either Bluestacks or Android Studio in Geny Motion. But I don't know whether its possible or not.
Can I use any of the virtual device of Bluestacks or Android Studio in Geny Motion ? If possible, how ?
Genymotion virtual devices are x86 virtual machines (VM) that run using VirtualBox. The Genymotion launcher is just a wrapper around VirtualBox that also simulates various things about an actual device like GPS, tilting, etc.
Bluestacks and the ARM devices you see under AVD are not virtual machines. They are emulators that translate ARM instructions to x86 and that is why they are slower. Note that an x86 AVD will be slightly better in terms of speed.
So the bottom line is that you cannot do what you are asking because AVDs and Bluestacks are fundamentally different technologies than Genymotion's VMs.
Maybe you could find a hotspot somewhere to download a few Genymotion virtual devices?