AndServer icon indicating copy to clipboard operation
AndServer copied to clipboard

新版本无法使用

Open kekxv opened this issue 2 years ago • 1 comments

id 'com.android.application' version '7.3.0' apply false

pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        // 添加maven
        maven { url 'https://jitpack.io' }
    }
}
buildscript {
    repositories {
        gradlePluginPortal()
        mavenLocal()
        google()
        mavenCentral()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:7.3.1"
        classpath 'com.yanzhenjie.andserver:plugin:2.1.11'
    }
}

rootProject.name = ""
include ':app'
截屏2023-03-17 17 31 42

kekxv avatar Mar 17 '23 09:03 kekxv

看着像是 gradle版本和gradle插件版本 的兼容性问题 里面的processor使用到的一些api就和gradle版本和gradle插件版本有关

wang-neng avatar Mar 28 '23 14:03 wang-neng

"com.android.tools.build:gradle:7.3.1",AGP的版本太高了。

yanzhenjie avatar Apr 15 '24 03:04 yanzhenjie