Rebuild from scratch: Legacy Architecture for Android 7.1.2 (Java 8, AGP 7, WireGuard 2021)
This commit is contained in:
@@ -10,24 +10,34 @@ android {
|
||||
applicationId "com.cbcren.vpn"
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 33
|
||||
versionCode 4
|
||||
versionName "1.3-potato"
|
||||
versionCode 1
|
||||
versionName "1.0-legacy"
|
||||
|
||||
multiDexEnabled true
|
||||
|
||||
// Forzar 32 bits (ARMv7)
|
||||
ndk {
|
||||
// Forzar solo 32 bits (ARMv7). Muchas cajas chinas crashean si intentan cargar 64 bits o x86.
|
||||
abiFilters 'armeabi-v7a'
|
||||
abiFilters 'armeabi-v7a'
|
||||
}
|
||||
}
|
||||
|
||||
// Soporte para Java 8 (Desugaring)
|
||||
compileOptions {
|
||||
coreLibraryDesugaringEnabled true
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||||
implementation 'com.google.android.material:material:1.2.1'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
// Desugaring (Magia para que código nuevo corra en Android viejo)
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
|
||||
|
||||
// UI Básica (Versiones estables)
|
||||
implementation 'androidx.appcompat:appcompat:1.4.0'
|
||||
implementation 'com.google.android.material:material:1.5.0'
|
||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||||
|
||||
// WireGuard (Versión 2021, probada en Android 5+)
|
||||
implementation 'com.wireguard.android:tunnel:1.0.20211029'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user