I'm using Android Studio 2020.3.1 Patch 4. I built gradle and it was successful, but when I try running my app, I get error
could not find jp.co.cyberagent.android:gpuimage:2.0.4.
Required by:
project:app
I added gradle dependency
implementation 'jp.co.cyberagent.android:gpuimage:2.0.4'
I also added in the build.gradle
sourceset{
main.jniLibs.srcDirs =["libs"]
}
as suggested from
"GPUImage.h" not found
and
How to include *.so library in Android Studio?
But nothing is working. still gives me the same error message
The library
jp.co.cyberagent.android:gpuimage:2.0.4
is no longer working.
However, a fork hosted in Jitpack is working:
Step 1. Add the JitPack repository to your build file Add it in your root build.gradle (Project level):
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.eincs:android-gpuimage:v1.4.1-eincs-1.0.1'
}
You may need to adjust all necessary imports.
Refer to the Fork docs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With