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

Android folder does not exist #769

Closed
milan-ciganovic opened this issue Nov 16, 2021 · 1 comment
Closed

Android folder does not exist #769

milan-ciganovic opened this issue Nov 16, 2021 · 1 comment

Comments

@milan-ciganovic
Copy link

milan-ciganovic commented Nov 16, 2021

Had no issues with iOS

Android:

A problem occurred evaluating root project 'android'.
> Basedir /Users/xxx/Downloads/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.3.0+1/android does not exist

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'android'.

Caused by: Basedir /Users/xxx/Downloads/Development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics_web-0.3.0+1/android does not exist

Flutter doctor:

[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-x64, locale en-RS)
[✗] Android toolchain - develop for Android devices
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
[!] Xcode - develop for iOS and macOS
    ✗ CocoaPods installed but not working.
        You appear to have CocoaPods installed but it is not working.
        This can happen if the version of Ruby that CocoaPods was installed with is different from the one being used to invoke it.
        This can usually be fixed by re-installing CocoaPods.
      To re-install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code (version 1.55.2)
[✓] Connected device (2 available)

It's pointing that error is here:

password = project.properties['YOUR_TOKEN'] ?: ""
If i hardcode the token instead of retrieving it from gradle, then i get:


* What went wrong:
A problem occurred evaluating project ':mapbox_gl'.
> SDK Registry token is null. See README.md for more information.
@felix-ht
Copy link
Collaborator

fixed on master with #789

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

No branches or pull requests

2 participants