这里是将web项目打包成apkhtml
参考建立cordova项目(android platform)并在android_studio运行android
有两个config.xml要改:web
一个是android平台下的platforms/android/res/xml/config.xml编辑器
另外一个是项目根目录上的config.xml,用android_studio看不到,得用其它的编辑器
svg
将config.xml内的<content src="index.html" />
的src改为项目地址.net
添加白名单,在config.xml内添加code
<allow-navigation href="http://*/*" /> <allow-navigation href="https://*/*" />
好比我放入csdn博客的连接https://blog.csdn.net/kikyou_csdn
后打包能够看到
orm