Hello there.
I have problem in installing an expo-built apk in Android Oreo. I tried the solutions here https://forums.expo.dev/t/expo-build-android-unable-to-install-the-apk/14635 but it did not solve my problem:
Here’s my package.json:
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject"
},
"dependencies": {
"expo": "^32.0.0",
"react": "16.5.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz"
},
"devDependencies": {
"babel-preset-expo": "^5.0.0"
},
"private": true
}
…and here’s my app.json
{
"expo": {
"name": "<APP_NAME>",
"slug": "<APP_NAME>",
"privacy": "public",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"package": "com.example.<APP_NAME>",
"versionCode": 1
}
}
}
as you can see here, I am using expo sdk 32.0.
I hope you can provide me the solution as soon as possible. Thanks.