yandexmobile / yandex-ads-flutter-plugin

Flutter plugin for Yandex Mobile Ads SDK. This plugin allows Flutter developers to easily integrate Yandex Mobile Ads SDK on Android and iOS apps.
Other
11 stars 2 forks source link

Ошибка сборки release APK Android из-за уведомления об обновлении библиотеки #40

Open vanyasem opened 1 month ago

vanyasem commented 1 month ago
/Users/builder/clone/android/app/build.gradle:111: Error: mobileads version should be updated to 7.2.0 [MobileAdsSdkOutdatedVersion]
    implementation 'com.yandex.android:mobileads:7.1.0'
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   Explanation for issues of type "MobileAdsSdkOutdatedVersion":
   This is necessary to ensure the proper integration of the Yandex Mobile
   Ads. The app can crash if you use an incorrect version.

   Vendor: Yandex

1 errors, 0 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.

  Fix the issues identified by lint, or create a baseline to see only new errors.
  To create a baseline, run `gradlew updateLintBaseline` after adding the following to the module's build.gradle file:

  android {
      lint {
          baseline = file("lint-baseline.xml")
      }
  }

  For more details, see https://developer.android.com/studio/write/lint#snapshot

  /Users/builder/clone/android/app/build.gradle:111: Error: mobileads version should be updated to 7.2.0 [MobileAdsSdkOutdatedVersion]
      implementation 'com.yandex.android:mobileads:7.1.0'
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     Explanation for issues of type "MobileAdsSdkOutdatedVersion":
     This is necessary to ensure the proper integration of the Yandex Mobile
     Ads. The app can crash if you use an incorrect version.

     Vendor: Yandex

  1 errors, 0 warnings

При этом на данный момент последняя версия Flutter библиотеки поддерживает только версию 7.1.0 - нужно выпустить новую версию Flutter библиотеки с поддержкой Yandex Ads Android SDK 7.2.0

В документации к Flutter библиотеке не написано о необходимости добавлять исключение в линтер gradle - мне кажется лучше упомянуть там эту информацию

mobile-ads-github commented 1 month ago

Спасибо за Ваше обращение, для разбора создана задача с номером PCODESUP-3536. Мы ознакомимся и вернемся с ответом в течение 2 дней, возможно запросим дополнительную информацию.

Thank you for your message, a task with the number PCODESUP-3536 has been created for analysis. We will get acquainted and return with the answer within 2 days, we may request additional information.

mobile-ads-github commented 1 week ago

Добрый день! Спасибо за информацию, обсудим данную правку в документацию