DEV Community

Pablo
Pablo

Posted on

React Native

Some Stones Catch Along the Ride

Image not Showing

cd android/app/src/main/res/ && rm -rf drawable-*/src_assets_images_*.png drawable-*/node_modules_*.png

Task :react-native-{lib}:compileDebugJavaWithJavac

> Task :react-native-firebase:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-firebase:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

This is a AndroidX issue, workaround to fix

cp -n app/android/gradle.properties app/node_modules/react-native-{lib}/android/gradle.properties

Change those two values to false and reply to broken libs

cp -n app/node_modules/react-native-{lib}/android/gradle.properties app/node_modules/react-native-{lib}/android/gradle.properties

Top comments (2)

Collapse
 
seanolad profile image
Sean

I don't understand this post. Not any info.

Collapse
 
rochapablo profile image
Pablo

hahahaha, sorry for waste your time.