Open
Description
Describe the bug
I created a brand new empty RN project with version 0.75.2 and now I'm getting this error:
> Task :react-native-fast-image:compileDebugJavaWithJavac FAILED
> Task :app:processDebugManifestForPackage
43 actionable tasks: 24 executed, 19 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
Note: [2] Wrote GeneratedAppGlideModule with: [com.bumptech.glide.integration.okhttp3.OkHttpLibraryGlideModule, com.dylanvann.fastimage.FastImageOkHttpProgressGlideModule]
C:\Users\xxx\AwesomeProject\node_modules\react-native-fast-image\android\src\main\java\com\dylanvann\fastimage\FastImageSource.java:72: error: isResource() in FastImageSource cannot override isResource() in ImageSource
public boolean isResource() {
^
overridden method is final
C:\Users\xxx\AwesomeProject\node_modules\react-native-fast-image\android\src\main\java\com\dylanvann\fastimage\FastImageSource.java:101: error: getUri() in FastImageSource cannot override getUri() in ImageSource
public Uri getUri() {
^
overridden method is final
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-fast-image:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --info option to get more log output.
> Run with --scan to get full insights.
BUILD FAILED in 7s
To Reproduce
Steps to reproduce the behavior if possible, or a link to a reproduction repo:
- Create a new react native project with no framework
- run
npm install react-native-fast-image
- See error
Expected behavior
I expect the app ro build with no issues,
Dependency versions
- React Native version: 0.75.2
- React version: 18.3.1
- React Native Fast Image version: ^8.6.3