facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.33k stars 952 forks source link

RN 0.65.0 app is crashing on Android physical device #2765

Open Isaacmeedinaa opened 3 years ago

Isaacmeedinaa commented 3 years ago

πŸ› Bug Report

I install my app on my Android physical device, then it crashes completely on launch. This only occurs on my physical device, not emulator.

This is a screen shot of the errors

Screen Shot 2021-09-01 at 7 11 22 PM

To Reproduce

Start react native npx react-native run-android

Install the app on Android device npx react-native run-android

Environment

Android version: 10

flipper version: 0.55.0

System: OS: macOS 11.4 CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz Memory: 85.46 MB / 8.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 14.17.3 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.20.3 - ~/Desktop/Projects/Dopshop/dopshop-mobile-app/node_modules/.bin/npm Watchman: 2021.08.23.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.2 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4 Android SDK: API Levels: 30, 31 Build Tools: 29.0.2, 31.0.0 System Images: android-30 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 2020.3 AI-203.7717.56.2031.7678000 Xcode: 12.5.1/12E507 - /usr/bin/xcodebuild Languages: Java: 1.8.0_292 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.65.1 => 0.65.1 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

mweststrate commented 3 years ago

Please note that as Flipper core team we generally don't investigate specific build issues (we simply lack the capacity for that). We do make sure our example repo keeps running which can be used as reference point, and generally do accept community investigations and fixes where needed.

invm commented 2 years ago

Trying to run the example repo produces the following: Screen Shot 2021-10-05 at 13 11 34

How to proceed? facing the same issue only on physical device.

Works fine on android 11 btw

mweststrate commented 2 years ago

Feel free to remove the relative-deps command from the prepare script in package.json as work around.

egelja commented 2 years ago

I had the same issue just now, what I had to do was go to my android/gradle.properties and set FLIPPER_VERSION=0.117.0.