android: enable 64bit builds

This commit is contained in:
Saúl Ibarra Corretgé 2019-03-15 15:10:29 +01:00
parent f56cd37b9f
commit 31f97c666b
4 changed files with 4 additions and 27 deletions

View File

@ -33,19 +33,6 @@ dependencies {
}
```
Also, enable 32bit mode for react-native, since the react-native version we currently depend on only supports 32bit apps. (If you have a 64bit device, it will not run unless this setting it set).
```gradle
android {
...
defaultConfig {
ndk {
abiFilters "armeabi-v7a", "x86"
}
}
...
```
### Build and use your own SDK artifacts/binaries
<details>

View File

@ -22,17 +22,7 @@ android {
targetSdkVersion rootProject.ext.targetSdkVersion
ndk {
abiFilters 'armeabi-v7a', 'x86'
}
packagingOptions {
// The project react-native does not provide 64-bit binaries at the
// time of this writing. Unfortunately, packaging any 64-bit
// binaries into the .apk will crash the app at runtime on 64-bit
// platforms.
exclude '/lib/mips64/**'
exclude '/lib/arm64-v8a/**'
exclude '/lib/x86_64/**'
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
}

4
package-lock.json generated
View File

@ -11952,8 +11952,8 @@
}
},
"react-native-webrtc": {
"version": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
"from": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
"version": "github:jitsi/react-native-webrtc#032ee5c90e2c5ff27ab2f952217104772fcbd155",
"from": "github:jitsi/react-native-webrtc#032ee5c90e2c5ff27ab2f952217104772fcbd155",
"requires": {
"base64-js": "^1.1.2",
"event-target-shim": "^1.0.5",

View File

@ -75,7 +75,7 @@
"react-native-sound": "github:jitsi/react-native-sound#e4260ed7f641eeb0377d76eac7987aba72e1cf08",
"react-native-swipeout": "2.3.6",
"react-native-vector-icons": "6.0.2",
"react-native-webrtc": "github:jitsi/react-native-webrtc#4ded2c299651472ff4569e412161e93826aa5bf3",
"react-native-webrtc": "github:jitsi/react-native-webrtc#032ee5c90e2c5ff27ab2f952217104772fcbd155",
"react-redux": "5.0.7",
"react-transition-group": "2.4.0",
"redux": "4.0.0",