Hi, I write software for the Frozen Bubble game app, and saw that the APK released by F-Droid supports all processors, as Frozen Bubble requires the NDK to build the module player source.
I would like to know how you are accomplishing this in your make process so I can do the same, as the version on Google play is only for armeabi.
Hi,
I would like to know how you are accomplishing this in your make process so
I can do the same, as the version on Google play is only for armeabi.
you can view our build metadata at
, but it doesnt show anything strange. Maybe you need to look up what buildjni
actually does on the buildserver.
I figured it out, stackoverflow to the rescue.
I added APP_ABI := all to jni\Application.mk (previously only had jni\Android.mk) and now it builds for all targets.
Hi,
glad you figured it out, however, we don’t modify anything from
upstream.
I figured it out, stackoverflow to the rescue.
I added APP_ABI := all to jni\Application.mk (previously only had jni\Android.mk) and now it builds for all targets.
We just have the Android.mk from upstream, more precisesly
frozenbubbleandroid/jni/Android.mk at master · videogameboy76/frozenbubbleandroid · GitHub .
For building we just run ndk-build
, as specified in:
os.path.join(root_dir, 'build', 'outputs', 'apk', 'release'),
# gradle plugin < 3.0 and >= 0.11
os.path.join(root_dir, 'build', 'outputs', 'apk'),
# really old path
os.path.join(root_dir, 'build', 'apk'),
]
# If we build with gradle flavours with gradle plugin >= 3.0 the APK will be in
# a subdirectory corresponding to the flavour command used, but with different
# capitalization.
if flavours_cmd:
apk_dirs.append(os.path.join(root_dir, 'build', 'outputs', 'apk', transform_first_char(flavours_cmd, str.lower), 'release'))
for apks_dir in apk_dirs:
for apkglob in ['*-release-unsigned.apk', '*-unsigned.apk', '*.apk']:
apks = glob.glob(os.path.join(apks_dir, apkglob))
if len(apks) > 1:
raise BuildException('More than one resulting apks found in %s' % apks_dir,
'\n'.join(apks))
if len(apks) == 1:
src = apks[0]
break
While I have your attention, I removed the advertisement completely some time back, so you no longer have to edit the code to set adsOn to default to false - the variable no longer exists.