Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not remove dir [...] /code_cache/.ll/ : No such file or directory (Android Studio)

Tags:

java

android

Nothing changed in the code, it just stopped projecting the app in the emulator, Logcat says what's in the title. The app is a very simple game skeleton for now, no errors, just some warning.

"W/System: A resource failed to call close." is the last message in the "Run" window.

The problem seems to be the inability to delete cache files due to their inexistence.

Please hepl.

I'm trying to build a very simple game, I was trying to sort out how to insert a joystick in one of the layouts and was adding a database. Again the emulator stopped working randomly, due to no code modification.

like image 575
Matteo Congiu Avatar asked Jan 19 '26 00:01

Matteo Congiu


1 Answers

Sometimes the emulator can get into an improper state and rather than trying to diagnose and fix what is happening it is easier to start over from a clean state.

Try "Wipe Data" from the emulator menu and try again.

enter image description here

https://developer.android.com/studio/run/managing-avds#emulator

like image 126
Ken Wolf Avatar answered Jan 20 '26 16:01

Ken Wolf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!