在命令ionic cordova plugin add cordova-sqlite-storage
我有一个安装插件的问题,版本cordova-android:6.3.0 angular 5&离子3:
npm install of external dependencies ok
ANDROID_HOME=/usr/local/Caskroom/android-sdk/3859397
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
Subproject Path: CordovaLib
Starting a Gradle Daemon (subsequent builds will be faster)
google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.
Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
FAILURE: Build failed with an exception.
* Where:
Script '/Users/mac/Documents/x/y/platforms/android/CordovaLib/cordova.gradle' line: 64
* What went wrong:
A problem occurred evaluating root project 'android'.
> No installed build tools found. Install the Android build tools version 19.1.0 or higher.
* 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.435 secs
Failed to install 'cordova-sqlite-storage': Error: /Users/mac/Documents/x/y/platforms/android/gradlew: Command failed with exit code 1
- 版本 -
离子框架:3.9.2
离子应用程序脚本:3.1.6
角核:5.0.3
Angular Compiler CLI:5.0.3
节点:8.11.1
OS平台:macOS High Sierra
导航平台:MacIntel
用户代理:Mozilla / 5.0(Macintosh; Intel Mac OS X 10_13_4)AppleWebKit / 537.36
(KHTML,像Gecko一样)Chrome / 67.0.3396.87 Safari / 537.36