mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-17 19:45:11 +00:00
update android instructions
This commit is contained in:
parent
1cbc9cd849
commit
ebed3e05b1
2 changed files with 15 additions and 7 deletions
|
@ -31,13 +31,8 @@ Make sure environment is properly configured:
|
||||||
|
|
||||||
You should be able to build now:
|
You should be able to build now:
|
||||||
|
|
||||||
; cd uxn; ./build --no-run # need boot.rom to be included
|
; ./prepare-android.sh
|
||||||
|
; cd src/android; ./gradlew assembleDebug
|
||||||
; cd src/android; ./gradlew assembleDebug # now the APK
|
|
||||||
............
|
|
||||||
BUILD SUCCESSFUL in 111s
|
|
||||||
31 actionable tasks: 3 executed, 28 up-to-date
|
|
||||||
|
|
||||||
; find app -name *.apk
|
; find app -name *.apk
|
||||||
app/build/outputs/apk/debug/app-debug.apk
|
app/build/outputs/apk/debug/app-debug.apk
|
||||||
|
|
||||||
|
|
13
prepare-android.sh
Executable file
13
prepare-android.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# need launcher.rom to be included
|
||||||
|
./build.sh --no-run
|
||||||
|
# duplicate? already have a piano
|
||||||
|
rm -f bin/asma-piano.rom
|
||||||
|
|
||||||
|
# get more roms
|
||||||
|
curl https://rabbits.srht.site/uxn-rompack.tar.gz | tar -C bin -xzf -
|
||||||
|
mv bin/uxn/*.rom bin
|
||||||
|
rm -r bin/uxn
|
Loading…
Reference in a new issue