Проблема с пакетом url_launcher (Flutter) - PullRequest
0 голосов
/ 17 февраля 2020

Я работаю над проектом Flutter. Я начинаю со счетчика приложений. Если использовать следующие пакеты, у меня нет никаких проблем:

cupertino_icons: ^0.1.3
flutter_markdown: ^0.3.3
google_fonts: ^0.3.9
google_maps_flutter: ^0.5.23+1
intl: ^0.16.1
provider: ^4.0.4
rive: ^0.0.1
rxdart: ^0.23.1
shared_preferences: ^0.5.6+1

Но если я использую пакет url_launcher: ^5.4.1, я получаю эту ошибку:

Launching lib\main.dart on Android SDK built for x86 in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':url_launcher:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':url_launcher:debugCompileClasspath'.
   > Could not resolve androidx.annotation:annotation:1.1.0.
     Required by:
         project :url_launcher
      [...]

Как я могу решить ? Спасибо!

1 Ответ

0 голосов
/ 21 февраля 2020

В версии 5.4.2 пакета проблема, похоже, решена.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...