首页 > 解决方案 > React Native Expo 未解决的外部 PermissionAwareActivity

问题描述

我开发了一个应用程序,可以在完美的博览会上工作。如果我想创建一个版本“gradlew assembleRelease”,我会收到一个错误:

...\node_modules\expo-permissions\android\src\main\java\expo\modules\permissions\PermissionsService.kt “未解决的外部 PermissionAwareActivity”

buildToolsVersion = "30.0.2" 类路径("com.android.tools.build:gradle:3.5.3")

所有软件包都是最新的:“ncu -u”

"dependencies": {
"@react-native-community/cli-platform-android": "^4.13.0",
"@react-native-community/datetimepicker": "^3.4.3",
"crypto-js": "^4.0.0",
"expo": "^40.0.1",
"expo-cli": "^4.3.4",
"expo-notifications": "~0.9.0",
"expo-permissions": "^11.0.0",
"expo-splash-screen": "~0.9.0",
"expo-status-bar": "~1.0.3",
"expo-updates": "~0.4.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-native": "https://github.com/expo/react-native/archive/sdk-39.0.4.tar.gz",
"react-native-chart-kit": "^6.11.0",
"react-native-elements": "^3.3.2",
"react-native-gesture-handler": "^1.10.3",
"react-native-material-dropdown": "^0.11.1",
"react-native-qrcode-svg": "^6.1.1",
"react-native-reanimated": "~2.1.0",
"react-native-screens": "~3.0.0",
"react-native-svg": "^12.1.0",
"react-native-swipe-list-view": "^3.2.6",
"react-native-unimodules": "^0.12.0",
"react-native-web": "^0.15.5",
"react-navigation": "^4.4.4",
"react-navigation-stack": "^2.10.4"

},

我花了很多时间,任何人都可以帮助我

错误同时

标签: react-nativenpmexpo

解决方案


推荐阅读