小编CaK*_*KaL的帖子

如何修复Cordova项目中的“ build.gradle”问题?

$ cordova build android --debug
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=E:\andoidSDK (DEPRECATED)
Subproject Path: CordovaLib
Subproject Path: app

> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

* …
Run Code Online (Sandbox Code Playgroud)

cordova build.gradle apache-cordova ionic4

2
推荐指数
1
解决办法
4706
查看次数

标签 统计

apache-cordova ×1

build.gradle ×1

cordova ×1

ionic4 ×1