'An error occurred while creating the AVD. See idea.log for details in Windows 10
I have just started using Android studio every time i try to install an avd i get an error message "An error occurred while creating the AVD. See idea.log for details." i am using windows 10 And in log file i get this.
2019-12-17 13:32:13,479 [ thread 35] WARN - vdmanager.AvdManagerConnection - Failed to create the SD card.
2019-12-17 13:32:13,480 [ thread 35] WARN - vdmanager.AvdManagerConnection - Failed to create sdcard in the AVD folder.
2019-12-17 13:32:16,987 [Alarm Pool] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 55 ms
Can Anybody help? Thanks in Advance.
Solution 1:[1]
I was try to reinstall Android SDK, and after start application sdk was opennig last project.
Close the project and Android SDK will start setup wizard wich will download all necessary files and install Emulator.
Solution 2:[2]
I had the same problem and the same message with the sd card.
Firstly, I had to (or not, I don't know exactly what fixed the problem) rename my windows username because I had a whitespace char in it (there shouldn't be whitespaces in the route to the Android sdk (C:\Users"yourWindowsUsernameWithoutWhitespace"....), even AS warns you). It's not that simple to change it but here's the solution:
(In AS I tried to redownload and reinstall the android sdk to a different folder without space in it's route but for some reason the installation never finished)
After this, the problem still existed. I closed Android Studio and ran it as administrator. And worked! I hope I helped
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Saulius |
| Solution 2 | bidambidam |
