android studio build AVD unknown error

血红的双手。 提交于 2019-12-20 03:40:48

问题


and

my PC cpu(E3-1231v3),vt is already.And,I am a tiro.I can't solve this problem.Can anyone give me some advice? thank you.


回答1:


I've just solved the problem by deleting *.ini files from a directory home//.android/avd It's for Ubuntu. In Windows it's also in the user's folder (.android/avd).




回答2:


install "vc_redist.x64.exe"

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads

Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019

I had this "unknown" error today under Windows 10 as well. There was a new Android Studio version and a new emulator. I first renamed the folder ".AndroidStudio3.5" ("C:\Users[YourName]") and old settings not imported. I tried reinstalling the emulator this way.

Unable to run mksdcard.exe SDK tool android v3.5.2 at windows10

Because of "mksdcard.exe" error this was not possible. I installed "vc_redist.x64.exe" and could use the old folder ".AndroidStudio3.5" again.




回答3:


I had this issue because AvdManagerConnection "Failed to create sdcard in the AVD folder."

The reason of it was missing VCRUNTIME140.dll

I've solved it by installing Microsoft Visual C++ 2015 Redistributable Update from Microsoft website.




回答4:


I had this error after my Windows PC crashed while creating a new virtual device.

Reinstalling Android Studio solved the problem in my case.

It took less than 10 minutes. After that the error disappeared and I was able to create virtual device without any issues.




回答5:


I had same issue and its seems like you did not installed Google API Library.

Just confirm that have you installed all Intel Image Library and Google API for your desired API.

Just go to your SDK Manager and check intel system images is installed or not if not then you have to installed it as well install Google API Library.




回答6:


you need to download the C++ library to ger rid out of the error.Which you can find from here you can download and install from here



来源:https://stackoverflow.com/questions/41072643/android-studio-build-avd-unknown-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!