Skip to content

Commit

Permalink
Better support for armhf devices running Android 8.0+ (#1064)
Browse files Browse the repository at this point in the history
Fix crashes on many older devices upgrading to a newer version of Android.
  • Loading branch information
corbinlc authored Oct 10, 2019
1 parent 25e8651 commit e255efc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
minSdkVersion 21
targetSdkVersion 29
versionCode vcode
versionName "2.6.3"
versionName "2.6.4"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
Expand Down Expand Up @@ -198,7 +198,7 @@ ext.architectures = ["armeabi-v7a", "arm64-v8a", "x86", "x86_64"]
ext.libDir = "$project.projectDir/src/main/jniLibs"

task downloadAssets(type: Download) {
def assetVersion = "v1.1.0"
def assetVersion = "v1.1.7"
def baseUrl = "https://github.com/CypherpunkArmory/UserLAnd-Assets-Support/releases/download/$assetVersion"
for (arch in architectures) {
src "$baseUrl/$arch-assets.zip"
Expand All @@ -209,9 +209,7 @@ task downloadAssets(type: Download) {
task fetchAssets(dependsOn: downloadAssets) {
doLast {
for (arch in architectures) {
delete {
"$buildDir/$arch"
}
delete "$buildDir/$arch"
copy {
from zipTree("$buildDir/$arch-assets.zip")
into "$buildDir/$arch"
Expand Down

0 comments on commit e255efc

Please sign in to comment.