blank screen after publish in android standalone app

#1

Hi everybody
I have an issue with detached expo project.
I have created an expo project and detach it.
It works well on both ios and android before publishing, that is, works well on local.
After publish, ios works well, but standalone android apk file shows a blank screen and doesn’t show any other screens.
Bellow is my app.json file

t{
  "expo": {
    "name": "neighborhood",
    "description": "This project is really great.",
    "slug": "neighborhood",
    "privacy": "public",
    "sdkVersion": "30.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./src/assets/images/icon.png",
    "notification": {
      "icon": "./src/assets/images/notification_icon.png",
      "color": "#000000"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "........",
      "publishBundlePath": "ios/neighborhood/Supporting/shell-app.bundle",
      "publishManifestPath": "ios/neighborhood/Supporting/shell-app-manifest.json"
    },
    "android": {
      "package": "............",
      "publishBundlePath": "android/app/src/main/assets/shell-app.bundle",
      "publishManifestPath": "android/app/src/main/assets/shell-app-manifest.json"
    },
    "isDetached": true,
    "detach": {
      "iosExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.8.4-sdk30.0.0-3de13133-1adc-4ba1-8569-a84011e570b4.tar.gz",
      "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v2.8.1-sdk30.0.0-271c32ab-0715-4dfb-8270-ecead3679bb4.tar.gz"
    },
    "scheme": "expe0dee74a172e495fbe7bdc05832274ac"
  }
}

And bellow is my package.json file

{
  "name": "empty-project-template",
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "eject": "expo eject"
  },
  "dependencies": {
    "emoticons-converter": "^1.0.3",
    "expo": "^30.0.1",
    "expokit": "^1.7.1",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
    "react-native-autolink": "^1.4.0",
    "react-native-image-resizer": "^1.0.0",
    "react-native-indicators": "^0.13.0",
    "react-native-modal": "^6.5.0",
    "react-native-onesignal": "^3.2.8",
    "react-native-orientation": "^3.1.3",
    "react-native-phone-call": "^1.0.9",
    "react-navigation": "^2.18.0",
    "runes": "^0.4.3"
  }
}

As before I said ios standalone app works well, but the android standalone app shows blank screen.

Please advance me if anyone knows the solving of this issue.
Thanks.

#2

Hey @waterflower,

Can you try using adb logcat with Android Studio to check the android device logs to see what may be happening with the Android .apk file?

Cheers,
Adam