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
error in example #2
Comments
I can download files like memory-type-native-2.2.0.aar. Please check your network and try again. |
This issue might also help: react-native-community/discussions-and-proposals#331 |
i get a proxy to ensure network stable. but another error appeared yarn run v1.22.18
FAILURE: Build failed with an exception.
BUILD FAILED in 10m 18s error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. FAILURE: Build failed with an exception.
BUILD FAILED in 10m 18s
info Run CLI with --verbose flag for more details. |
I didn't encounter this problem. Try to add <activity
android:name=".MainActivity"
+ android:exported="true" |
I use the following command or Android Studio to run a debug build:
|
Closed since it is not related to the plugin itself. |
i finally solve the problem,first i change metro.config.js file variable blacklist ot const blacklist = require('metro-config/src/defaults/exclusionList'); and then change nodejs version to v16.12.0 If you are avaliable,maybe you can update your code to match the latest version 兄弟我发现你会中文,能留个联系方式吗 |
还有什么问题吗,有问题还是发issue吧, 这样别人也能搜到 |
我发现升级到新版本的gradle也会出问题,提示了利用了老版本的废弃gradle特性,另外你可以给我个联系方式,我在这里提issue然后把链接发给你,我想把这个项目用在生产环境中,我希望能更快的解决问题,也希望能更好的帮助你改进项目 |
os:windows11
opeartion: git clone (you repo) && cd example && yarn && yarn android
FAILURE: Build failed with an exception.
Execution failed for task ':app:checkDebugAarMetadata'.
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 2m 50s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
FAILURE: Build failed with an exception.
Execution failed for task ':app:checkDebugAarMetadata'.
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 2m 50s
info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: