آموزش جاوااسکریپت › انجمن ها › react native › استفاده از map › پاسخ به: استفاده از map
سلام دوباره دوباره با اجرای برنامه این ارور رو میده لطفا میشه راهنمایی کنید
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ‘:@mapbox/react-native-mapbox-gl’.
> Could not resolve all dependencies for configuration ‘:@mapbox/react-native-mapbox-gl:_debugPublishCopy’.
> Could not find com.android.support:appcompat-v7:27.0.2.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-services:2.2.9
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-services:2.2.9 > com.mapbox.mapboxsdk:mapbox-android-telemetry:2.2.9
> Could not find com.android.support:support-compat:25.4.0.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-compat/25.4.0/support-compat-25.4.0.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-compat/25.4.0/support-compat-25.4.0.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/support-compat/25.4.0/support-compat-25.4.0.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-services:2.2.9
> Could not find com.android.support:support-annotations:25.4.0.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-annotations/25.4.0/support-annotations-25.4.0.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-annotations/25.4.0/support-annotations-25.4.0.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/support-annotations/25.4.0/support-annotations-25.4.0.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1
> Could not find com.android.support:support-fragment:25.4.0.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-fragment/25.4.0/support-fragment-25.4.0.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-fragment/25.4.0/support-fragment-25.4.0.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/support-fragment/25.4.0/support-fragment-25.4.0.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-sdk:5.4.1
> Could not find com.android.support:appcompat-v7:27.0.2.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-plugin-localization:0.1.0
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.3.0
> Could not find com.android.support:support-annotations:25.4.0.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-annotations/25.4.0/support-annotations-25.4.0.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/support-annotations/25.4.0/support-annotations-25.4.0.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/support-annotations/25.4.0/support-annotations-25.4.0.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-services:2.2.9 > com.mapzen.android:lost:3.0.4
> Could not find com.android.support:appcompat-v7:27.0.2.
Searched in the following locations:
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.pom
file:/D:/androidSdkPackege/extras/android/m2repository/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.jar
file:/C:/Users/ahmadhonesty/Desktop/project/store/android/sdk-manager/com/android/support/appcompat-v7/27.0.2/appcompat-v7-27.0.2.jar
Required by:
store:@mapbox/react-native-mapbox-gl:unspecified > com.mapbox.mapboxsdk:mapbox-android-services:2.2.9 > com.mapzen.android:lost:3.0.4