-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
安装OSS模块后app launch compile错误 #82
Comments
· |
https://help.aliyun.com/document_detail/31925.html?spm=a2c4g.11186623.2.12.577f58aboqgIXE Here is an API example I found and it can run in browser. Please share any findings. |
你上面说的应该是可以的,我这边有进展会分享的。 |
编译报错的话建议重新init一个项目,然后试试报不报错,我试过新项目是不会报错的。之后再按照阿里云官方文档流程走看会遇到啥问题。 |
我正在转用Azure. setting up Azure在中国国内的账户。Azure的技术支持似乎很有诚意也很responsive。另外一个是亚马逊中国。但Azure中国比亚马逊强。 |
|
系统是RN 0.62.2, NodeJS12.18, Win10,在yarn add aliyun-oss-react-native后,app launch就开始出现错误。
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.0.1/userguide/command_line_interface.html#sec:command_line_warnings
119 actionable tasks: 2 executed, 117 up-to-date
C:\D\code\js\xyz_app\android\app\src\debug\AndroidManifest.xml:7:5-153 Error:
tools:replace specified at line:7 for attribute android:allowBackup, but no new value specified //《《《《===根据提示修改。不好用
C:\D\code\js\xyz_app\android\app\src\debug\AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
Execution failed for task ':app:processDebugManifest'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 19s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
C:\D\code\js\xyz_app\android\app\src\debug\AndroidManifest.xml:7:5-153 Error:
tools:replace specified at line:7 for attribute android:allowBackup, but no new value specified
C:\D\code\js\xyz_app\android\app\src\debug\AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
Execution failed for task ':app:processDebugManifest'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 19s
PS C:\d\code\js\xyz_app>
请问有什么方法可以fix问题。谢谢!
The text was updated successfully, but these errors were encountered: