cordova - Ionic Deploy on Android device -
ionic version: 1.5.5
cordova version: 5.0.0
ionic deploy: 0.1.6
i have followed instructions shown here
afterwards, ran:
ionic build android && ionic run android
later on, did small edit on index.html file , ran
ionic upload
following log, found file download tagged ionic_deploy_download
, , extract complete, error pops out
06-18 16:47:47.771: d/systemwebviewclient(7128): cordovawebviewclient.onreceivederror: error code=-1 description=net::err_file_not_found url=file:///data/data/com.org.app/app_eddaae501776ab76c86f69073/index.html 06-18 16:47:47.921: i/chromium(7128): [info:console(0)] "not allowed load local resource: file:///android_asset/webkit/android-weberror.png", source: data:text/html,chromewebdata (0)
edit
added log error
i had same problem.
during update on android, internal error generated trying create directory exists.
in git has fork corrects problem. (https://github.com/eweap/ionic-plugins-deploy).
to work. execute following commands:
$ cord plug rm com.ionic.deploy $ cord plugin add https://github.com/eweap/ionic-plugins-deploy $ ionic platform removes android $ ionic platform add android $ ionic run android
done!
Comments
Post a Comment