Error compiling using ionic build android

1

I am developing a hybrid application using ionic framework , but I began to notice some errors when viewing the views in chrome, it was that I did not let me reflect more changes made at the level of code in the views; then I happened to firefox developer edition, and everything worked perfect.

The problem came yesterday that I compile using ionic build android to get the apk and install it, it was installed normally but the styles do not load together with the application, and the same error of the views that I did not redirect in chrome appears after compiling.

I clarify that in firefox developer edition and ionic lab these errors do not occur, I'm using flexbox, yes ionic does not support this I would appreciate someone helping me. I leave here the login view and as it is reflected in this case the no load of the file CSS .

    
asked by Pedro Miguel Pimienta Morales 09.03.2016 в 22:26
source

2 answers

1

You must bear in mind that the webview of each Android version is different, try if your webapp works with the native browser of the device, if it is not seen correctly it is because the CSS that you try to use does not support it. Do not be if you know Framework7, which is better optimized for hybrid apps.

    
answered by 12.03.2016 / 23:28
source
2

Even if you are handling ionic , which is a very good option, you can fix this error in the versions of each device with link .

This solves the problem, in addition to increasing the performance of your app, to install it in your project you just have to execute:

ionic plugin add cordova-plugin-crosswalk-webview

After this you can recompile your app and it will work correctly.

    
answered by 07.06.2016 в 02:57