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

On Mac M1 ,Newest AndroidStudio "Could not find com.antfortune.freeline:gradle:0.8.8" #1040

Open
caojianfeng opened this issue Sep 18, 2021 · 1 comment

Comments

@caojianfeng
Copy link

env:

Android Studio Arctic Fox | 2020.3.1 Patch 2
Build #AI-203.7717.56.2031.7678000, built on August 27, 2021
Runtime version: 11.0.10+0-b96-7249189 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.5.1
GC: G1 Young Generation, G1 Old Generation
Memory: 1280M
Cores: 8
Registry: external.system.auto.import.disabled=true

build

A problem occurred configuring root project 'testfreeline'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.antfortune.freeline:gradle:0.8.8.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/antfortune/freeline/gradle/0.8.8/gradle-0.8.8.pom
       - https://repo.maven.apache.org/maven2/com/antfortune/freeline/gradle/0.8.8/gradle-0.8.8.pom
     Required by:
         project :

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

gradlew initFreeline:

➜  testfreeline git:(master) ✗ ./gradlew initFreeline

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'testfreeline'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find com.antfortune.freeline:gradle:0.8.8.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/antfortune/freeline/gradle/0.8.8/gradle-0.8.8.pom
       - https://repo.maven.apache.org/maven2/com/antfortune/freeline/gradle/0.8.8/gradle-0.8.8.pom
     Required by:
         project :

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

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/7.0.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1s
➜  testfreeline git:(master) ✗ 

demo:

https://github.com/caojianfeng/testfreeline.git

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

1 participant