update android instructions

This commit is contained in:
Sigrid Solveig Haflínudóttir 2022-01-16 20:24:51 +01:00
parent 1cbc9cd849
commit ebed3e05b1
2 changed files with 15 additions and 7 deletions

View File

@ -31,13 +31,8 @@ Make sure environment is properly configured:
You should be able to build now:
; cd uxn; ./build --no-run # need boot.rom to be included
; cd src/android; ./gradlew assembleDebug # now the APK
............
BUILD SUCCESSFUL in 111s
31 actionable tasks: 3 executed, 28 up-to-date
; ./prepare-android.sh
; cd src/android; ./gradlew assembleDebug
; find app -name *.apk
app/build/outputs/apk/debug/app-debug.apk

13
prepare-android.sh Executable file
View 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