fix: ndk translation prop
This commit is contained in:
+3
-11
@@ -15,9 +15,9 @@ class Ndk(General):
|
||||
"ro.product.cpu.abilist32": "x86,armeabi-v7a,armeabi",
|
||||
"ro.product.cpu.abilist64": "x86_64,arm64-v8a",
|
||||
"ro.dalvik.vm.native.bridge": "libndk_translation.so",
|
||||
"ro.enable.native.bridge.exec": None,
|
||||
"ro.vendor.enable.native.bridge.exec": None,
|
||||
"ro.vendor.enable.native.bridge.exec64": None,
|
||||
"ro.enable.native.bridge.exec": "1",
|
||||
"ro.vendor.enable.native.bridge.exec": "1",
|
||||
"ro.vendor.enable.native.bridge.exec64": "1",
|
||||
"ro.ndk_translation.version": "0.2.3",
|
||||
"ro.dalvik.vm.isa.arm": "x86",
|
||||
"ro.dalvik.vm.isa.arm64": "x86_64"
|
||||
@@ -36,14 +36,6 @@ class Ndk(General):
|
||||
"lib/libndk*",
|
||||
"lib64/libndk*"
|
||||
]
|
||||
def __init__(self, android_version="11") -> None:
|
||||
super().__init__()
|
||||
if android_version=="11":
|
||||
self.apply_props["ro.enable.native.bridge.exec"] = "1"
|
||||
elif android_version=="13":
|
||||
self.apply_props["ro.vendor.enable.native.bridge.exec"] = "1"
|
||||
self.apply_props["ro.vendor.enable.native.bridge.exec64"] = "1"
|
||||
|
||||
|
||||
def copy(self):
|
||||
Logger.info("Copying libndk library files ...")
|
||||
|
||||
Reference in New Issue
Block a user