gpt4 book ai didi

build - 如何使用gradlew进行调试apk?

转载 作者:行者123 更新时间:2023-12-03 06:18:38 26 4
gpt4 key购买 nike

我一直在尝试使用gradlew进行调试apk,但是无论我做什么,都会使构建失败。这是我的cmd日志(如果有帮助的话):

C:\Users\svond_000\Downloads\dalvik-sdk-8u40-ea3\dalviksdk\samples\HelloWorld\javafx>gradlew.bat assembledebug

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'HelloWorld'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not find any version that matches com.android.tools.build:gradle:0.8.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadta.xml
Required by:
:HelloWorld:unspecified > me.tatarka:gradle-retrolambda:2.4.1

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

BUILD FAILED

Total time: 5.394 secs

任何帮助是极大的赞赏。

最佳答案

Could not find any version that matches com.android.tools.build:gradle:0.8.



在您的项目中查找并将 com.android.tools.build:gradle:0.8.更改为 Ccom.android.tools.build:gradle:0.8.+

关于build - 如何使用gradlew进行调试apk?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28120933/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com