Closed p1anuj2 closed 1 month ago
This is most likely caused by using incompatible versions of the Chaquopy and Android Gradle plugins. See this list for the supported combinations.
If that doesn't help, please post:
com.chaquo.python:gradle
in your app's top-level build.gradle file.com.android.application
, agp
or com.android.tools.build:gradle
.The following versions:
This is not a compatible combination of com.chaquo.python:gradle and com.android.tools.build:gradle. See the list I linked in my previous comment.
Also, to use Chaquopy 12.0.1 or later, you'll need to include the Maven Central repository. Find all instances of jcenter()
in your build.gradle or settings.gradle files, and replace it with mavenCentral()
. If that still gives a similar error to the one above, try including both lines.