App crashed runs on android release APK 0.70.6
See original GitHub issueDescription
the app is running locally in development perfectly; once you release android and run on simulation app crashed
Version
0.70.6
Output of npx react-native info
info Fetching system and libraries information… System: OS: macOS 12.6 CPU: (12) x64 Intel® Core™ i9-8950HK CPU @ 2.90GHz Memory: 30.09 MB / 32.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm Watchman: 2022.12.05.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /Users/nilanga/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1 Android SDK: API Levels: 28, 31, 33 Build Tools: 28.0.3, 29.0.3, 30.0.3, 31.0.0, 32.0.0 System Images: android-31 | Google APIs Intel x86 Atom_64, android-33 | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.1/14B47b - /usr/bin/xcodebuild Languages: Java: javac 14 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: Not Found react-native: Not Found react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
step 1: ./gradlew bundleRelease
step 2: npx react-native run-android --variant=release
step 3: app open and crashed
Snack, code example, screenshot, or link to a repository
12-08 15:37:20.026 606 3321 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.gdsmobile/.MainActivity bnds=[781,577][1023,891]} from uid 10137
12-08 15:37:20.039 606 3321 V SplashScreenExceptionList: SplashScreen checking exception for package com.gdsmobile (target sdk:33) -> false
12-08 15:37:20.128 606 2289 D CoreBackPreview: Window{efa9250 u0 Splash Screen com.gdsmobile}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@b46394e, mPriority=0}
12-08 15:37:20.212 606 641 I ActivityManager: Start proc 4640:com.gdsmobile/u0a163 for next-top-activity {com.gdsmobile/com.gdsmobile.MainActivity}
12-08 15:37:20.244 4640 4640 W com.gdsmobile: Unexpected CPU variant for x86: x86_64.
12-08 15:37:20.244 4640 4640 W com.gdsmobile: Known variants: atom, sandybridge, silvermont, kabylake, default
12-08 15:37:20.320 4640 4640 D nativeloader: Configuring classloader-namespace for other apk /system/framework/org.apache.http.legacy.jar. target_sdk_version=33, uses_libraries=ALL, library_path=/data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64:/data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/base.apk!/lib/x86_64, permitted_path=/data:/mnt/expand:/data/user/0/com.gdsmobile
12-08 15:37:20.324 4640 4640 D nativeloader: Configuring classloader-namespace for other apk /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64:/data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/base.apk!/lib/x86_64, permitted_path=/data:/mnt/expand:/data/user/0/com.gdsmobile
12-08 15:37:20.335 4640 4640 V GraphicsEnvironment: ANGLE Developer option for 'com.gdsmobile' set to: 'default'
12-08 15:37:20.336 4640 4640 V GraphicsEnvironment: ANGLE GameManagerService for com.gdsmobile: false
12-08 15:37:20.357 4640 4640 V fb-UnpackingSoSource: locked dso store /data/user/0/com.gdsmobile/lib-main
12-08 15:37:20.359 4640 4640 I fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.gdsmobile/lib-main
12-08 15:37:20.360 4640 4640 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.gdsmobile/lib-main
12-08 15:37:20.363 4640 4640 V SoLoader: libjscexecutor.so not found on /data/data/com.gdsmobile/lib-main
12-08 15:37:20.363 4640 4640 V SoLoader: libjscexecutor.so not found on /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.366 4640 4640 E SoLoader: SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.gdsmobile/lib-main flags = 1]
12-08 15:37:20.366 4640 4640 E SoLoader: SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64 flags = 0]
12-08 15:37:20.366 4640 4640 E SoLoader: Native lib dir: /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.366 4640 4640 V SoLoader: libhermes.so not found on /data/data/com.gdsmobile/lib-main
12-08 15:37:20.367 4640 4640 D SoLoader: libhermes.so found on /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.375 4640 4640 V SoLoader: libhermes-executor-debug.so not found on /data/data/com.gdsmobile/lib-main
12-08 15:37:20.375 4640 4640 V SoLoader: libhermes-executor-debug.so not found on /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.376 4640 4640 E SoLoader: SoSource 0: com.facebook.soloader.ApkSoSource[root = /data/data/com.gdsmobile/lib-main flags = 1]
12-08 15:37:20.376 4640 4640 E SoLoader: SoSource 1: com.facebook.soloader.DirectorySoSource[root = /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64 flags = 0]
12-08 15:37:20.376 4640 4640 E SoLoader: Native lib dir: /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.377 4640 4640 V SoLoader: libhermes-executor-release.so not found on /data/data/com.gdsmobile/lib-main
12-08 15:37:20.377 4640 4640 D SoLoader: libhermes-executor-release.so found on /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.431 4640 4660 V SoLoader: libfbjni.so not found on /data/data/com.gdsmobile/lib-main
12-08 15:37:20.431 4640 4660 D SoLoader: libfbjni.so found on /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.444 4640 4660 V SoLoader: libreactnativejni.so not found on /data/data/com.gdsmobile/lib-main
12-08 15:37:20.444 4640 4660 D SoLoader: libreactnativejni.so found on /data/app/~~22aNVhUXQb2BZ1XeRT8FBg==/com.gdsmobile-mE6oK9CfZoZczLAR1hyGLg==/lib/x86_64
12-08 15:37:20.470 4640 4660 E AndroidRuntime: Process: com.gdsmobile, PID: 4640
12-08 15:37:20.477 606 2289 W ActivityTaskManager: Force finishing activity com.gdsmobile/.MainActivity
12-08 15:37:20.488 606 1383 D CoreBackPreview: Window{d3f2f80 u0 com.gdsmobile/com.gdsmobile.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@fb8d00a, mPriority=0}
12-08 15:37:20.520 606 620 I ActivityManager: Process com.gdsmobile (pid 4640) has died: fg TOP
12-08 15:37:20.522 606 1361 I WindowManager: WIN DEATH: Window{d3f2f80 u0 com.gdsmobile/com.gdsmobile.MainActivity}
12-08 15:37:20.522 606 1361 W InputManager-JNI: Input channel object 'd3f2f80 com.gdsmobile/com.gdsmobile.MainActivity (client)' was disposed without first being removed with the input manager!
12-08 15:37:20.545 606 3062 D CoreBackPreview: Window{efa9250 u0 Splash Screen com.gdsmobile EXITING}: Setting back callback null
12-08 15:37:20.547 606 3092 W InputManager-JNI: Input channel object 'efa9250 Splash Screen com.gdsmobile (client)' was disposed without first being removed with the input manager!
12-08 15:37:20.979 606 632 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{80d9be4 u0 com.gdsmobile/.MainActivity} t-1 f}}
Issue Analytics
- State:
- Created 9 months ago
- Comments:10 (3 by maintainers)
@cortinico I have created a new project and transferred all my code base to the new app 0.70.6. all working now. I don’t know what the issue is.
Changed to
classpath('com.android.tools.build:gradle:7.2.2')
and that is working. Good luck .