рдореИрдВрдиреЗ рдПрдХ рд╕рд╛рде рдлрд╝реНрд▓рдЯрд░ рдХреЛ рдирд╡реАрдирддрдо рд╕рдВрд╕реНрдХрд░рдг рдореЗрдВ рдФрд░ рдЬрд┐рдпреЛрд▓реЛрдХреЗрдЯрд░ рдХреЛ рд╕рдВрд╕реНрдХрд░рдг ^6.1.13
рдореЗрдВ рдЕрдкрдбреЗрдЯ рдХрд┐рдпрд╛, рдЙрд╕рдХреЗ рдмрд╛рдж рдПрдкреНрд▓рд┐рдХреЗрд╢рди рдиреЗ Android рдХреЗ рд▓рд┐рдП рдирд┐рд░реНрдорд╛рдг рдмрдВрдж рдХрд░ рджрд┐рдпрд╛ред рдЖрдИрдУрдПрд╕ рдХреЗ рд▓рд┐рдП рдХреЛрдИ рд╕рдорд╕реНрдпрд╛ рдирд╣реАрдВ рд╣реИред
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':geolocator:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':geolocator:debugCompileClasspath'.
> Could not resolve androidx.lifecycle:lifecycle-common:{strictly 2.0.0}.
Required by:
project :geolocator
> Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
Constraint path 'com.baseflow.geolocator:geolocator:1.0' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
> Could not resolve androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}.
Required by:
project :geolocator
> Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
Constraint path 'com.baseflow.geolocator:geolocator:1.0' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.0.0}' because of the following reason: debugRuntimeClasspath uses version 2.0.0
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
Dependency path 'com.baseflow.geolocator:geolocator:1.0' --> 'io.flutter:flutter_embedding_debug:1.0.0-df39e5c51517a73e61647286ab21252074512c63' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'
...
[тЬУ] Flutter (Channel master, 1.25.0-5.0.pre.125, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-CY)
тАв Flutter version 1.25.0-5.0.pre.125 at /Users/Sammius/Flutter/flutter
тАв Framework revision a12e2a473a (3 hours ago), 2020-12-08 23:13:04 -0500
тАв Engine revision df39e5c515
тАв Dart version 2.12.0 (build 2.12.0-133.0.dev)
[тЬУ] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
тАв Android SDK at /Users/Sammius/android
тАв Platform android-29, build-tools 28.0.3
тАв ANDROID_HOME = /Users/Sammius/android
тАв ANDROID_SDK_ROOT = /Users/Sammius/android
тАв Java binary at: /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home/bin/java
тАв Java version Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
тАв All Android licenses accepted.
[тЬУ] Xcode - develop for iOS and macOS (Xcode 12.2)
тАв Xcode at /Applications/Xcode.app/Contents/Developer
тАв Xcode 12.2, Build version 12B45b
тАв CocoaPods version 1.10.0.rc.1
[тЬУ] Chrome - develop for the web
тАв Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[!] Android Studio (not installed)
тАв Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
[тЬУ] IntelliJ IDEA Community Edition (version 2019.2.3)
тАв IntelliJ at /Applications/IntelliJ IDEA CE.app
тАв Flutter plugin version 39.0.5
тАв Dart plugin version 192.7402
[тЬУ] VS Code (version 1.51.1)
тАв VS Code at /Applications/Visual Studio Code.app/Contents
тАв Flutter extension version 3.17.0
[тЬУ] Connected device (2 available)
тАв Android SDK built for x86 64 (mobile) тАв emulator-5554 тАв android-x64 тАв Android 9 (API 28) (emulator)
тАв Chrome (web) тАв chrome тАв web-javascript тАв Google Chrome 87.0.4280.88
! Doctor found issues in 1 category.
рдордВрдЪ:
@Sammius рдЗрд╕ рдореБрджреНрджреЗ рдХреА рд░рд┐рдкреЛрд░реНрдЯ рдХрд░рдиреЗ рдХреЗ рд▓рд┐рдП рдзрдиреНрдпрд╡рд╛рджред рдРрд╕рд╛ рд▓рдЧрддрд╛ рд╣реИ рдХрд┐ io.flutter:flutter_embedding_debug
рд▓рд╛рдЗрдмреНрд░реЗрд░реА рдЕрдкрдбреЗрдЯ рд╣реЛ рдЧрдИ рд╣реИ рдФрд░ рдЕрдм androidx.lifecycle:lifecycle-runtime
рд▓рд╛рдЗрдмреНрд░реЗрд░реА рдХреЗ рд╕рдВрд╕реНрдХрд░рдг 2.2.0 рдХреА рдЖрд╡рд╢реНрдпрдХрддрд╛ рд╣реИ рдЬрдмрдХрд┐ рдЬрд┐рдпреЛрд▓реЛрдХреЗрдЯрд░ рдХреЗрд╡рд▓ рд╕рдВрд╕реНрдХрд░рдг 2.0.0 рдХреА рдЖрдкреВрд░реНрддрд┐ рдХрд░ рд╕рдХрддрд╛ рд╣реИред
рдореИрдВ рдЗрд╕ рдкрд░ рдЧреМрд░ рдХрд░реВрдВрдЧрд╛, рдЕрднреА рдХреЗ рд▓рд┐рдП рдореЗрд░рд╛ рд╕реБрдЭрд╛рд╡ рд╣реИ рдХрд┐ рдЖрдк рдлрд╝реНрд▓рдЯрд░ рдмреАрдЯрд╛ рдпрд╛ рд╕реНрдерд┐рд░ рдЪреИрдирд▓реЛрдВ рдХрд╛ рдЙрдкрдпреЛрдЧ рдХрд░рдХреЗ рдЕрдкрдирд╛ рдРрдк рдмрдирд╛рдПрдВред
рдЕрдЧрд▓реЗ рд╕реНрдкрдВрджрди рдЕрджреНрдпрддрди рдХреЗ рдмрд╛рдж, рд╕рдорд╕реНрдпрд╛ рдЧрд╛рдпрдм рд╣реЛ рдЧрдИред
[тЬУ] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.0.1 20B29 darwin-x64, locale en-AU)
[тЬУ] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[тЬУ] Xcode - develop for iOS and macOS (Xcode 12.3)
[тЬУ] Chrome - develop for the web
[тЬУ] Android Studio (version 3.5)
[тЬУ] VS Code (version 1.52.0)
[тЬУ] Connected device (2 available)
рдирд╡реАрдирддрдо рд╕реНрдкрдВрджрди рдмреАрдЯрд╛ рдЪреИрдирд▓ рдХреЗ рд▓рд┐рдП рдЕрдм рдмрд┐рд▓реНрдб рд╡рд┐рдлрд▓ рд╣реЛ рдЬрд╛рддрд╛ рд╣реИ
рдЗрд╕рдиреЗ рдореЗрд░реЗ рд▓рд┐рдП рд╕рдорд╕реНрдпрд╛ рдХреЛ рдареАрдХ рдХрд░ рджрд┐рдпрд╛:
./android/build.gradle
рд╕реЗ classpath 'com.android.tools.build:gradle:4.1.0'
. рдореЗрдВ рдмрджрд▓реЗрдВdistributionUrl
рдХреЛ ./android/gradle/wrapper/gradle-wrapper.properties
рд╕реЗ distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
. рдореЗрдВ рдмрджрд▓реЗрдВ
рд╕рдмрд╕реЗ рдЙрдкрдпреЛрдЧреА рдЯрд┐рдкреНрдкрдгреА
рдирд╡реАрдирддрдо рд╕реНрдкрдВрджрди рдмреАрдЯрд╛ рдЪреИрдирд▓ рдХреЗ рд▓рд┐рдП рдЕрдм рдмрд┐рд▓реНрдб рд╡рд┐рдлрд▓ рд╣реЛ рдЬрд╛рддрд╛ рд╣реИ