cordova上手

2018-05-21  本文已影响0人  阿珂刺秦王2018

GitHub - kartsims/vue-cordova-demo: Demo for vue-cordova NPM package

第一个demo

1.运行时虚拟机内存不够 报错

Could not reserve enough space for 2097152KB object heap

方法:将JKD换成64位的。

JDK(1.6,1.7,1.8)64位解压版配置使用 - CSDN博客

2.运行时需要install 19.1.0以上版本的SDK

方法:安装SDKr24   并通过其安装了一些工具

但是还是其运行过程中 还是没找到工具

No installed build tools found. Install the Android build tools version 19.1.0 or higher. - CSDN博客

3.需要SDK Platform 26

编译ionic时出错:You have not accepted the license agreements of the following SDK components - CSDN博客

在SDKmanager.exe 里面把SDK Platform 26安装上就好了

4.打包完没有可用设备

暂时没有解决,但是不耽误事儿,从那个路径里把apk放到手机里再安装就好了。

上一篇 下一篇

猜你喜欢

热点阅读