Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to get this missing file - Android Studio , Emulator

Tags:

linux

android

After upgrading my android studio - I tried creating an emulator but get this error when trying to start the AVD :

Emulator: statvfs('/home/nompumelelo/.android/avd/Pixel_2_API_24.avd/snapshots/default_boot/ram.img') failed:
No such file or directory

I have restarted the android studio, recreated the AVD - but still no success.

The error below is what shows on my terminal.

like image 760
elolelo Avatar asked Aug 08 '19 23:08

elolelo


People also ask

Where can I find Android emulator files?

All applications and files that you have deployed to the Android emulator are stored in a file named userdata-qemu. img located in the C:\Users\<username>\. android\avd\<avd_name>. avd folder.

Where can I find emulator files?

By default, the android tool creates the AVD directory inside ~/. android/avd/ (on Linux/Mac), C:\Documents and Settings\<user>\. android\ on Windows XP, and C:\Users\<user>\. android\ on Windows 7 and Vista.

How do I get files from an emulator?

To copy a file from the connected emulator/device onto the computer, use the following command: adb.exe pull /data/app/<filename> c:\ NOTE When using the adb.exe utility to pull or push files from or into the emulator, ensure that only one AVD is running.


1 Answers

I can confirm that the Emulator 29.2.1 Stable fixes this bug.

An excerpt from the link above:

Fixed crash on startup on Linux Wayland systems. This was because XkbGetKeyboard was used to query the host system's keyboard state. It seems usage of XkbGetKeyboard is not advisable on Linux and perhaps in general: https://github.com/glfw/glfw/issues/389

like image 53
Sufian Avatar answered Sep 19 '22 12:09

Sufian