@jf1 wrote:
Hello and thanks for ionic.
I would to know how to develop android with livereload :
here my process:
[
] $ ionic start mytest
[] $ ionic platform android
[] connect an android device by usb (Samsung)
[] adb devices : find device
[] ionic run android
[] ionic run android -l -c
Application Error
There was a network error. (http:// 192.168.1.x:8100/)as topic say https://forum.ionicframework.com/t/ionic-run-android-livereload-not-working-ionic-2/44800
[
] ionic plugin add https://github.com/apache/cordova-plugin-whitelist.git
[
] Same prompt come.
I suppose i would be good on ionic 2 but not with ionic 1.
So i open the config.xml and add 2 rules :
allow-navigation href="http://localhost:8100/*"
allow-navigation href="http://192.168.1.x:8100/*"perhaps not the good ones ?
[
] Same prompt come.
as say http://blog.ionic.io/handling-cors-issues-in-ionic/ it's probably a CORS issue.
Yep but myTest make no send request yet
Hope someone to help
using : CLI 1.7.16
Best regards
Posts: 1
Participants: 1