Skip to content

Commit

Permalink
android build: exclude kivy classes from qml apk
Browse files Browse the repository at this point in the history
taken from #8545
22bfd4e

note: com.android.support is used in our p4a fork's PythonActivity.java
(com.android.support was previously pulled in by me.dm7.barcodescanner)
https://github.com/accumulator/python-for-android/blob/052b9f7945bae557347fa4a4b418040d9da9eaff/pythonforandroid/bootstraps/qt5/build/src/main/java/org/kivy/android/PythonActivity.java#L43
  • Loading branch information
SomberNight committed Aug 30, 2023
1 parent 111a753 commit c3f1661
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions contrib/android/buildozer_qml.spec
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,9 @@ android.add_jars = .buildozer/android/platform/*/build/libs_collections/Electrum

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
android.add_src = electrum/gui/kivy/data/java-classes/

android.gradle_dependencies = me.dm7.barcodescanner:zxing:1.9.8

android.add_activities = org.electrum.qr.SimpleScannerActivity
# android.add_src = ...
# android.add_activities = ...
android.gradle_dependencies = com.android.support:support-compat:28.0.0

# (str) python-for-android branch to use, if not master, useful to try
# not yet merged features.
Expand Down

0 comments on commit c3f1661

Please sign in to comment.