Code Monkey home page Code Monkey logo

Comments (34)

handirusli avatar handirusli commented on May 24, 2024 4
  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.

from camerakit-android.

prikshitmaurya avatar prikshitmaurya commented on May 24, 2024 3

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

image

from camerakit-android.

handirusli avatar handirusli commented on May 24, 2024 3

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' } ?

from camerakit-android.

dabeedj avatar dabeedj commented on May 24, 2024 2

Same here

from camerakit-android.

fwallz avatar fwallz commented on May 24, 2024 2

@pramahaditamaputra have you tried the import below?

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

from camerakit-android.

fwallz avatar fwallz commented on May 24, 2024 2

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.

from camerakit-android.

larcho avatar larcho commented on May 24, 2024 2

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.

from camerakit-android.

fwallz avatar fwallz commented on May 24, 2024 2

This is how my build.gradle for jpegkit project looks like:

apply plugin: 'com.android.library'

android {
    compileSdkVersion 32
    defaultConfig {
        minSdkVersion 25
        targetSdkVersion 32
    }
    externalNativeBuild {
        cmake {
            path 'src/main/CMakeLists.txt'
        }
    }
}

dependencies {
    implementation 'com.android.support:exifinterface:27.1.0'
}

Basically remove from top:

plugins {
    id 'com.jfrog.bintray' version '1.7.3'
    id 'com.github.dcendents.android-maven' version '1.5'
} 

And everything below:

dependencies {
    implementation 'com.android.support:exifinterface:27.1.0'
}

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024 1

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

from camerakit-android.

larcho avatar larcho commented on May 24, 2024 1

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

from camerakit-android.

pramahaditamaputra avatar pramahaditamaputra commented on May 24, 2024

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

from camerakit-android.

klower avatar klower commented on May 24, 2024

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

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

@klower

#643 (comment)

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

from camerakit-android.

projectdelta6 avatar projectdelta6 commented on May 24, 2024

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

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

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

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

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 ?

from camerakit-android.

projectdelta6 avatar projectdelta6 commented on May 24, 2024

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

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

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 ?

from camerakit-android.

larcho avatar larcho commented on May 24, 2024

@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?

from camerakit-android.

koolfreak avatar koolfreak commented on May 24, 2024

@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

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

@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.

from camerakit-android.

koolfreak avatar koolfreak commented on May 24, 2024

@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

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

@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'

from camerakit-android.

larcho avatar larcho commented on May 24, 2024

@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.

from camerakit-android.

hemant1109 avatar hemant1109 commented on May 24, 2024

@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.

from camerakit-android.

larcho avatar larcho commented on May 24, 2024

@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.

from camerakit-android.

koolfreak avatar koolfreak commented on May 24, 2024

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

from camerakit-android.

koolfreak avatar koolfreak commented on May 24, 2024

@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

from camerakit-android.

koolfreak avatar koolfreak commented on May 24, 2024

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

from camerakit-android.

fwallz avatar fwallz commented on May 24, 2024

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.

from camerakit-android.

saulopef avatar saulopef commented on May 24, 2024

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?

from camerakit-android.

saulopef avatar saulopef commented on May 24, 2024

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.

hi @fwallz, tks for your solution, now I'm facing this error, do you solved it?

Unable to load class 'org.gradle.api.publication.maven.internal.MavenPomMetaInfoProvider'.

This is an unexpected error. Please file a bug containing the idea.log file.

from camerakit-android.

koolfreak avatar koolfreak commented on May 24, 2024

@fwallz just chec my github...thanks for pulling that altogether

from camerakit-android.

645148995 avatar 645148995 commented on May 24, 2024

maven {url 'https://maven.aliyun.com/repository/public/'}
maven {url 'https://maven.aliyun.com/repository/google/'}
maven {url 'https://maven.aliyun.com/repository/central/'}
maven {url 'https://maven.aliyun.com/repository/gradle-plugin/'} 使用阿里云镜像解决这个问题

from camerakit-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.