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 at app\build.gradle #225

Open
ha271923 opened this issue Oct 24, 2019 · 6 comments
Open

build failed at app\build.gradle #225

ha271923 opened this issue Oct 24, 2019 · 6 comments
Labels

Comments

@ha271923
Copy link

ha271923 commented Oct 24, 2019

Android Studio compiler is always failed at https://github.com/ACINQ/eclair-mobile/blob/testnet/app/build.gradle#L123.

Is there any problem?

===============================================================
`
Executing tasks: [:app:generateDebugSources] in project /GitHub/Eclair/eclair-mobile-0.4.9-TESTNET

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':app:compileDebugRenderscript'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
Could not find fr.acinq.eclair:eclair-core_2.11:0.3.3-android.
Required by:
project :app

  • 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 2s
`

@dpad85
Copy link
Member

dpad85 commented Oct 24, 2019

Hello,

Build fails because it needs the eclair-core library (this is a required dependency for this project, it contains most of the Lightning related logic).

To get this version of eclair-core you must build it yoursef. To do that:

@ha271923
Copy link
Author

Why not release AAR to maven server or Github directly?
Since I still build failed by BUILD.md

@dpad85
Copy link
Member

dpad85 commented Oct 24, 2019

Do you still have the same error?

You're right we could release the archive on maven, we already do that for our bitcoin-lib library.

@ha271923
Copy link
Author

When will it available on maven?

@ha271923
Copy link
Author

Still not found 'fr.acinq.eclair:eclair-core_2.11:0.3.3-android' at https://mvnrepository.com/artifact/fr.acinq?sort=newest

@ha271923
Copy link
Author

Add these dependencies and still build failed at
image
LOG eclair_build_failed.txt

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

No branches or pull requests

2 participants