-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Description
- I have reviewed the documentation
- I have searched existing issues
- I am using the latest React Native version
Android tests have not run for a while due to various issues. Fixing this may take a while as failing tests tend to mask whenever a new issue is introduced to the codebase. I'll keep this description updated with each additional failure that is uncovered.
BUCK fails to fetch Fabric Yoga dependency
BUCK fetch is failing to install dependencies with the following error:
Unable to find the target xplat//yoga/java:java.
'xplat//yoga/java:java' references an unknown cell.
Gradle dependencies fail to download
Once the issue above is fixed, the following issue is uncovered. It's related to the recent bump to build tools v26.
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring project ':ReactAndroid'.
Failed to notify project evaluation listener.
Could not resolve all dependencies for configuration ':ReactAndroid:_debugPublishCopy'.
> Could not find com.android.support:appcompat-v7:26.0.2.
Required by:
react-native:ReactAndroid:unspecified
Could not resolve all dependencies for configuration ':ReactAndroid:compile'.
> Could not find com.android.support:appcompat-v7:26.0.2.
Required by:
react-native:ReactAndroid:unspecified
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 11.005 secs
Exited with code 1
Android test app fails to build
buck build ReactAndroid/src/main/java/com/facebook/react/shell
is failing after the bump to SDK 26:
Build failed: Command failed with exit code 1.
stderr: Fatal Error: Unable to find package java.lang in classpath or bootclasspath
When running <javac>.
When building rule //ReactAndroid/src/main/java/com/facebook/react/module/model:model.
Android e2e tests fail
Related to #18995 (review)
Environment
Circle CI.