小编Cod*_*yon的帖子

其元数据的二进制版本是1.8.0,预期版本是1.6.0。模块是使用不兼容的 Kotlin 版本编译的

C:/Users/LENOVO/.gradle/caches/transforms-2/files-2.1/2bcd0a6b95744b6f0ee26f9336bd22eb/jetified-annotation-jvm-1.6.0-beta01.jar!/META-INF/annotation.kotlin_module:模块是用Kotlin 版本不兼容。其元数据的二进制版本是1.8.0,预期版本是1.6.0。

buildscript {
    ext.kotlin_version = '1.4.32'
    ext.anko_version='0.10.8'
    repositories {
        jcenter()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
      google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.1.2'
        classpath 'com.google.gms:google-services:4.3.3'
        classpath 'org.greenrobot:greendao-gradle-plugin:3.2.1'
        classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        // Add the dependency for the Performance Monitoring plugin
        classpath 'com.google.firebase:perf-plugin:1.4.1'
    }
}
Run Code Online (Sandbox Code Playgroud)

kotlin

21
推荐指数
2
解决办法
4万
查看次数

Flutter APK 未在 Mac m2 中构建,无法打开“font-subset”,因为 Apple 无法检查它是否存在恶意软件

\xe2\x80\x9cfont-subset\xe2\x80\x9d 无法打开\xe2\x80\x99,因为 Apple 无法检查其中是否存在恶意软件。

\n

没有声音 null 安全的构建 \xe2\x9a\xa0\xef\xb8\x8f\nDart 3 将仅支持声音 null 安全,请参阅https://dart.dev/null-safety

\n

运行 Gradle 任务 \'assembleRelease\'...

\n

目标 aot_android_asset_bundle 失败:IconTreeShakerException:字体子集化失败,退出代码为 -9。

\n

要禁用图标树抖动,请将 --no-tree-shake-icons 传递给请求的 flutter build 命令

\n

失败:构建失败并出现异常。

\n

android apk flutter

13
推荐指数
3
解决办法
6372
查看次数

标签 统计

android ×1

apk ×1

flutter ×1

kotlin ×1