Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio : InvalidVirtualFileAccessException: Accessing invalid virtual file:

Just updated the SDK and got the following error, and my android version is

InvalidVirtualFileAccessException: Worker exited due to exception: Accessing invalid virtual file: jar:///Users/Android/android-sdk/platforms/android-25/android.jar!/; original:239; found:159070

My Android studio version is Android studio 2.3 RC 1

like image 711
user1742971 Avatar asked Mar 02 '17 07:03

user1742971


2 Answers

File -> Invalidate Caches / Restart... -> Invalidate and Restart

Everything is fine.

like image 149
adgvcxz Avatar answered Nov 17 '22 03:11

adgvcxz


As Maragues says https://github.com/square/sqldelight/issues/289

Try to clean and rebuild the project, otherwise restart the IDE

I hope this works for you

like image 37
Jaco Avatar answered Nov 17 '22 05:11

Jaco