react-native-vector-icons: Build get error with com.atlassian.mobile.video

I have use react-native-vector-icons version “react-native-vector-icons”: “^4.0.1”, But when i build the project on Android get error:

A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':react-native-vector-icons'.
      > Could not resolve all dependencies for configuration ':react-native-vector-icons:_debugPublishCopy'.
         > Could not find com.atlassian.mobile.video:okhttp-ws-compat:3.7.0-atlassian1.
           Required by:
               followme:react-native-vector-icons:unspecified > com.facebook.react:react-native:0.42.3-atlassian-1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

My project information:

"dependencies": {
    "native-base": "^2.0.12",
    "react": "15.4.2",
    "react-native": "0.42.0",
    "react-native-animatable": "^1.1.1",
    "react-native-calendar": "^0.10.0",
    "react-native-datepicker": "^1.4.7",
    "react-native-fbsdk": "^0.5.0",
    "react-native-fetch-blob": "^0.10.5",
    "react-native-google-places": "^2.0.9",
    "react-native-image-picker": "^0.26.2",
    "react-native-loading-spinner-overlay": "^0.4.2",
    "react-native-localization": "^0.1.29",
    "react-native-maps": "^0.12.4",
    "react-native-md5": "^1.0.0",
    "react-native-popup-dialog": "^0.7.22",
    "react-native-router-flux": "^3.38.1",
    "react-native-simple-modal": "^5.0.0",
    "react-native-sortable-listview": "^0.2.2",
    "react-native-vector-icons": "^4.0.1",
    "realm": "^1.1.1"
  },

I clean build and rebuild still get this error.

Please check me why? Thank you.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 6
  • Comments: 21 (3 by maintainers)

Most upvoted comments

From the comments, it says upgrading to react-native 0.42.3 fixes this issue. Have you guys tried this?

Hotfix:

sed -i -- "s/buildToolsVersion .*/buildToolsVersion \"26.0.1\"/" node_modules/**/build.gradle
sed -i -- "s/compileSdkVersion .*/compileSdkVersion 26/" node_modules/**/build.gradle
sed -i -- "s/targetSdkVersion .*/targetSdkVersion 26/" node_modules/**/build.gradle

Updated:

failed to find target with hash string ‘android-26’ in: /opt/android-sdk

Install android-26 SDK tools

See more: