Closed qilovehua closed 7 months ago
repositories {
// google()
// mavenCentral()
maven { url "https://www.jitpack.io"}
maven { url "https://maven.aliyun.com/repository/releases"}
maven { url "https://maven.aliyun.com/repository/google"}
maven { url "https://maven.aliyun.com/repository/central"}
maven { url "https://maven.aliyun.com/repository/gradle-plugin"}
maven { url "https://maven.aliyun.com/repository/public"}
}
这么改下,好了,神奇
请按以下格式提供问题的相关信息。
已经翻墙了,其他包都是正常的,就这几个老是报错,实在搞不懂,求帮助。 RN0.66.4是正常的,现在升级到0.72.10,ios正常了,android一直不成功,也看不出是哪里的问题。
问题的具体描述
➜ android git:(master) ✗ ./gradlew assembleRelease
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-async-storage_async-storage:mapReleaseSourceSetPaths'.
Try:
请描述完整的环境/版本信息
npx react-native info
命令,并将其输出结果粘贴到这里。info React Native v0.73.4 is now available (your project is running on v0.72.10). info Changelog: https://github.com/facebook/react-native/releases/tag/v0.73.4 info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.72.10 info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos&platform=android".
package.json "dependencies": { "@react-native-async-storage/async-storage": "^1.22.0", "@react-native-clipboard/clipboard": "^1.13.2", "@react-native-masked-view/masked-view": "^0.3.1", "@react-navigation/bottom-tabs": "^6.5.11", "@react-navigation/native": "^6.1.9", "@react-navigation/native-stack": "^6.9.17", "geolib": "^3.3.4", "react": "18.2.0", "react-native": "0.72.10", },
预期结果