espressif / esp-idf-provisioning-android

Android Provisioning application for ESP-IDF Unified provisioning
Apache License 2.0
202 stars 133 forks source link

Dependency code needs to be updated #73

Open aadityadengle opened 2 years ago

aadityadengle commented 2 years ago

in README.md, the dependency code for adding the library is implementation 'com.github.espressif:esp-idf-provisioning-android:lib-2.1.0'

the existing dependency code code not working with latest android studio.

KhushbuShah25 commented 2 years ago

Hi @aadityadengle ,checked this dependency. implementation 'com.github.espressif:esp-idf-provisioning-android:lib-2.1.0' is working fine with latest android studio. What is your android studio version ? And can you tell us what exact error you are getting if you try to build app ?

PavlosTze commented 1 year ago

@khushbushah2302 @aadityadengle The latest: implementation 'com.github.espressif:esp-idf-provisioning-android:lib-2.1.1' doesn't work on Android Studio Dolphin | 2021.3.1 Patch 1

> Could not resolve all files for configuration ':app:localMockDebugCompileClasspath'.
   > Could not resolve com.github.espressif:esp-idf-provisioning-android:lib-2.1.1.

εικόνα

EDIT: Jitpack seems to be down, you need to publish your library in another Maven artifactory.

aa-v commented 1 year ago

@khushbushah2302 please help. I am unable to use the jitpack instructions as outlined. Always fails the resolve the package, while jitpack seems to be available. Using Gradle 7.* is there any possibility of publishing the package somewhere else, or releasing jars please?

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find com.github.espressif:esp-idf-provisioning-android:lib-2.1.0.

This is the same with 2.1.1 2.1.2 despite the fact that I can see the successful builds in jitpack and I have maven { url ("https://jitpack.io/") } in my build.gradle.