You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin fat-aar was not found
我新建了一个demo项目,能正常运行的。然后添加fat-aar,配置如下;
项目build.gradle:
`
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.1.2' apply false
id 'com.android.library' version '7.1.2' apply false
id 'com.kezong.fat-aar' version '1.3.8' apply false
}
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "ProguardDemo"
include ':app'
include ':libA'
include ':libB'
`
然后点击sync或是run按钮都是提示如下
Plugin [id: 'com.kezong.fat-aar', version: '1.3.8', apply: false] was not found in any of the following sources:
Plugin [id: 'com.kezong.fat-aar', version: '1.2.16', apply: false] was not found in any of the following sources:
具体日志如下
`
Build file 'E:\project\android\otherProj\ProguardDemo\build.gradle' line: 5
Plugin [id: 'com.kezong.fat-aar', version: '1.3.8', apply: false] was not found in any of the following sources:
Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Exception is:
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.kezong.fat-aar', version: '1.3.8', apply: false] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Plugin Repositories (could not resolve plugin artifact 'com.kezong.fat-aar:com.kezong.fat-aar.gradle.plugin:1.3.8')
Searched in the following repositories:
Gradle Central Plugin Repository
Google
MavenRepo
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:222
)`
Build Environment
Operating System: win11
Gradle Plugin Version: unknow,may be 7.1.2
Gradle Version: 7.2
Fat-aar Version: 1.3.8 or 1.2.16
The text was updated successfully, but these errors were encountered:
Plugin fat-aar was not found
我新建了一个demo项目,能正常运行的。然后添加fat-aar,配置如下;
项目build.gradle:
`
// Top-level build file where you can add configuration options common to all sub-projects/modules.
settings.gradle:
`
然后点击sync或是run按钮都是提示如下
具体日志如下
`
Build file 'E:\project\android\otherProj\ProguardDemo\build.gradle' line: 5
Plugin [id: 'com.kezong.fat-aar', version: '1.3.8', apply: false] was not found in any of the following sources:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.kezong.fat-aar', version: '1.3.8', apply: false] was not found in any of the following sources:
Searched in the following repositories:
Gradle Central Plugin Repository
Google
MavenRepo
at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.resolveToFoundResult(DefaultPluginRequestApplicator.java:222
)`
Build Environment
The text was updated successfully, but these errors were encountered: