Skip to content

Ошибка запуска на андроид #40

Closed

Description

@darialvznd

Версия 4.33.1-beta

Подключение библиотеки выполнено в соотвествии с документацией, на версии 4.29.0 и ниже ошибки нет

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':yandex_maps_mapkit:compileDebugKotlin'.

Error while evaluating property 'friendPathsSet$kotlin_gradle_plugin_common' of task ':yandex_maps_mapkit:compileDebugKotlin'.
Could not resolve all files for configuration ':yandex_maps_mapkit:debugCompileClasspath'.
> Could not find com.yandex.android:maps.mobile:.
Required by:
project :yandex_maps_mapkit

Activity

  1. YandexMapKit commented on Apr 17, 2026

    @YandexMapKit
    Contributor

    Пожалуйста, пришлите нам минимальный пример вашей ситуации. Вы можете выложить его проектом на GitHub, прикрепить к переписке в архиве или загрузить на Яндекс Диск и указать ссылку.

  2. Cryogenics commented on May 7, 2026

    @Cryogenics

    @YandexMapKit проблема наблюдается на ваших же mapkit-samples.

    На версиях 4.33.1-beta, 4.33.0-beta, 4.32.1-beta

    При даунгрейде до 4.30.0-beta работает.

    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.
    > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
       > Could not find com.yandex.android:maps.mobile:.
         Required by:
             project :app > project :yandex_maps_mapkit
    

    Запускал этот пример https://github.com/yandex/mapkit-flutter-demo/tree/master/mapkit-samples/map_search

    Версии библиотеки менял тут https://github.com/yandex/mapkit-flutter-demo/blob/master/mapkit-samples/common/pubspec.yaml

    Смежная issue только для ios с такой же проблемой(падение на этапе компиляции #39)

  3. wratheus commented on Jun 10, 2026

    @wratheus

    Аналогичная тема в full версии, основная тема. Проблему описал здесь - #41 (comment)

    Добрый день. Проблема как будто на всех версиях после 4.30, в сборке Android пытается тянуть зависимости с maven с префиксом -flutter, то есть "maps.mobile-4.36.0-full-flutter", и аналогично для Лайт  "maps.mobile-4.36.0-lite-flutter". В Maven репозиториях таких нет, есть только "4.36.0-full", "4.36.0-lite"
    
    https://repo1.maven.org/maven2/com/yandex/android/maps.mobile/4.36.0-full-flutter/maps.mobile-4.36.0-full-flutter.pom - 404
    
    и обычная https://repo1.maven.org/maven2/com/yandex/android/maps.mobile/4.36.0-full/maps.mobile-4.36.0-full.pom - валидный ответ
    
    
    Здесь вы можете посмотреть, начиная 4 30 перестали выгружать пакеты -flutter
    
    https://repo1.maven.org/maven2/com/yandex/android/maps.mobile/maven-metadata.xml
    
    <img width="576" height="520" alt="Image" src="https://github.com/user-attachments/assets/da634dd7-9f6a-403d-a5d5-e75706ee19e1" />
    
  4. YandexMapKit commented on Jul 2, 2026

    @YandexMapKit
    Contributor

    Проблема была исправлена в версии MapKit SDK 4.38.1. Проверьте, пожалуйста.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions