不是为Android构建的,只有在实现react-native-maps之后的IOS

时间:2019-01-15 01:56:43

标签: react-native react-native-maps

我正在开发一个实施Google Maps的项目,并且正在使用react-native-maps。它适用于IOS,因为我使用的是ios地图,但在Android上却遇到了问题。

Android Studio上的错误消息:

   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.57.7' --> 'com.android.support:appcompat-v7:27.1.1' --> 'com.android.support:support-annotations:27.1.1'
   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.57.7' --> 'com.android.support:appcompat-v7:27.1.1' --> 'com.android.support:support-core-utils:27.1.1' --> 'com.android.support:support-annotations:27.1.1'
   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.57.7' --> 'com.android.support:appcompat-v7:27.1.1' --> 'com.android.support:support-fragment:27.1.1' --> 'com.android.support:support-annotations:27.1.1'
   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.57.7' --> 'com.android.support:appcompat-v7:27.1.1' --> 'com.android.support:support-vector-drawable:27.1.1' --> 'com.android.support:support-annotations:27.1.1'
   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.google.android.gms:play-services-base:10.2.4' --> 'com.google.android.gms:play-services-basement:10.2.4' --> 'com.android.support:support-v4:24.0.0' --> 'com.android.support:support-annotations:24.0.0'
   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.57.7' --> 'com.android.support:appcompat-v7:27.1.1' --> 'com.android.support:support-core-utils:27.1.1' --> 'com.android.support:support-compat:27.1.1' --> 'com.android.support:support-annotations:27.1.1'
   Dependency path 'TripPlanner:react-native-maps:unspecified' --> 'com.facebook.react:react-native:0.57.7' --> 'com.android.support:appcompat-v7:27.1.1' --> 'com.android.support:support-fragment:27.1.1' --> 'com.android.support:support-core-ui:27.1.1' --> 'com.android.support:support-annotations:27.1.1'
   Constraint path 'TripPlanner:react-native-maps:unspecified' --> 'com.android.support:support-annotations' strictly '24.0.0' because of the following reason: debugRuntimeClasspath uses version 24.0.0
   Constraint path 'TripPlanner:react-native-maps:unspecified' --> 'com.android.support:support-annotations' strictly '24.0.0' because of the following reason: debugRuntimeClasspath uses version 24.0.0```

Please, let me know which files you need for view my issue.


0 个答案:

没有答案