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.

Build issue on Android

See original GitHub issue

Getting:

> Task :app:transformClassesAndResourcesWithR8ForRelease FAILED
ReactNativeFirebase WARNING: NPM package 'react-native-startup-trace' depends on '@react-native-firebase/app' vnull but found v12.1.0, this might cause build issues or runtime crashes.

Any idea how solve?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
oferRoundscommented, Jun 24, 2021

Hi @Almouro what a great answer – thank you for this info!!! I actually just understood it later, after I wrote, that I actually don’t need – we do use bundle instead of apk, so it seems we’re good

Thank you again! Really appreciate your reply. Closing this issue

1reaction
cogellcommented, Jun 23, 2021

oh nice. actually digging into this more I see that vnull in

ReactNativeFirebase WARNING: NPM package ‘react-native-startup-trace’ depends on ‘@react-native-firebase/app’ vnull but found v12.1.0, this might cause build issues or runtime crashes.

is coming from https://github.com/bamlab/react-native-performance/blob/master/react-native-startup-trace/android/build.gradle#L92 and it looks like that is null cause the correct peerDep is not listed in the project’s package.json here https://github.com/bamlab/react-native-performance/blob/master/react-native-startup-trace/package.json#L22

Read more comments on GitHub >

github_iconTop Results From Across the Web

Known issues with Android Studio and Android Gradle Plugin
Find out about current known issues with Android Studio and the Android Gradle ... When you navigate to Build > Generate Signed Bundle...
Read more >
[FIXED] Android build failures `No matching variant of ... - GitHub
I'd like to share an update on a series of build failures React Native & Expo users have been experiencing when building Android...
Read more >
Top Android Build Issues and how to fix them | Gradle Enterprise
Is there something we can do to reuse something that's already been built?. And we got that pretty much out of the box...
Read more >
Android Studio project build issue - Stack Overflow
Delete the build folders of Project and Module manually > Restart Studio > Clean Project > Rebuild Project · Restart Android Studio and...
Read more >
Troubleshooting Android Issues | Capacitor Documentation
It is enabled by setting the minifyEnabled option in build.gradle to true . This process can sometimes lead to issues in Capacitor when...
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