Commit 27f353d 1 parent 6fc5c77 commit 27f353d Copy full SHA for 27f353d
File tree 4 files changed +21
-6
lines changed
4 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,7 @@ bitcoin_qt_apk: FORCE
394
394
cp $(dir $(lastword $(CC)))../sysroot/usr/lib/$(host_alias)/libc++_shared.so $(APK_LIB_DIR)
395
395
tar xf $(QT_BASE_PATH) -C qt/android/src/ $(QT_BASE_TLD)src/android/jar/src --strip-components=5
396
396
tar xf $(QT_BASE_PATH) -C qt/android/src/ $(QT_BASE_TLD)src/android/java/src --strip-components=5
397
- tar xf $(QT_BASE_PATH) -C qt/android/res/ $(QT_BASE_TLD)src/android/java/res --strip-components=5
398
- cp qt/bitcoin-qt $(APK_LIB_DIR)/libbitcoin-qt.so
397
+ cp qt/bitcoin-qt $(APK_LIB_DIR)/libbitcoin-qt_$(ANDROID_ARCH).so
399
398
cd qt/android && gradle wrapper --gradle-version=6.6.1
400
399
cd qt/android && ./gradlew build
401
400
Original file line number Diff line number Diff line change 1
1
/.gradle
2
2
/build
3
- /gradle / wrapper
3
+ /gradle
4
4
/gradlew *
5
5
/libs
6
- /res /layout
7
- /res /values *
8
6
/src /org /kde
9
7
/src /org /qtproject
Original file line number Diff line number Diff line change 32
32
<meta-data android : name =" android.app.background_running" android : value =" true" />
33
33
<meta-data android : name =" android.app.auto_screen_scale_factor" android : value =" true" />
34
34
<meta-data android : name =" android.app.extract_android_style" android : value =" default" />
35
- </activity >
35
+ <meta-data android : name =" android.app.load_local_libs_resource_id" android : resource =" @array/load_local_libs" />
36
+ </activity >
36
37
37
38
</application >
38
39
</manifest >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <resources >
3
+ <array name =" load_local_libs" >
4
+ <item >
5
+ arm64-v8a;libbitcoin-qt_arm64-v8a.so
6
+ </item >
7
+ <item >
8
+ armeabi-v7a;libbitcoin-qt_armeabi-v7a.so
9
+ </item >
10
+ <item >
11
+ x86_64;libbitcoin-qt_x86_64.so
12
+ </item >
13
+ <item >
14
+ x86;libbitcoin-qt_x86.so
15
+ </item >
16
+ </array >
17
+ </resources >
You can’t perform that action at this time.
0 commit comments