当前位置: 首页 > 知识库问答 >
问题:

要求者:Project:React-Native-Maps找不到满足版本约束的“com.android.support:support-compat”的版本

唐弘和
2023-03-14

我正在使用react-native和React-Native-Map创建一个应用程序。下面是软件包的版本

"react": "16.8.3",
"react-native": "0.59.0",
"react-native-maps": "^0.23.0",

我只是按照文档,我得到的错误指定的主题行,我试图验证,但没有运气

Could not resolve com.android.support:support-compat:26.1.0.
Required by:
    project :react-native-maps
   Cannot find a version of 'com.android.support:support-compat' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.google.android.gms:play-services-base:15.0.1' --> 'com.google.android.gms:play-services-basement:15.0.1' --> 'com.android.support:support-v4:26.1.0' --> 'com.android.support:support-compat:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.google.android.gms:play-services-base:15.0.1' --> 'com.google.android.gms:play-services-basement:15.0.1' --> 'com.android.support:support-v4:26.1.0' --> 'com.android.support:support-media-compat:26.1.0' --> 'com.android.support:support-compat:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:customview:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:viewpager:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:coordinatorlayout:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:drawerlayout:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:slidingpanelayout:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:swiperefreshlayout:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:asynclayoutinflater:28.0.0' --> 'com.android.support:support-compat:28.0.0'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-compat' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-compat' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-compat' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0

Could not resolve com.android.support:support-annotations:26.1.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'com.android.support:support-annotations' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:collections:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:cursoradapter:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-vector-drawable:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'com.android.support:versionedparcelable:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:documentfile:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:localbroadcastmanager:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:print:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'android.arch.lifecycle:viewmodel:1.1.1' --> 'com.android.support:support-annotations:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.google.android.gms:play-services-base:15.0.1' --> 'com.google.android.gms:play-services-basement:15.0.1' --> 'com.android.support:support-v4:26.1.0' --> 'com.android.support:support-media-compat:26.1.0' --> 'com.android.support:support-annotations:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.lifecycle:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.core:common:1.1.1' --> 'com.android.support:support-annotations:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:customview:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:viewpager:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:coordinatorlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:drawerlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:slidingpanelayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:interpolator:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:swiperefreshlayout:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:asynclayoutinflater:28.0.0' --> 'com.android.support:support-annotations:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:runtime:1.1.1' --> 'com.android.support:support-annotations:26.1.0'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-annotations' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-annotations' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-annotations' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0

Could not resolve android.arch.lifecycle:runtime:1.0.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'android.arch.lifecycle:runtime' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'android.arch.lifecycle:runtime' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'android.arch.lifecycle:runtime' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0

Could not resolve android.arch.lifecycle:common:1.0.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'android.arch.lifecycle:common' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.lifecycle:common:1.1.1'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.lifecycle:livedata-core:1.1.1' --> 'android.arch.lifecycle:common:1.1.1'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'android.arch.lifecycle:common' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0

Could not resolve android.arch.core:common:1.0.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'android.arch.core:common' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-compat:28.0.0' --> 'android.arch.lifecycle:runtime:1.1.1' --> 'android.arch.core:common:1.1.1'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:common:1.1.1'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.core:runtime:1.1.1' --> 'android.arch.core:common:1.1.1'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0' --> 'com.android.support:loader:28.0.0' --> 'android.arch.lifecycle:livedata:1.1.1' --> 'android.arch.lifecycle:livedata-core:1.1.1' --> 'android.arch.core:common:1.1.1'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'android.arch.core:common' strictly '1.0.0' because of the following reason: debugRuntimeClasspath uses version 1.0.0

Could not resolve com.android.support:support-core-utils:26.1.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'com.android.support:support-core-utils' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-core-utils:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-utils:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.google.android.gms:play-services-base:15.0.1' --> 'com.google.android.gms:play-services-basement:15.0.1' --> 'com.android.support:support-v4:26.1.0' --> 'com.android.support:support-core-utils:26.1.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0' --> 'com.android.support:support-core-utils:28.0.0'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-core-utils' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-core-utils' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-core-utils' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0

Could not resolve com.android.support:support-core-ui:26.1.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'com.android.support:support-core-ui' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0' --> 'com.android.support:support-core-ui:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:animated-vector-drawable:28.0.0' --> 'com.android.support:support-core-ui:28.0.0'
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.google.android.gms:play-services-base:15.0.1' --> 'com.google.android.gms:play-services-basement:15.0.1' --> 'com.android.support:support-v4:26.1.0' --> 'com.android.support:support-core-ui:26.1.0'
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-core-ui' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0
      Constraint path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.android.support:support-core-ui' strictly '26.1.0' because of the following reason: debugRuntimeClasspath uses version 26.1.0

Could not resolve com.android.support:support-fragment:26.1.0.
Required by:
    project :react-native-maps
    Cannot find a version of 'com.android.support:support-fragment' that satisfies the version constraints:
      Dependency path 'ReactFlexNativeBaseTaxi:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.59.0' --> 'com.android.support:appcompat-v7:28.0.0' --> 'com.android.support:support-fragment:28.0.0'

共有1个答案

夏侯林
2023-03-14

这是目前已知的问题。检查依赖项的回购以查看是否存在问题总是值得的。

根据线程中的这个答案

下一个版本将修复它!

如果您更喜欢锁定到特定的提交,那么可以使用当前的提交:

如果您更新package.json,使react-native-maps看起来像这样,并重新运行npm install(在删除node_modules之后),它应该可以解决这个问题。

"react-native-maps": "https://github.com/react-native-community/react-native-maps.git#c102c36d895cbef8b6a8deefd4c58fb0dc17638e",

如果它没有,那么你将不得不等待下一个版本出来。

根据线程上的一个答案,您可能还需要遵循这个SO问题的解决方案。

您可以将google-play-services更新到版本16.1.0或添加

<uses-library
      android:name="org.apache.http.legacy"
      android:required="false" />

AndroidManifest.xml应用程序标记中。

 类似资料:
  • 当我想使用Proguard规则生成一个签名的APK(发行版)时,我得到了以下错误消息: 找不到满足版本约束:依赖路径“Transition:Library:Unspecified”-->“Com.Android.Support.Test:Runner:1.0.2”-->“Com.Android.Support:Support-Annotations:27.1.1”Constraint path“T

  • 问题内容: 我正在使用以下文件在Ubuntu 12.04中安装几个Python软件包: 和这两个命令: (第一个下载软件包,第二个安装软件包)。 该过程经常因错误而停止: 我用以下方法手动修复: 然后再次运行第二个命令。 但这仅适用于 该 特定程序包。当我再次运行第二个命令时,该过程现在停止,并抱怨 另一个 必需的程序包,我需要再次重复该过程,即:手动安装新的必需的程序包(使用上面的命令),然后运

  • 找不到满足Flask pip安装-U Flask要求的版本 收集烧瓶无法获取URLhttps://pypi.python.org/simple/flask/:确认ssl证书时出现问题:[ssl:TLSV1\u警报\u协议\u版本]TLSV1警报协议版本(\u ssl.c:590)-正在跳过 找不到满足要求的版本(来自版本:) 未找到烧瓶的匹配分布

  • 问题内容: 我在virtualenv中安装pytz时遇到问题。 下载/解压pytz 找不到满足pytz要求的版本(来自以下版本:2009r,2008b,2009f,2008c,2007g,2011g,2005m,2011e,2007f,2011k,2007k,2006j,2008h,2008i,2011e,2008a,2009e,2006g, 2011j,2010l,2005m,2008i,200

  • 我安装了最新版本的Python和最新版本的。然后我在PyCharm中安装了一些模块(Numpy、Pandas等),但当我尝试安装Tensorflow时,它没有安装,并且我得到了错误消息: 找不到满足TensorFlow要求的版本(来自Versions:)找不到TensorFlow的匹配发行版。 然后我尝试从命令提示符安装TensorFlow,得到了相同的错误消息。不过,我确实成功地安装了TFLea

  • 我在espresso测试中工作,我需要以下依赖: 对于recycler-view来完成测试,但是当我添加这个依赖项时,我得到了这个错误: 原因:org.gradle.api.gradleException:找不到满足版本>constraints:Dependency path“MyProject:app:unspecified”-->>“com.google.android.material:ma