When I run the command to create a new avd (avdmanager --verbose create avd -n test -k "system-images;android-29;google_apis;x86"
), I have this error, only with the verbose flag:
Warning: Failed 'chattr' for /home/<username>/.android/avd/pixel.avd:
Warning: -- chattr: Opération non supportée lors de l'initialisation des drapeaux sur /home/<username>/.android/avd/pixel.avd
The avd is added in the folder ~/.android/avd
. But when I try to launch with emulator @test
, I have the error:
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/home/<username>/.android/sdk]!
I tried to check all related issues to the path ANDROID_SDK_ROOT, but there is nothing wrong here. The real error seems to come from the creation of the avd described above.