Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: App crashes when running without the remote debugger on #19436

Closed
3 tasks done
thiagoferolla opened this issue May 24, 2018 · 2 comments
Closed
3 tasks done

Android: App crashes when running without the remote debugger on #19436

thiagoferolla opened this issue May 24, 2018 · 2 comments
Labels
Platform: Android Android applications. Platform: Linux Building on Linux. Resolution: Locked This issue was locked by the bot.

Comments

@thiagoferolla
Copy link

Environment

Environment:
OS: Linux 4.15
Node: 8.11.2
Yarn: 1.7.0
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

Steps to Reproduce

The code samples related to the Android configuration are in this gist: https://gist.github.com/thiagoferolla/14f617b337b4c476d05924f6d8d67319

These are the logs from react-native log-android:

05-22 23:09:58.703 7831 7921 D ReactNative: Initializing React Xplat Bridge.
05-22 23:09:58.704 7831 7921 D ReactNative: Initializing React Xplat Bridge before initializeBridge
05-22 23:09:58.718 7831 7921 D ReactNative: Initializing React Xplat Bridge after initializeBridge
05-22 23:09:58.718 7831 7921 D ReactNative: CatalystInstanceImpl.runJSBundle()
05-22 23:09:58.718 7831 7923 D ReactNative: ReactInstanceManager.setupReactContext()
05-22 23:09:58.718 7831 7923 D ReactNative: CatalystInstanceImpl.initialize()
05-22 23:09:58.719 7831 7923 D ReactNative: ReactInstanceManager.attachRootViewToInstance()
05-22 23:09:59.177 7831 7831 D ReactNative: CatalystInstanceImpl.destroy() start
05-22 23:09:59.243 7831 7831 D ReactNative: CatalystInstanceImpl.destroy() start

Expected Behavior

The app should build and load the bundle successfully

Actual Behavior

When trying to run the app react-native run-android, the build proccess ends successfully but crashes with the following error:
lpneo

Apart from that, if I turn on the remote debugger that uses Chrome or run in an iOS device, the app loads without errors.

@react-native-bot react-native-bot added Platform: Android Android applications. Platform: Linux Building on Linux. labels May 24, 2018
@chuntley
Copy link

Check for any exponential operators (**) in your code, looks like this is related to: #11371

Use Math.pow instead.

@thiagoferolla
Copy link
Author

That's was actually the problem. Switching to Math.pow solved. Thanks

@facebook facebook locked as resolved and limited conversation to collaborators May 25, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label May 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Platform: Android Android applications. Platform: Linux Building on Linux. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants