将 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 (将#修改为@)