fix: Support patching on ARMv7 by updating AAPT2 (#2084)

This commit is contained in:
oSumAtrIX
2024-07-28 22:43:10 +02:00
committed by GitHub
parent 52a89b1638
commit cdc69ea8ff
4 changed files with 2 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ import android.content.Context
import app.revanced.manager.patcher.LibraryResolver
import android.os.Build.SUPPORTED_ABIS as DEVICE_ABIS
object Aapt : LibraryResolver() {
private val WORKING_ABIS = setOf("arm64-v8a", "x86", "x86_64")
private val WORKING_ABIS = setOf("arm64-v8a", "x86", "x86_64", "armeabi-v7a")
fun supportsDevice() = (DEVICE_ABIS intersect WORKING_ABIS).isNotEmpty()

Binary file not shown.

View File

@@ -11,7 +11,7 @@
<string name="select_app">Select an app</string>
<string name="select_patches">Select patches</string>
<string name="unsupported_architecture_warning">Patching on ARMv7 devices is not yet supported and will most likely fail.</string>
<string name="unsupported_architecture_warning">Patching on this device architecture is unsupported and will most likely fail.</string>
<string name="import_">Import</string>
<string name="import_bundle">Import patch bundle</string>