I am a newbie in libgdx
and just got it setup in android studio. Now I am getting this error when I press run for the first time.
/Library/Java/Jav
static{
System.out.println(Gdx.files.getLocalStoragePath());
}
It displayed the path to the project root folder outside the android/desktop specific modules. Copied to files to a path relative to the root folder of project and it worked.
Project Project/core Project/android Project/desktop Project/html Project/android/assets/data/img.png What worked: Project/data/img.png