camerakit-android
camerakit-android copied to clipboard
Could not resolve com.camerakit:camerakit:1.0.0-beta3.10
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.
Same here
I'm also facing the same issue. can anyone please help here...
- Visit : https://jitpack.io/
- Type : https://github.com/CameraKit/camerakit-android on Git URL repo then click "Look Up"
- Follow instruction on that page
Please let me know if it works.
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' }
?
Hi @handirusli how about to solve the import com.jpegkit.Jpeg ?
@pramahaditamaputra have you tried the import below?
implementation 'com.github.CameraKit:jpegkit-android:v0.2.2'
Hi @handirusli, thank you so much for your help. this is working fine for me.
Failed to resolve: com.camerakit:camerakit:v1.0.0-beta3.11
@klower
https://github.com/CameraKit/camerakit-android/issues/643#issuecomment-1666638342
Please replace it with this suggested sdk. It will help.
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
@handirusli your SDK is not capturing image. cameraKitView.captureImage(ImageCallback callback) is not calling callback.onImage().
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 ?
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
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 ?
@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?
@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
@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 "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
@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 "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.
@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 "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:
- 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.
- 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.
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 you can find me on Twitter with the same handle, I'll share the library with you there.
@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
@larcho thanks for sharing...now it works!
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.
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?
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.
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.