MPD icon indicating copy to clipboard operation
MPD copied to clipboard

How to build multi arch apk for Android

Open linsui opened this issue 4 years ago • 2 comments

Question

How to build multi arch apk for Android? I tried

../../android/build.py $$SDK$$ $$NDK$$ armeabi-v7a
../../android/build.py $$SDK$$ $$NDK$$ arm64-v8a
meson configure
ninja android/apk/mpd-unsigned.apk

but in the apk there is only a libmpd.so in armeabi-v7a.

linsui avatar May 20 '21 05:05 linsui

That needs another script which is out-of-tree ... but your report is a good time to fix this up properly and commit it to git.

MaxKellermann avatar May 20 '21 06:05 MaxKellermann

Thanks!

linsui avatar May 20 '21 06:05 linsui

Kindly ping. Could you please share the script? Thanks!

linsui avatar Oct 15 '22 04:10 linsui

Just remove the rm -rf line from android/apk/make-unsigned-apk.sh and add --reconfigure to android/build.py.

linsui avatar Oct 25 '22 08:10 linsui