Examples don't run on android ?
See original GitHub issuetrying to run Examples
on android with no luck, they run on IOS just fine.
> Configure project :react-native-reanimated
Compatible side by side NDK version was not found.
building Reanimated2
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.2/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/ahmedeid/code-playground/react-native-reanimated/android/build.gradle' line: 272
* What went wrong:
A problem occurred evaluating project ':react-native-reanimated'.
> NDK is not installed
* 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 1s
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 app:installDebug -PreactNativeDevServerPort=8081
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Known issues with Android Studio and Android Gradle Plugin
JUnit tests missing resources in classpath when run from Android Studio · Running JUnit tests may compile the code twice · Some test...
Read more >Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >Create and edit run/debug configurations - Android Developers
When you run, debug, or test your code, Android Studio uses a run/debug configuration to determine how to perform the operation.
Read more >Restrictions on starting activities from the background
Android 10 (API level 29) and higher place restrictions on when apps can start activities when the app is running in the background....
Read more >Build and run your app - Android Developers
Live Edit doesn't perform any bytecode manipulation that's defined in your project's build file—for example, bytecode manipulation that would be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like we need to update README for the example app.
@jakub-gonet it is not updated yet. LOL I googled this and got here.
Also, it is confusing it does not tell where to run
npx react-native run-android
(for android): inroot
of project or inExamples
directory. It may be confusing for some people, for it tells to install packages both inroot
and inExample
directory .At the first place, whyNDK
is a dependency?