Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vanyasem opened this issue Jul 26, 2024 · 2 comments
Labels
transmitted Issue transmitted to inner service

Comments

@vanyasem
Copy link

/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
Copy link
Collaborator

Спасибо за Ваше обращение, для разбора создана задача с номером 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 mobile-ads-github added the transmitted Issue transmitted to inner service label Jul 26, 2024
@mobile-ads-github
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transmitted Issue transmitted to inner service
Projects
None yet
Development

No branches or pull requests

2 participants