Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio: Could not find jp.co.cyberagent.android:gpuimage:2.0.4

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

like image 366
Meggrain Avatar asked Jul 31 '26 12:07

Meggrain


1 Answers

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

like image 192
Eldo Martadjaya Avatar answered Aug 03 '26 02:08

Eldo Martadjaya



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!