Cordova android livereload(-L option) does not work!

Here is what I did to restore my debug of ionic application with android simulator. This may work with non-ionic applications as long as cordova is the underlying framework, however I have not tested.

Step 1: Open file config.xml in your project root folder.

Step 2: Find the line <content src=”index.html”…./> and change it to: <content original-src=”index.html” src=”http://localhost:8100″/>

Step 3: Kill all executing ionic processes including adb.exe and rerun with command and it should just work!

ionic cordova run android -l