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

Build failed on android #90

Closed
bestoferanda opened this issue Oct 1, 2024 · 8 comments
Closed

Build failed on android #90

bestoferanda opened this issue Oct 1, 2024 · 8 comments
Labels
Impact: Bug Something isn't working Stale

Comments

@bestoferanda
Copy link

bestoferanda commented Oct 1, 2024

Describe the bug
building failed on android

`Execution failed for task ':d11_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 14s
error Failed to install the app. Command failed with exit code 1: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/oldarch/java/com/FastImageViewManager.java:36: error: duplicate class: com.dylanvann.fastimage.FastImageViewManager
class FastImageViewManager extends SimpleViewManager implements FastImageProgressListener {
^
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:29: error: cannot find symbol
import com.facebook.react.viewmanagers.FastImageViewManagerDelegate; ^ symbol: class FastImageViewManagerDelegate location: package com.facebook.react.viewmanagers
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:30: error: cannot find symbol
import com.facebook.react.viewmanagers.FastImageViewManagerInterface; ^ symbol: class FastImageViewManagerInterface location: package com.facebook.react.viewmanagers
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:39: error: cannot find symbol
class FastImageViewManager extends SimpleViewManager implements FastImageProgressListener, FastImageViewManagerInterface { ^ symbol: class FastImageViewManagerInterface
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:58: error: cannot find symbol mDelegate = new FastImageViewManagerDelegate<>(this); ^ symbol: class FastImageViewManagerDelegate location: class FastImageViewManager
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:75: error: method does not override or implement a method from a supertype @OverRide ^
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:80: error: method does not override or implement a method from a supertype @OverRide ^
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:87: error: method does not override or implement a method from a supertype @OverRide ^
/Users/erandamahaliyanage/Documents/GitHub/reTraceMobile/node_modules/@d11/react-native-fast-image/android/src/newarch/java/com/FastImageViewManager.java:96: error: method does not override or implement a method from a supertype @OverRide ^
9 errors FAILURE: Build failed with an exception. * What went wrong:
Execution failed for task ':d11_react-native-fast-image:compileDebugJavaWithJavac'.`

To Reproduce
Steps to reproduce the behavior if possible, or a link to a reproduction repo:
1.install the library
2. run react native project

Expected behavior
should work all ok

Screenshots
If applicable, add screenshots to help explain your problem.

Dependency versions

  • React Native version:0.74.5
  • React version:18.2.0
  • React Native Fast Image version: 8.7.0
@bestoferanda bestoferanda added the Impact: Bug Something isn't working label Oct 1, 2024
@deepanshushuklad11
Copy link
Contributor

@bestoferanda can you help me with a reproducer , i recently checked , library was working well

@bestoferanda
Copy link
Author

@bestoferanda can you help me with a reproducer , i recently checked , library was working well

This is the same issue mentioned here
DylanVann/react-native-fast-image#1048 (comment)

@deepanshushuklad11
Copy link
Contributor

@bestoferanda This issue has been fixed and verified by others . Can you clean your project and try again

@bestoferanda
Copy link
Author

@bestoferanda This issue has been fixed and verified by others . Can you clean your project and try again

already tried with cache clean but not working
version 8.7.0 has the issue and version 8.6.12 working fine

@deepanshushuklad11
Copy link
Contributor

Ok , Thats interesting , I have added support for fabric renderer in 8.7.0 .
Did you try on a fresh sample app ?

@deepanshushuklad11
Copy link
Contributor

@bestoferanda I just tested on 8.7.0 new arch and old arch , both are working as expected.

Copy link

This issue has been marked as stale due to inactivity because it has been open for more than 14 days with no activity. It will be closed if no further activity occurs within 7 days

@github-actions github-actions bot added the Stale label Oct 22, 2024
Copy link

This issue has been closed due to inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Impact: Bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

2 participants