学习流程-2024-07-20
1.cordova项目添加android平台后,用android studio打开platforms/android,“在模拟器运行”按钮为灰色不可点。需要点右上角sync project with gradle files。但点了之后报错如下,下一步解决该问题:
Download https://services.gradle.org/distributions/gradle-6.8-bin.zip finished, took 8 m 20 s 611 ms (107.84 MB) Starting Gradle Daemon... Gradle Daemon started in 3 s 762 ms FAILURE: Build failed with an exception. * Where: Script 'D:\study\cordova\project\myApp\platforms\android\CordovaLib\cordova.gradle' line: 79 * What went wrong: A problem occurred evaluating script. > No usable Android build tools found. Highest 34.x installed version is 33.0.2; Recommended version is 34.0.0. * 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 BUILD FAILED in 13s
标签:Run,07,get,--,流程,gradle,2024,android From: https://www.cnblogs.com/pingfanliliang/p/18314134