2021-10-25 近期Android记错本

1、android studio 导入module from source无法next

clean、rebuild无效
导入前后依赖库同名不同版,restart无效
彻底清除缓存后重启

2、打包出错:Execution failed for task ‘:app:process_DebugManifest’

build查找为en/string.xml无相应链接string

3、JVM1.6需要指向1.8,模块下添加后还报错,修改后restart

task clean(type: Delete) {
delete rootProject.buildDir
}
项目build.gradle下添加
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = ‘1.8’
}
}

你可能感兴趣的:(Kotlin,Flutter,AS,前端,android,gradle,android,studio)