Expo Bare Workflow Android studio 调试任务:expo-permissions:compileDebugKotlin FAILED

时间:2021-02-04 10:11:20

标签: android react-native expo expo-permissions

enter image description here

问题似乎来自这里: 导入 com.facebook.react.modules.core.PermissionAwareActivity

错误:

<块引用>

任务:expo-permissions:compileDebugKotlin FAILED 未解析的参考:PermissionAwareActivity

尝试在 android studio 中调试我的代码时遇到了所有错误。 在运行 expo-eject 后,它是一个 react native expo。 这里的任何人似乎都知道这个错误是什么以及如何解决这个问题?

我当前的构建脚本

buildscript {
    ext {
        buildToolsVersion = "29.0.2"
        minSdkVersion = 21
        compileSdkVersion = 29
        targetSdkVersion = 29
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.6.3")

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

0 个答案:

没有答案