diff --git a/android/app/src/main/java/mw/gri/android/MainActivity.java b/android/app/src/main/java/mw/gri/android/MainActivity.java index a595211..d280d70 100644 --- a/android/app/src/main/java/mw/gri/android/MainActivity.java +++ b/android/app/src/main/java/mw/gri/android/MainActivity.java @@ -39,6 +39,7 @@ public class MainActivity extends GameActivity { // Setup HOME environment variable for native code configurations. try { Os.setenv("HOME", getExternalFilesDir("").getPath(), true); + Os.setenv("XDG_CACHE_HOME", getExternalCacheDir().getPath(), true); } catch (ErrnoException e) { throw new RuntimeException(e); }