微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

将 ReactNative 项目导出到 APK 收到错误 ':expo-permissions:compileReleaseKotlin'

如何解决将 ReactNative 项目导出到 APK 收到错误 ':expo-permissions:compileReleaseKotlin'

我正在使用以下命令将我的 React Native 项目导出到 APK:./gradlew assembleRelease

我收到错误

任务 ':expo-permissions:compileReleaseKotlin' 执行失败。

如何删除解决错误?是包版本之间的兼容性问题吗?

buildscript {
    ext {
        buildToolsversion = "29.0.2"
        minSdkVersion = 29
        compileSdkVersion = 29
        targetSdkVersion = 29
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.6.0")
        classpath 'com.google.gms:google-services:4.3.8'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。