Skip to content

Commit bb381a2

Browse files
committed
android build: update p4a/buildozer to latest upstream
Rebased our branches on latest p4a develop HEAD and buildozer master HEAD. Re `android.allow_backup = False` in buildozer.spec, now that this setting has been exposed to buildozer.spec (see kivy/buildozer#1206), we could finally drop a commit from our branch that did the same: SomberNight/python-for-android@7a7d415 Re commenting out `android.arch` in buildozer.spec, we are setting this via the ENV VAR in make_apk.
1 parent 8ce9424 commit bb381a2

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

contrib/android/Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ RUN cd /opt \
160160
&& cd buildozer \
161161
&& git remote add sombernight https://github.com/SomberNight/buildozer \
162162
&& git fetch --all \
163-
# commit: from branch sombernight/202104_android_adaptiveicon
164-
&& git checkout "0ce292fabec299c78c8ffeaf42072ab879f29d8a^{commit}" \
163+
# commit: from branch sombernight/electrum_20210421
164+
&& git checkout "c17ac3618334c9936253e8f5b88dce43dc4da75b^{commit}" \
165165
&& python3 -m pip install --user -e .
166166

167167
# install python-for-android
@@ -170,8 +170,8 @@ RUN cd /opt \
170170
&& cd python-for-android \
171171
&& git remote add sombernight https://github.com/SomberNight/python-for-android \
172172
&& git fetch --all \
173-
# commit: from branch sombernight/electrum_20200703
174-
&& git checkout "a4059599211a87af895d9ee2223f052a406357ca^{commit}" \
173+
# commit: from branch sombernight/electrum_20210421
174+
&& git checkout "5356bc7838b03c8c174c91fe01539c91d1b40b9f^{commit}" \
175175
&& python3 -m pip install --user -e .
176176

177177
# build env vars

contrib/android/buildozer.spec

+3-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ android.manifest.launch_mode = singleTask
140140

141141
# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
142142
# note: can be overwritten by APP_ANDROID_ARCH env var
143-
android.arch = armeabi-v7a
143+
#android.arch = armeabi-v7a
144144

145145
# (list) Android application meta-data to set (key=value format)
146146
#android.meta_data =
@@ -151,6 +151,8 @@ android.arch = armeabi-v7a
151151

152152
android.whitelist = lib-dynload/_csv.so
153153

154+
# (bool) enables Android auto backup feature (Android API >=23)
155+
android.allow_backup = False
154156

155157
#
156158
# Python for android (p4a) specific

0 commit comments

Comments
 (0)