Skip to content

Commit

Permalink
include splits for different arch (android)
Browse files Browse the repository at this point in the history
  • Loading branch information
HemantKArya committed Aug 16, 2024
1 parent d6c99ee commit 4697c93
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ android {
versionName flutterVersionName
}

// include splits for different architectures and universal APK. (arm64-v8a, armeabi-v7a, x86, x86_64)
splits {
abi {
enable true
reset()
include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
universalApk true
}
}

// Removing DEPENDENCY_INFO_BLOCK from the build.gradle file (For FOSS compliance)
dependenciesInfo {
// Disables dependency metadata when building APKs.
Expand Down

0 comments on commit 4697c93

Please sign in to comment.