AGP7 适配 Transform

AGP7 适配 Transform

环境:

Gradle 版本:

distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip

AGP版本:

buildscript {  
ext.kotlin_version = "1.6.20"
dependencies {
classpath "com.android.tools.build:gradle:7.2.2"
}
}

plugins {
id 'com.android.application' version '7.2.2' apply false
id 'com.android.library' version '7.2.2' apply false
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
}
阅读更多

Javadoc generation failed.

具体问题描述:

Execution failed for task ':UIWidget:androidJavadocs'.
> Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/Users/aria/dev/android/work_space/KeepassLib/UIWidget/build/tmp/androidJavadocs/javadoc.options'

* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

javadoc: ?? - ???????: /Users/aria/dev/android/sdk/docs/reference/element-list
阅读更多

Android Jcenter迁移到Mavencentral

最近在给我的开源库Aria升级版本时,发现Bintray已经无法上传库了,网上查了下,发现Jcenter要停止服务了,从2021年5月1号还要删除所有开发者上传的包,因此就需要将库移到其它的托管中心,谷歌建议开发者们将库托管到mavenCentral

image-20210414084724985

阅读更多