apache-cordova

How to fix “build.gradle” problem in a Cordova project?

柔情痞子 提交于 2019-12-02 05:55:14
问题 $ 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

How to fix “build.gradle” problem in a Cordova project?

不打扰是莪最后的温柔 提交于 2019-12-01 23:35:26
$ 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.

avdmanager: Command failed with exit code 1 cordova

旧巷老猫 提交于 2019-12-01 22:18:32
问题 i just started to make my first native cordova app from cordova official tutorial, and when I run ayam@laptop:~/Documents/learn/hello$ cordova requirements Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: not installed *** avdmanager: Command failed with exit code 1 Gradle: installed /usr/local/gradle-3.5/bin/gradle Error: Some of requirements check failed I got avdmanager: Command failed with exit code 1 回答1: This problem has