mapbox / mapbox/mapbox-navigation-android
Received status code 403 from server: Forbidden
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Kotlin
- Star
- 651
- Fork
- 321
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Problem Received status code 403 from server: Forbidden
I have add
`maven {
url 'https://api.mapbox.com/downloads/v2/releases/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
// Do not change the username below.
// This should always be `mapbox` (not your username).
username = "mapbox"
// Use the secret token you stored in gradle.properties as the password
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
}
}`
And have add
`implementation "com.mapbox.navigation:ui:1.5.1"`
This return
`Executing tasks: [:app:assembleDebug] in project D:\xampp\htdocs\ionic-mapbox-navigation\android
> Configure project :app
google-services.json not found, google-services plugin not applied. Push Notifications won't work
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve com.mapbox.navigation:ui:1.5.1.
Required by:
project :app
> Could not resolve com.mapbox.navigation:ui:1.5.1.
> Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.5.1/ui-1.5.1.pom'.
> Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/navigation/ui/1.5.1/ui-1.5.1.pom'. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
`
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với cấu hình dự án Gradle và gradle.properties, tập trung vào thông tin xác thực MAPBOX_DOWNLOADS_TOKEN được sử dụng cho kho Maven của Mapbox. Chạy :app:assembleDebug và kiểm tra việc phân giải com.mapbox.navigation:ui:1.5.1. Hoàn tất khi dependency được phân giải mà không gặp lỗi 403 và debug build tiếp tục.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, kotlin
- Lĩnh vực
- build-system, mobile
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100