Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullquake committed Jul 4, 2023
1 parent 1389533 commit d77a951
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions 7.0.1_0.4.0/prj/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,17 @@ android {
release {
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
}
debug {
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
}


}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
Expand Down Expand Up @@ -184,3 +194,4 @@ task copyDownloadableDepsToLibs(type: Copy) {
apply from: file("../../node_modules/@mendix/native/android/mendix.gradle"); applyMendixGradle(project)
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ dependencies {
}
```

Edit `android/app/build.gradle` and add abiFilters as follows [reference](https://developer.android.com/ndk/guides/abis)
For smaller APK sizes, limit the buildTypes by editing `android/app/build.gradle` and add abiFilters as follows [reference](https://developer.android.com/ndk/guides/abis)

```
...
Expand Down

0 comments on commit d77a951

Please sign in to comment.