MixinNetwork / android-app

📱 Android private messenger, crypto wallet and light node to Mixin Network
https://play.google.com/store/apps/details?id=one.mixin.messenger
GNU General Public License v3.0
459 stars 99 forks source link

build's but shows this when running #4374

Open MRX-8 opened 7 months ago

MRX-8 commented 7 months ago

Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/10.10.0/android-10.10.0.pom'. Received status code 401 from server: Unauthorized

and

Could not determine the dependencies of task ':app:extractIncludeDebugProto'.

Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not resolve com.mapbox.maps:android:10.10.0. Required by: project :app Could not resolve com.mapbox.maps:android:10.10.0. Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/10.10.0/android-10.10.0.pom'. Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/maps/android/10.10.0/android-10.10.0.pom'. Received status code 401 from server: Unauthorized Could not resolve com.mapbox.maps:android:10.10.0. Could not get resource 'https://maven.pkg.github.com/checkout/checkout-3ds-sdk-android/com/mapbox/maps/android/10.10.0/android-10.10.0.pom'. Username must not be null! Could not resolve com.mapbox.plugin:maps-lifecycle:10.10.0. Required by: project :app Could not resolve com.mapbox.plugin:maps-lifecycle:10.10.0. Could not get resource 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/plugin/maps-lifecycle/10.10.0/maps-lifecycle-10.10.0.pom'. Could not GET 'https://api.mapbox.com/downloads/v2/releases/maven/com/mapbox/plugin/maps-lifecycle/10.10.0/maps-lifecycle-10.10.0.pom'. Received status code 401 from server: Unauthorized Could not resolve com.mapbox.plugin:maps-lifecycle:10.10.0. Could not get resource 'https://maven.pkg.github.com/checkout/checkout-3ds-sdk-android/com/mapbox/plugin/maps-lifecycle/10.10.0/maps-lifecycle-10.10.0.pom'. Username must not be null!

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.6/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 47s Configuration cache entry stored.

Tougee commented 7 months ago

You need to get a Mapbox token first.

MRX-8 commented 7 months ago

after that what next

MRX-8 commented 7 months ago

i still got the same thing after putting the token

Tougee commented 7 months ago

Did you replace #MAPBOX_DOWNLOADS_TOKEN=PASTE_YOUR_SECRET_TOKEN_HERE in gradle.properties? If you encounter any configuration problems, please check them in local.defaults.properties.

MRX-8 commented 7 months ago

there's nothing there

xrviv commented 1 week ago

Signing up with Mapbox requires a credit card number and a tax identification number.