Skip to content
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

[Build Error] Could not find com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1 #85

Closed
dk0r opened this issue May 28, 2017 · 1 comment

Comments

@dk0r
Copy link

dk0r commented May 28, 2017

I'm receiving the following error when attempting to build the example for android (haven't tested iOS):

FAILURE: Build failed with an exception. Could not find com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1
Here is a detailed console output of the error and here is the yarn list from the examples default package.json

Attempted Fixes:

  • This stackoverflow post suggests specifying exact versions for react and react-native in the package.json. Below is the new build error when trying this with react 16.0.0.-alpha.6 and react-native 0.43.1 (with some warnings):

Execution failed for task ':app:compileDebugJavaWithJavac'.
Here is a detailed console output and here is the yarn list

  • Another comment (from the same stackoverflow) suggests modifying .../react-native-interactable/example/android/build.gradle (here is mine) but I still recieve the same build error as above:
@dk0r
Copy link
Author

dk0r commented May 29, 2017

It appears this issue is caused by two upstream issues which are tracked here and here

Here is what I did to resolve the build error:

  1. Per this discussion, specify exact versions for react and react-native in
    .../react-native-interactable/examplepackage.json (here is what I used)

  2. Per this discussion, modify
    ...\react-native-interactable\example\android\app\src\main\java\com\example\MainApplication.java
    by changing getUseDeveloperSupport()'s access modifier from Protected to Public. See line-19 here.

*note: I still receive a @providesModule naming collision warning for fb-watchman (shown here) but it does not prevent the app from building for android.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant