mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
set BOOTCLASSPATH environment variable
Required on at least Android 5. Otherwise utilities that use dalvikvm may fail. Issue happens on Nexus 7 with official 5.0/5.1 firmware and possibly other AOSP ROMs.
This commit is contained in:
parent
81b5889a26
commit
5fa4f2647b
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ public final class BackgroundJob {
|
|||
environment.add("TERM=xterm-256color");
|
||||
environment.add("HOME=" + TermuxService.HOME_PATH);
|
||||
environment.add("PREFIX=" + TermuxService.PREFIX_PATH);
|
||||
environment.add("BOOTCLASSPATH" + System.getenv("BOOTCLASSPATH"));
|
||||
environment.add("ANDROID_ROOT=" + System.getenv("ANDROID_ROOT"));
|
||||
environment.add("ANDROID_DATA=" + System.getenv("ANDROID_DATA"));
|
||||
// EXTERNAL_STORAGE is needed for /system/bin/am to work on at least
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue