Closed visualroam closed 3 years ago
Have you tried to use the dependency
ehn.techiop.hcert:hcert-kotlin-jvm:1.3.0
like we do in our sample project?
https://github.com/ehn-dcc-development/hcert-app-kotlin/blob/master/app/build.gradle#L68
But this is not a jitpack Dependency if im correct. Its a Maven Github Package. So at the moment it doesnt find the package.
Execution failed for task ':flave:checkDebugDuplicateClasses'. Could not resolve all files for configuration ':flave:debugRuntimeClasspath'. Could not find ehn.techiop.hcert:hcert-kotlin-jvm:1.3.0-SNAPSHOT. Searched in the following locations:
- https://jcenter.bintray.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/maven-metadata.xml
- https://jcenter.bintray.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/hcert-kotlin-jvm-1.3.0-SNAPSHOT.pom
- https://repo.maven.apache.org/maven2/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/maven-metadata.xml
- https://repo.maven.apache.org/maven2/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/hcert-kotlin-jvm-1.3.0-SNAPSHOT.pom
- https://maven.pkg.github.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/maven-metadata.xml
- https://maven.pkg.github.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/hcert-kotlin-jvm-1.3.0-SNAPSHOT.pom
- https://jitpack.io/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/maven-metadata.xml
- https://jitpack.io/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/hcert-kotlin-jvm-1.3.0-SNAPSHOT.pom
- https://maven.google.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/maven-metadata.xml
- https://maven.google.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/hcert-kotlin-jvm-1.3.0-SNAPSHOT.pom Required by: project :flave
So then I tried to open it directly under "https://maven.pkg.github.com/ehn/techiop/hcert/hcert-kotlin-jvm/1.3.0-SNAPSHOT/hcert-kotlin-jvm-1.3.0-SNAPSHOT.pom" and I get following error maven package "hcert.hcert-kotlin-jvm" does not exist under owner "ehn" (I already logged in with github name & token)
So this doesnt work either.
It works for me with this commit: https://github.com/ehn-dcc-development/hcert-app-kotlin/commit/4628972b5264ae920cc930bb235b43c4a3abebf1 -- could you please try this?
Hey, and thanks it builded now, but i needed to increase my kotlin version which went ok
Good Morning,
at the moment im trying to add the hcert-kotlin as a dependencie to my app. I've tried a lot way to add, server versions and it always its the same.
Current way to add it:
implementation 'com.github.ehn-dcc-development.hcert-kotlin:hcert-kotlin:1.3.0'
This comes from jitpack.ioBut its failing with the following error message (Trying to build with android studio)
Maybe there is something i'm missing. But this wont go away, even if i change the version. Thanks for the help in advance.