公告
财富商城
积分规则
提问
发文
2019-06-14 08:01发布
Melony?
In Windows 10, when I run cmd build iOS and android , it shows the errors below:
How fix these errors?
UPDATE: I haven run build android. Error above, maybe due server download file error.
It is simply not possible to develop iPhone/iOS apps on any platform other than a Mac.But have no problem with Android
Downloading gradle from this link http://services.gradle.org/distributions/gradle-2.2.1-all.zip
paste it in somewhere likes: YourApp\platforms\android\gradle\gradle-2.2.1-all.zip
in buld.js file from YourApp\platforms\android\cordova\lib\build.js find this:
var distributionUrl = 'distributionUrl=http\\://services.gradle.org/distributions/gradle-2.2.1-all.zip';
replace this in your own location
var distributionUrl = 'distributionUrl=../gradle-2.2.1-all.zip';
最多设置5个标签!
Ionic ios and android
It is simply not possible to develop iPhone/iOS apps on any platform other than a Mac.But have no problem with Android
Downloading gradle from this link http://services.gradle.org/distributions/gradle-2.2.1-all.zip
paste it in somewhere likes: YourApp\platforms\android\gradle\gradle-2.2.1-all.zip
in buld.js file from YourApp\platforms\android\cordova\lib\build.js find this:
replace this in your own location