question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Cannot build Android Release with react-native-flipper 0.48.0+

See original GitHub issue

šŸ› Bug Report

react-native-flipper 0.48.0 breaks building Android in Release, presumably due to https://github.com/facebook/flipper/commit/03b231703ba1e609d8b5d31d71d07c57be1f0b29

Version 0.47.0 did not have this problem, although it had the problem in #1274, which the above change was trying to address.

image

To Reproduce

Very simple.

  1. npx react-native init Test
  2. cd Test
  3. yarn add react-native-flipper
  4. Open project in Android Studio
  5. Set Build Variant to ā€œreleaseā€
  6. Try to build project

The build will fail, but if you change the version of react-native-flipper from 0.48.0 to 0.47.0, then it will succeed.

Environment

Since this is a build failure with a default-initialized React Native project, the only variable being react-native-flipper itself, I canā€™t think of any relevant environment info to add, but feel free to ask if you think thereā€™s something Iā€™ve missed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:18 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
mweststratecommented, Aug 25, 2020

The fix has been released as react-native-flipper@0.54.0.

2reactions
b3codedcommented, Jul 21, 2020

@micnguyen if youā€™re using react-native-flipper dependency, install the 0.47.0 version

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native - Manual Android Setup - Flipper
This should only be necessary if you have an existing app that cannot be upgraded with the React Native Upgrade tool.
Read more >
React Native Android build failure with different errors without ...
The build failures for Android was due to the publish of the React Native version 0.71.0-rc0 . Note: Error may be different but...
Read more >
14 posts tagged with "release" - React Native
Flipper is a developer tool for debugging mobile apps. It's popular in the Android and iOS communities, and in this release we've enabledĀ ......
Read more >
react-native-flipper - npm
Flipper bindings for React Native. Latest version: 0.176.1, last published: 13 days ago. Start using react-native-flipper in your project byĀ ...
Read more >
Flipper Debugging for React Native - Povio
How To Use It? Ā· Android - start your project by running npm run android and then Flipper will show up in your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found