Failed to file implementation 'fr.acinq.eclair:eclair-core_2.11:0.2-android-beta1'
Got this dependency from another thread but looks like that file is also outdated.
Missing this file when you try to sync with gradle fr.acinq.eclair:eclair-core_2.11:0.2-android-beta1
@dpad85 Got a fix? Thanks!
Hello,
the 0.2-android-beta1 version is outdated indeed since it was released on Apr, 4 2018. You can still build it if you need it, just checkout the v0.2-android-beta1 tag (https://github.com/ACINQ/eclair/commits/v0.2-android-beta1)
Umm still no luck, same error
What is the error? And what are you trying to do?
In any case I don't think the 0.2-android-beta1 version of eclair-core should be used anymore.
Hmm which is the latest and stable version I can checkout? Some of the version I am having trouble finding the gradle config file OR an app folder
You can checkout the 0.2-android-beta13 version (https://github.com/ACINQ/eclair/tree/v0.2-android-beta13) which was released 3 days ago.
Okay, I am certainly doing something wrong.
I check out the android branch and run that in android studio, the project is even missing and app folder.Android studio detects no framework
Is there a setup I need to be doing?
Aim of all this? Just trying to dig into the code and see how/learn how the code interacts with the LN and the blockchain
I think you are confusing eclair-wallet with eclair. What you need to import into Android Studio is the eclair-wallet project which is an android application and mostly contains UI logic.
The eclair project is not an android project but the core library handling the Lightning logic. The android branch of the eclair project just makes the code compatible with the android SDK, nothing more. It is required to build the android app.
You can find the steps to build the wallet here: https://github.com/ACINQ/eclair-wallet#developers
Jeez sorry for the trouble! My bad for sure
I just pulled the testnet branch
and I get this:
Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
Looks like the project is missing a dependency?
On Wed, Dec 19, 2018 at 11:17 AM Dominique <[email protected]mailto:[email protected]> wrote:
I think you are confusing eclair-wallet with eclair. What you need to import into Android Studio is the eclair-wallet project which is an android application and mostly contains UI logic.
The eclair project is not an android project but the core library handling the Lightning logic. The android branch of the eclair project just makes the code compatible with the android SDK, nothing more. It is required to build the android app.
You can find the steps to build the wallet here: https://github.com/ACINQ/eclair-wallet#developers
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ACINQ/eclair-wallet/issues/135#issuecomment-448542593, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKshtnYHM2tBCN7_eCAMIfMrSQqwPXabks5u6hIrgaJpZM4ZTUhN.
Scratch the above: Okay changing the order of the jCenter() and the google() dependencies solved that
And now I am unable to resolve one of the eclair dependencies Failed to resolve: fr.acinq
Here is a screenshot if I am missing something
[Screen Shot 2018-12-19 at 11.42.10 AM.png]
Thanks for the constant help!
On Wed, Dec 19, 2018 at 11:29 AM Akash <[email protected]mailto:[email protected]> wrote: Jeez sorry for the trouble! My bad for sure
I just pulled the testnet branch
and I get this:
Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
Looks like the project is missing a dependency?
On Wed, Dec 19, 2018 at 11:17 AM Dominique <[email protected]mailto:[email protected]> wrote:
I think you are confusing eclair-wallet with eclair. What you need to import into Android Studio is the eclair-wallet project which is an android application and mostly contains UI logic.
The eclair project is not an android project but the core library handling the Lightning logic. The android branch of the eclair project just makes the code compatible with the android SDK, nothing more. It is required to build the android app.
You can find the steps to build the wallet here: https://github.com/ACINQ/eclair-wallet#developers
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/ACINQ/eclair-wallet/issues/135#issuecomment-448542593, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKshtnYHM2tBCN7_eCAMIfMrSQqwPXabks5u6hIrgaJpZM4ZTUhN.
And now I am unable to resolve one of the eclair dependencies Failed to resolve: fr.acinq
Looks like the Android Studio gradle tool cannot retrieve the eclair-core library from the maven repository.
The version used by the current testnet branch is 0.2-android-SNAPSHOT as seen in the gradle file:
https://github.com/ACINQ/eclair-wallet/blob/3325be024208a3f603e06d05970e8860f4a1ae99/app/build.gradle#L81
Have you built the eclair-core library? The current version of the android branch is also 0.2-android-SNAPSHOT so once the lib is built and deployed to your maven repo you should be good.