小编use*_*839的帖子

cordova要求问题,没有安装android目标

我正在尝试在Windows 7上安装Cordova.我正在关注本教程:https: //www.tutorialspoint.com/cordova/cordova_first_application.htm

当我运行cordova要求时,它表示没有安装android目标并设置ANDROID_HOME环境变量

I:\CordovaProject\hello>cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed
Android SDK not found. Make sure that it is installed. If it is not at the 
default location, set the ANDROID_HOME environment variable.
Gradle: installed
Error: Some of requirements check failed

I:\CordovaProject\hello>echo %ANDROID_HOME%
C:\Users\user\AppData\Local\Android\sdk
Run Code Online (Sandbox Code Playgroud)

正如您在图像1中看到的那样,当我回显ANDROID_HOME时,它被设置为正确的位置.我无法解决此错误.请帮助我

路径包含:%ANDROID_HOME%\ tools;%ANDROID_HOME%\ platform-tools

我在android studio下载了android-25

和项目属性文件的android目标设置为:android-25在I:\ CordovaProject\hello\platforms\android\CordovaLib\project.properties
I:\ CordovaProject\hello\platforms\android\project.properties

当我运行cordova build android时,我得到以下错误

BUILD FAILED

Total time: …
Run Code Online (Sandbox Code Playgroud)

android cordova android-studio cordova-plugins

12
推荐指数
3
解决办法
3万
查看次数

将 ArcGIS Server REST 服务 API 消费到 MapBox GL API 中

我可以将 ArcGIS Server REST 服务 API 消费到 MapBox GL API 中吗?请任何人告诉我是否可以将 ArcGIS Rest 服务消费到 MapBox GIS 中。谢谢!!

arcgis-server mapbox mapbox-gl mapbox-gl-js

3
推荐指数
1
解决办法
2595
查看次数