camerakit-android icon indicating copy to clipboard operation
camerakit-android copied to clipboard

Could not resolve com.camerakit:camerakit:1.0.0-beta3.10

Open hemant1109 opened this issue 1 year ago • 35 comments

I am using this libs in my project and run Bitbucket pipeline. It gives me this error every time from 2 weeks.

Could not resolve com.camerakit:camerakit:1.0.0-beta3.10. > Could not get resource 'https://pay.cards/maven/com/camerakit/camerakit/1.0.0-beta3.10/camerakit-1.0.0-beta3.10.pom'. > Could not GET 'https://pay.cards/maven/com/camerakit/camerakit/1.0.0-beta3.10/camerakit-1.0.0-beta3.10.pom'. > The server may not support the client's requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used. See: https://docs.gradle.org/7.2/userguide/build_environment.html#gradle_system_properties > Remote host terminated the handshake

Please help.

hemant1109 avatar Jul 24 '23 06:07 hemant1109

Same here

dabeedj avatar Jul 29 '23 13:07 dabeedj

I'm also facing the same issue. can anyone please help here...

image

prikshitmauryaenno avatar Aug 01 '23 11:08 prikshitmauryaenno

  1. Visit : https://jitpack.io/
  2. Type : https://github.com/CameraKit/camerakit-android on Git URL repo then click "Look Up"
  3. Follow instruction on that page

Please let me know if it works.

handirusli avatar Aug 05 '23 10:08 handirusli

Hi @anurag-oneassist , Yes, i notice that jcenter down, but i found it in jitpack ( i'm using the older version ) have you change your dependencies to dependencies { implementation 'com.github.CameraKit:camerakit-android:v1.0.0-beta3.11' } ?

handirusli avatar Aug 05 '23 23:08 handirusli

Hi @handirusli how about to solve the import com.jpegkit.Jpeg ?

pramahaditamaputra avatar Aug 07 '23 10:08 pramahaditamaputra

@pramahaditamaputra have you tried the import below?

implementation 'com.github.CameraKit:jpegkit-android:v0.2.2'

fwallz avatar Aug 08 '23 07:08 fwallz

Hi @handirusli, thank you so much for your help. this is working fine for me.

hemant1109 avatar Aug 09 '23 06:08 hemant1109

Failed to resolve: com.camerakit:camerakit:v1.0.0-beta3.11

klower avatar Aug 15 '23 01:08 klower

@klower

https://github.com/CameraKit/camerakit-android/issues/643#issuecomment-1666638342

Please replace it with this suggested sdk. It will help.

hemant1109 avatar Aug 15 '23 11:08 hemant1109

Hi, just found this issue when updating an older project, our project was using v0.13.5 but that build failed on Jitpack, Build Log Link, I've set the app to use v0.13.4 for now 🤞🏼 hoping there are no issues as a result

projectdelta6 avatar Aug 21 '23 11:08 projectdelta6

@handirusli your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage().

hemant1109 avatar Aug 23 '23 15:08 hemant1109

Hi, just found this issue when updating an older project, our project was using v0.13.5 but that build failed on Jitpack, Build Log Link, I've set the app to use v0.13.4 for now 🤞🏼 hoping there are no issues as a result

Does this mean that the mentioned issue is resolved ?

hemant1109 avatar Aug 23 '23 15:08 hemant1109

Hi, just found this issue when updating an older project, our project was using v0.13.5 but that build failed on Jitpack, Build Log Link, I've set the app to use v0.13.4 for now 🤞🏼 hoping there are no issues as a result

Does this mean that the mentioned issue is resolved ?

No the build is still failed on Jitpack for version 0.13.5 so that version is not available to use

projectdelta6 avatar Aug 23 '23 15:08 projectdelta6

Hi, just found this issue when updating an older project, our project was using v0.13.5 but that build failed on Jitpack, Build Log Link, I've set the app to use v0.13.4 for now 🤞🏼 hoping there are no issues as a result

Does this mean that the mentioned issue is resolved ?

No the build is still failed on Jitpack for version 0.13.5 so that version is not available to use

But I am using v1.0.0-beta3.11. So any news for it ?

hemant1109 avatar Aug 23 '23 15:08 hemant1109

@pramahaditamaputra have you tried the import below?

implementation 'com.github.CameraKit:jpegkit-android:v0.2.2'

Done this, but now I'm getting:

Didn't find class "com.jpegkit.Jpeg" on path: DexPathList[[dex file ...

I feel like CameraKit needs to be updated as well for this to work?

larcho avatar Sep 01 '23 21:09 larcho

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

koolfreak avatar Sep 08 '23 09:09 koolfreak

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

Unfortunately did not find any solution. So I am using the old lib and this lib is not working with the Pipeline.

hemant1109 avatar Sep 08 '23 10:09 hemant1109

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

Unfortunately did not find any solution. So I am using the old lib and this lib is not working with the Pipeline.

unfortunately i dont have the old lib, can you share the old library? both for camerakit and jpegkit? thanks

koolfreak avatar Sep 08 '23 10:09 koolfreak

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

Unfortunately did not find any solution. So I am using the old lib and this lib is not working with the Pipeline.

unfortunately i dont have the old lib, can you share the old library? both for camerakit and jpegkit? thanks

Try this.

implementation 'com.camerakit:camerakit:1.0.0-beta3.10'
implementation 'com.camerakit:jpegkit:0.1.0'

hemant1109 avatar Sep 08 '23 14:09 hemant1109

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

Unfortunately did not find any solution. So I am using the old lib and this lib is not working with the Pipeline.

unfortunately i dont have the old lib, can you share the old library? both for camerakit and jpegkit? thanks

Try this.

implementation 'com.camerakit:camerakit:1.0.0-beta3.10'
implementation 'com.camerakit:jpegkit:0.1.0'

This works for you because you still have the cached version stored in your ~/.gradle/ folder.

I can share the old libraries with you, I just don't know if that goes against any licensing rules.

larcho avatar Sep 08 '23 14:09 larcho

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

Unfortunately did not find any solution. So I am using the old lib and this lib is not working with the Pipeline.

unfortunately i dont have the old lib, can you share the old library? both for camerakit and jpegkit? thanks

Try this.

implementation 'com.camerakit:camerakit:1.0.0-beta3.10'
implementation 'com.camerakit:jpegkit:0.1.0'

This works for you because you still have the cached version stored in your ~/.gradle/ folder.

I can share the old libraries with you, I just don't know if that goes against any licensing rules.

Yes I got it in the cache dir. let's find another solution/lib to overcome this.

hemant1109 avatar Sep 08 '23 14:09 hemant1109

@hemant1109 "your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage()." Im having same issue, did you find solution for this issue? thanks

Unfortunately did not find any solution. So I am using the old lib and this lib is not working with the Pipeline.

unfortunately i dont have the old lib, can you share the old library? both for camerakit and jpegkit? thanks

Try this.

implementation 'com.camerakit:camerakit:1.0.0-beta3.10'
implementation 'com.camerakit:jpegkit:0.1.0'

This works for you because you still have the cached version stored in your ~/.gradle/ folder. I can share the old libraries with you, I just don't know if that goes against any licensing rules.

Yes I got it in the cache dir. let's find another solution/lib to overcome this.

Reality is, this library is overall no longer being supported. The last release was made back in 2019. I briefly tried downloading the source code myself and building it but without success.

There are 2 options here:

  1. Someone goes ahead and updates this library adding support to the newer jpegkit among other things, build a release and publish it to a none deprecated repository.
  2. Look for an alternative to this library. It's overall a bad idea to use unsupported deprecated libraries to begin with.

You can bundle the old libraries using a local copy (gradle supports that), but that's an interim fix.

larcho avatar Sep 08 '23 14:09 larcho

thanks guys, looking forward who can share their cache/save old libraries. I need to build my old app with these libraries. If I ever had one i will put it on lib folder and commit to repostiory

koolfreak avatar Sep 08 '23 14:09 koolfreak

@koolfreak you can find me on Twitter with the same handle, I'll share the library with you there.

larcho avatar Sep 08 '23 15:09 larcho

@koolfreak you can find me on Twitter with the same handle, I'll share the library with you there.

ok i start following you, me is @cybernetics_net. also can't seem to dm you

koolfreak avatar Sep 08 '23 15:09 koolfreak

@larcho thanks for sharing...now it works!

koolfreak avatar Sep 08 '23 15:09 koolfreak

Hi @larcho , @koolfreak , is there any way you could share the files with me too? I started following you both on twitter but i am unable to DM you. Thanks.

fwallz avatar Sep 13 '23 20:09 fwallz

Hi, still getting error on a legacy app! can some one share a solution that anyone in the community can use? maybe upload the cached files to a repository?

saulopef avatar Sep 14 '23 14:09 saulopef

Hi @larcho , @koolfreak no need for the files anymore. managed to make it work. Thanks anyway.

For others to make this work:

In build.gradle:

implementation 'com.github.CameraKit:camerakit-android:v1.0.0-beta3.11'
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.41'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.0'

Then download the Source code for jpegkit-v0.1.0

https://github.com/CameraKit/jpegkit-android/archive/refs/tags/v0.1.0.zip

Extract, copy/paste folder jpegkit in the root folder of your project.

In build.gradle:

implementation project(':jpegkit')

in settings.gradle:

include ':app', ':jpegkit'

Build and that should be it. Happy coding.

fwallz avatar Sep 14 '23 14:09 fwallz

Considering the huge amount of stars this project has, someone should try to update the library as a whole.

My Kotlin is so very rusty though, but I'll give it a shot.

larcho avatar Sep 14 '23 14:09 larcho