question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Examples don't run on android ?

See original GitHub issue

trying 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

Screen Shot 2020-09-06 at 11 59 38 AM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jakub-gonetcommented, Sep 6, 2020

Seems like we need to update README for the example app.

0reactions
shivamjjhacommented, Mar 25, 2021

@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): in root of project or in Examples directory. It may be confusing for some people, for it tells to install packages both in root and in Example directory .At the first place, why NDK is a dependency?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found