Member-only story

Android studio error Could not find method compile() for arguments.

--

How to fix Ionic Capacitor android build APK error.

My articles are open for everyone; non-member readers can read the article by clicking this Friend link.

Caused by: org.gradle.internal.metaobject.AbstractDynamicObject$CustomMessageMissingMethodException: Could not find method compile() for arguments [com.github.ergovia-mobile:android-transcoder:v0.1.10R_ergovia] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Solution steps:

Open Android Studio
→ Go to File
→ Project structure
→ Select Dependencies
→ Change Compile to implement

If you wouldn’t mind giving it some claps 👏 👏 since it helped, I’d greatly appreciate it :) Help others find the article, so it can help them!

Always be clapping…

--

--

Ankit Maheshwari
Ankit Maheshwari

No responses yet