React Native-tipsi-stripe软件包在生成时会产生错误(无法解决依赖关系)

时间:2018-10-11 23:05:05

标签: react-native

我是RN的新手,目前正在使用React Native 0.55.4应用程序,该应用程序运行良好。现在,我需要接受付款,因此我安装了tipsi-stripe软件包并按照文档中的说明进行配置。构建(Android)时,出现以下错误:

  • 出了什么问题: 配置项目':app'时发生问题。
      

    无法解析配置':app:_debugApkCopy'的所有依赖项。   找不到com.android.support:appcompat-v7:27.0.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar        要求:            MyApp:app:未指定            MyApp:app:未指定> com.facebook.react:react-native:0.55.4   找不到com.android.support:support-v4:26.1.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/support-v4/26.1.0/support-v4-26.1.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/support-v4/26.1.0/support-v4-26.1.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/support-v4/26.1.0/support-v4-26.1.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定   找不到com.android.support:appcompat-v7:27.0.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定   找不到com.google.android.gms:play-services-wallet:11.8.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services-wallet/11.8.0/play-services-wallet-11.8.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/google/android/gms/play-services-wallet/11.8.0/play-services-wallet-11.8.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/google/android/gms/play-services-wallet/11.8.0/play-services-wallet-11.8.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/google/android/gms/play-services-wallet/11.8.0/play-services-wallet-11.8.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/google/android/gms/play-services-wallet/11.8.0/play-services-wallet-11.8.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/google/android/gms/play-services-wallet/11.8.0/play-services-wallet-11.8.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定   找不到com.google.firebase:firebase-core:11.8.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/google/firebase/firebase-core/11.8.0/firebase-core-11.8.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/google/firebase/firebase-core/11.8.0/firebase-core-11.8.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/google/firebase/firebase-core/11.8.0/firebase-core-11.8.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/google/firebase/firebase-core/11.8.0/firebase-core-11.8.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/google/firebase/firebase-core/11.8.0/firebase-core-11.8.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/google/firebase/firebase-core/11.8.0/firebase-core-11.8.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定   找不到com.android.support:design:27.0.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/design/27.0.0/design-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/design/27.0.0/design-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/design/27.0.0/design-27.0.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/design/27.0.0/design-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/design/27.0.0/design-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/design/27.0.0/design-27.0.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.stripe:stripe-android:6.0.0   找不到com.android.support:support-annotations:27.0.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.stripe:stripe-android:6.0.0   找不到com.android.support:appcompat-v7:27.0.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/appcompat-v7/27.0.0/appcompat-v7-27.0.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.stripe:stripe-android:6.0.0   找不到com.android.support:support-annotations:27.0.0。        在以下位置搜索:            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/google/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.pom            文件:/Users/drc83/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar            文件:/Users/drc83/Sites/MyApp/android/sdk-manager/com/android/support/support-annotations/27.0.0/support-annotations-27.0.0.jar        要求:            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.github.tipsi:CreditCardEntry:1.4.8.10> com.android.support:support-compat:25.3.1            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.github.tipsi:CreditCardEntry:1.4.8.10> com.android.support:support-core-utils:25.3.1            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.github.tipsi:CreditCardEntry:1.4.8.10> com.android.support:support-core-ui:25.3.1            MyApp:app:未指定> MyApp:tipsi-stripe:未指定> com.github.tipsi:CreditCardEntry:1.4.8.10> com.android.support:support-media-compat:25.3.1

预先感谢您帮助我解决此问题。您是否需要任何进一步的信息。请让我知道。

0 个答案:

没有答案