Есть библиотека Chaquopy. Как правильно её импортировать?
Мой градл
plugins {
alias(libs.plugins.androidApplication)
id("com.chaquo.python")
}
android {
namespace = "com.arturio.screenrecpython"
compileSdk = 34
defaultConfig {
applicationId = "com.arturio.screenrecpython"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
}
dependencies {
implementation(libs.appcompat)
implementation(libs.material)
implementation(libs.activity)
implementation(libs.constraintlayout)
testImplementation(libs.junit)
androidTestImplementation(libs.ext.junit)
androidTestImplementation(libs.espresso.core)
}
И получаю ошибку
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.chaquo.python'] was not found in any of the following sources: