多次尝试,apk文件大小不会改变。
ionic revert android;
ionic browser add crosswalk-lite
ionic build android
我也尝试删除android平台并从头开始,但从未成功。
Your system information:
Cordova CLI: 5.0.0
Gulp version: CLI version 3.8.11
Gulp local: Local version 3.8.11
Ionic CLI Version: 1.4.4
Ionic App Lib Version: 0.0.20
OS: Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS
Node Version: v0.12.3
答案 0 :(得分:4)
同样在这里。 我猜crosswalk-lite是如此新颖,离子仍然不能很好地应对它。或者确实如此,但现在情况发生了变化。
当我跑步时:
/***************************/
jQuery( document ).ready(function( $ ) {
/* selecy key from list , insert into field */
$('#select_start_key').change(function(){
var val1 = $('#select_start_key').val();
$('#start_key').val(val1);
/*reset the select to none*/
$('#select_start_key').val("");
});
});
我收到了这个ionic browser remove crosswalk
ionic browser remove crosswalk-lite
ionic browser add crosswalk-lite
文件:
ionic.project
{
"name": "chapter5",
"app_id": "27fa0870",
"browsers": [
{
"platform": "android",
"browser": "crosswalk-lite",
"version": "12.41.296.5"
}
]
}
输出:
ionic info
另外,当你运行Cordova CLI: 4.2.0
Gulp version: CLI version 3.8.11
Gulp local:
Ionic Version: 1.0.0-rc.0
Ionic CLI Version: 1.4.5
Ionic App Lib Version: 0.0.22
OS: Distributor ID: Fedora Description: Fedora release 21
(Twenty One)
Node Version: v0.10.36
:
browser add
还有你的cordova-crosswalk-engine。我说:Android project created with cordova-android@4.0.0-dev
这些都是相互关联的,可能会导致奇怪的错误。