chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
753 stars 129 forks source link

An exception occurred applying plugin request [id: 'com.chaquo.python'] > Failed to apply plugin 'com.chaquo.python' #1194

Open surajsahani opened 3 days ago

surajsahani commented 3 days ago

Could not find matching constructor for: com.android.build.gradle.internal.api.DefaultAndroidSourceDirectorySet(String, org.gradle.api.internal.project.DefaultProject_Decorated, com.android.build.gradle.internal.api.artifact.SourceArtifactType$JAVA_SOURCES)

Chaquopy version

10.0.1

Relevant parts of your build.gradle file

Describe your issue

This version of chaquopy is not building on latest version of android plugins

Also after updating it to latest version not able to proceed forward

This version of Chaquopy has not been tested with Android Gradle plugin versions beyond 7.0.2. If you experience problems, please edit the version of com.android.tools.build:gradle in your top-level build.gradle file. See https://chaquo.com/chaquopy/doc/current/versions.html.

mhsmith commented 3 days ago

Also after updating it to latest version not able to proceed forward

This version of Chaquopy has not been tested with Android Gradle plugin versions beyond 7.0.2. If you experience problems, please edit the version of com.android.tools.build:gradle in your top-level build.gradle file. See https://chaquo.com/chaquopy/doc/current/versions.html.

As you can see from the linked page, if you're seeing this warning then you must still be using Chaquopy 10.0. The latest version is 15.0.1, and the instructions for using it are here.