while i do changes in any page code there is a prompt message "localhost:8100 says gap_init:3" shown. then I clicked 'ok' button another 5 messages shown. close browser and open it again work well. but do any changes it show this prompt. how to fix it?. thanks in advance prompt error message console was be like that console error
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
Just disable the
prompt
and you are on the go.With that you could just ignore the prompted message because in the webview the
prompt
itself are disable.I ran into the same issue. I was using
ionic cordova run browser --livereload
. Try changing the simulator to an iPhone in Chrome. Worked for me.This error you get when you use the following command directly as follows:
I SUGGEST TO FOLLOW THIS METHOD, IF YOU WANT TO RUN THE APP IN BROWSER
This way you get www folder where you can upload to server and check the whole app in browser directly
Then follow to make the app ready for google play store
I entered the following command in terminal continuously and directly in one time:
Problem got away and
gap_init:3
didn't show up.Delete the cordova.js from the www folder
When I had this problem, I was playing around with different Ionic / Angular versions and their build tools. The problem for me boiled down to 2 different cordova.js files being included into the page. After quite some time I realized that I had an outdated cordova.js output file in my www folder. Clearing the whole folder solved the problem.
After trying the above answers without success, I simply deleted the www folder and
ionic serve
again worked as expected