I installed android studio on MacBook Pro but when I try to create a virtual device it shows me an error saying that cpu does not support vt-x.
First you need to download the SDKs you are interested in from Android Studio Tools menu -> Tools -> Android -> SDK Manager or enter image description here from the menu bar.
Don't forget to install the intel x86 emulator accelerator haxm from the SDK Manager - this will speed up significantly your android virtual device.
Then proceed as you mentioned in your question.
You can find more information here.
EDIT : From the comments your OS X version is 10.7.5 and Android Studio runs on 10.8.5 so you either :
Update your OS X installation
Install Eclipse and use the ADT plugin from google on your current configuration.
I am new in the Xamarin.Forms world and the mobile development and I am trying to understand how the framework mvvmcross works. To do it I have taken the example app TipCalc. I am getting a problem when I start this app on a virtual emulator with Visual Studio 2017. I am getting the following error: "TipCalc.Forms has stopped".
Emulator configuration:
Android_Accelerated_x86_Oreo (Android 8.1 - API 27) 1GB
I have following components installed:
Android SDK Platform 27 and Google Play/APIs Intel x86 Atom System Image are installed.
Android SDK Tools 26.1.1 and Android Emulator are also installed. NDK is not installed. I am getting an error without any detail when I try to install it.
My development environment:
Windows 10 Home
Processor: Intel Core i7-7500U - RAM 8 GB 64Bit-OS
Any idea why it doesn't work? Build and deploy works fine (deployment takes a long).
I'd installed HAXM emulator but am still getting the problem in Running AVD.
provide me a solution for this error?
your android SDK has an incomplete update , specifically the HAXM installer for running the emulator is corrupted some how.
You need to reinstall the required platforms and the system images for those platforms
Go to the local.properties and change the sdk path to the new sdk (if downloaded from scratch), otherwise it will work if the current sdk is updated perfectly.
I am using visual studio to develop cordova apps, they seem to run perfectly on ripple emulator but when I select GOOGLE ANDROID EMULATOR then it gives the error as
THIS AVD's CONFIGURATION IS MISSING A KERNEL FILE
and when I use VS EMULATOR 5'' KITKAT(4.4) XXHDPI PHONE then it gives the error as YOU DO NOT HAVE PERMISSION TO MODIFY HYPER-V NETWORK ADAPTER SETTINGS
Can anyone please help?
It seems like you have an incomplete install of the Google Android Emulator and have to install one yourself.
Download Android Studio, open the SDK manager, and install the following components:
latest "Android SDK tools"
latest "Android SDK platform-tools"
latest "Android SDK build-tools"
Android 6.0 API 23 - SDK platform -- to build the latest kind of Android app
Android 5.0.1 API 21 - SDK platform -- to use the emulator successfully
Android 5.0.1 API 21 - ARM EaBI v7a System Image -- the emulator image which you can use on a machine with Hyper V activated
Then, open the AVD manager and create an emulator with the ARM system image.
Finally, go to tools->options->"Tools for Apache Cordova" -> Environmental variable overrides, and link to where your customized Android Studio is installed.
I am running an android application on emulator. It was working fine till yesterday and today I updated android studio. I am getting following error.
How to resolve this?
emulator: WARNING: Increasing RAM size to 1GB emulator:
ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAXM must be updated (version 1.1.1 < 6.0.1).
I had to uninstall version 1.1.1 by going to:
C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager>
then type in silent_install.bat -v to verify the current version.
then silent_install.bat -u to uninstall
then silent_install.bat to install version 6.0.1 in my case.
Go To Your Android SDK ----> Run SDK Manager as Admin.
GO down and check Extras---> Update Intel Emulator Accelator (HAXM installer).
Then Restart Android Studio and Run Your AVD.
I had the same issue, apparently, i had installed HAXM manually directly from Intel. And I guess it's conflicting with that of the Android SDK.
So I downloaded and installed the updated version from Intel at HAXM download page. This solved my HAXM [conflict] problem
At first you have to uninstall HAXM from:
Control panel > Add/remove program
After that go to here and download HAXM and install it manually.
This worked for me .
If the SDK manager thinks you have the latest version, simply go to the SDK folder and run the silent_install.bat file.
Mine was here:
C:\Users\userid\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\silent_install.bat
It will start working immediately, no need to restart Android Studio. It's probably because the SDK manager had insufficient permissions.
When I tried to install version 6.0.3 after I downloaded the update, intelhaxm-android.exe showed a windowed message for 1/10sec (i.e. I could not read it, since I don't know how to stop time) and did nothing after that. I had to locate and run 'setup.exe' among the files extracted by intelhaxm-android.exe. This time there was a prompt saying "Intel Hardware Accelarated Manager version 1.1.1 is already installed. Do you want to install version 6.0.3?" I replied 'Yes', an installation Wizard was opened and that was it. HAXM 6.0.3 was finally installed and the emulator run again.
(Note: You might have to locate the exact 'setup.exe' file (there are four od them) that was run in the installation. You can locate it towards the end of the log file created by intelhaxm-android.exe. The message is something like that: "{temp folder}\Intel\HAXM\6.0.3\2016-09-13_14-35-22\setup.exe was launched".)