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

Error in the Android module while ci/cd building on linux #18

Open
MosCD3 opened this issue Jul 6, 2022 · 1 comment
Open

Error in the Android module while ci/cd building on linux #18

MosCD3 opened this issue Jul 6, 2022 · 1 comment

Comments

@MosCD3
Copy link

MosCD3 commented Jul 6, 2022

I get the following error while building the android project on linux system

`~/aries-mobile-agent-react-native/aries-mobile-agent-react-native/node_modules/react-native-argon2/android/src/main/java/com/poowf/argon2/RNArgon2Package.java:13: error: com.poowf.argon2.RNArgon2Package is not abstract and does not override abstract method createJSModules() in com.facebook.react.ReactPackage
public class RNArgon2Package implements ReactPackage {
^
1 error

Task :react-native-argon2:compileReleaseJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
201 actionable tasks: 201 executed
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-argon2:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org/
    BUILD FAILED in 4m 47s
    Error: Process completed with exit code 1.`
@zanechua
Copy link
Member

zanechua commented Jul 6, 2022

Thanks for opening the ticket

@MosCD3 can your print out your react-native environment?

Which image are you using to build this? and which CI/CD tool?

I use reactnativecommunity/react-native-android:5.4 to build in CI and don't seem to have any issues.

If you can show a repo that produces this issue, I can take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants