react-native - 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"
},
我花了很多时间,任何人都可以帮助我
解决方案
推荐阅读
- php - wordpress 客户仪表板中的编辑地址问题
- lua - 如何阻止 Lua 脚本运行
- python - 'C:\Users\name' 在 Jupyter 笔记本中未被识别为内部或外部命令、可运行程序或批处理文件
- python-3.6 - pycuda 安装中的警告
- regex - 将正则表达式 (1 + 01)∗ (0 + 10)+ 转换为 NFA
- json - 忽略杰克逊 JSON 解析器中的字段?
- laravel - 将 sendgrid 的事件 webhook 路由到 laravel 中的控制器
- flutter - ChangeNotifier 不更新消费者
- uart - 如何使用 bsl 擦除 msp430f2619 闪存?
- android - Android Firebase 库,仪器测试 - 无静态方法 registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite