App apk crashing

  1. My sdk version is 36
  2. Platforms(Android) - version 7

The app’s apk shows splash screen at launch and after that a black display is popped up, after that the app goes to background putting recent app(regular ones) to display. How to solve this ?

my app.json contains following:

{
“expo”: {
“name”: “File”,
“slug”: “File”,
“privacy”: “public”,
“sdkVersion”: “36.0.0”,
“android”:{
“package”:“com.file.myapp”,
“versionCode”:1,
“permissions”:,
“icon”:“./assets/icon.png”
},
“platforms”: [
“android”,
],
“version”: “1.0.0”,
“orientation”: “portrait”,
“icon”: “./assets/icon.png”,
“splash”: {
“image”: “./assets/splash.png”,
“resizeMode”: “contain”,
“backgroundColor”: “#ffffff
},
“updates”: {
“fallbackToCacheTimeout”: 0
},
“assetBundlePatterns”: [
“**/*”
],

}
}

Hi

There are several reason that the app might be crashing. Is this when running within the Expo app? Or is it a standalone app?

If this is running within the Expo app, do you get any errors in the console?

You might need to plug the device into your computer and run adb logcat -d -f logcat.txt after enabling USB debugging on your device.

https://docs.expo.io/versions/latest/workflow/logging/#view-logs-from-android-device-or-emulator

Look for errors related to the crash.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.