➜ wanandroid_kotlin git:(master) ✗ export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
➜ wanandroid_kotlin git:(master) ✗ ./gradlew clean assembleDebug
> Configure project :app
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.
Configuration 'debugRuntimeClasspath' was resolved during configuration time.
This is a build performance and scalability issue.
See https://github.com/gradle/gradle/issues/2298
Run with --info for a stacktrace.
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugKotlin'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.github.yechaoa:YUtils:3.2.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/yechaoa/YUtils/3.2.2/YUtils-3.2.2.pom
- https://jcenter.bintray.com/com/github/yechaoa/YUtils/3.2.2/YUtils-3.2.2.pom
- https://www.jitpack.io/com/github/yechaoa/YUtils/3.2.2/YUtils-3.2.2.pom
Required by:
project :app
> Could not find com.youth.banner:banner:1.4.10.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/youth/banner/banner/1.4.10/banner-1.4.10.pom
- https://jcenter.bintray.com/com/youth/banner/banner/1.4.10/banner-1.4.10.pom
- https://www.jitpack.io/com/youth/banner/banner/1.4.10/banner-1.4.10.pom
Required by:
project :app
> Could not resolve com.just.agentweb:agentweb:4.1.4.
Required by:
project :app
> Could not resolve com.just.agentweb:agentweb:4.1.4.
> Could not get resource 'https://www.jitpack.io/com/just/agentweb/agentweb/4.1.4/agentweb-4.1.4.pom'.
> Could not GET 'https://www.jitpack.io/com/just/agentweb/agentweb/4.1.4/agentweb-4.1.4.pom'. Received status code 401 from server: Unauthorized
> Could not find q.rorbin:VerticalTabLayout:1.2.7.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/q/rorbin/VerticalTabLayout/1.2.7/VerticalTabLayout-1.2.7.pom
- https://jcenter.bintray.com/q/rorbin/VerticalTabLayout/1.2.7/VerticalTabLayout-1.2.7.pom
- https://www.jitpack.io/q/rorbin/VerticalTabLayout/1.2.7/VerticalTabLayout-1.2.7.pom
Required by:
project :app
> Could not find com.hyman:flowlayout-lib:1.1.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/hyman/flowlayout-lib/1.1.2/flowlayout-lib-1.1.2.pom
- https://jcenter.bintray.com/com/hyman/flowlayout-lib/1.1.2/flowlayout-lib-1.1.2.pom
- https://www.jitpack.io/com/hyman/flowlayout-lib/1.1.2/flowlayout-lib-1.1.2.pom
Required by:
project :app
* 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.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 13s
您现在能编译和运行目前的代码吗? 我这边显示找不到一些库了。