googleads-mobile-flutter: macOS m1 CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":

macOS M1 device

Plugin Version

0.13.2

Steps to Reproduce

  1. Run pod install.

Expected results:

Actual results: CocoaPods could not find compatible versions for pod “Google-Mobile-Ads-SDK”: In Podfile: flutter_admob_app_open (from .symlinks/plugins/flutter_admob_app_open/ios) was resolved to 0.0.1, which depends on Google-Mobile-Ads-SDK (= 7.69.0)

google_mobile_ads (from `.symlinks/plugins/google_mobile_ads/ios`) was resolved to 0.0.1, which depends on
  Google-Mobile-Ads-SDK (= 8.5.0)

native_ads (from `.symlinks/plugins/native_ads/ios`) was resolved to 0.5.0, which depends on
  Google-Mobile-Ads-SDK
CocoaPods could not find compatible versions for pod "Google-Mobile-Ads-SDK":

[✓] Flutter (Channel master, 2.4.0-1.0.pre.112, on macOS 11.4 20F71 darwin-arm, locale en-TR) • Flutter version 2.4.0-1.0.pre.112 at /usr/local/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 3bac804112 (4 hours ago), 2021-07-08 03:01:04 -0400 • Engine revision 99a2904675 • Dart version 2.14.0 (build 2.14.0-288.0.dev)

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3) ✗ cmdline-tools component is missing Run path/to/sdkmanager --install "cmdline-tools;latest" See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Run flutter doctor --android-licenses to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 12.5.1, Build version 12E507 • CocoaPods version 1.10.1

[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio • Android Studio at /Applications/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.

[✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[!] Android Studio • Android Studio at /Users/salim/Downloads/Android Studio Preview.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart ✗ Unable to find bundled Java version. • Try updating or re-installing Android Studio.

[✓] Connected device (3 available) • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64 • Android 11 (API 30) (emulator) • iPhone 11 Pro (mobile) • D3BF5B93-2167-46DE-9AAA-C1699AC6B65E • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator) • Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.114

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 4
  • Comments: 23

Most upvoted comments

I update and upgrade everything. now its working fine. mac update, plugin update, flutter dart. everything.