Skip to content

Commit

Permalink
Fix abi splits on example app
Browse files Browse the repository at this point in the history
  • Loading branch information
lelandrichardson committed Mar 21, 2017
1 parent bb5acfd commit 4247d9b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ import com.android.build.OutputFile

apply from: "react.gradle"

def enableSeparateBuildPerCPUArchitecture = false

/**
* Run Proguard to shrink the Java bytecode in release builds.
*/
Expand All @@ -76,6 +78,17 @@ android {
targetSdkVersion 23
versionCode 1
versionName "1.0"
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
splits {
abi {
reset()
enable enableSeparateBuildPerCPUArchitecture
universalApk false // If true, also generate a universal APK
include "armeabi-v7a", "x86"
}
}
buildTypes {
release {
Expand Down

0 comments on commit 4247d9b

Please sign in to comment.