Visual Studio and onsen ui - error to build after change cordova to 6.0
-
@munsterlander lol is funny that sometimes the problem is before us and we are looking too distant . My problem , honestly , a matter to click on other tab and define the code version. I forgot it (Sorry my english)
-
which cordova version you are using ? 6?
-
@Leonardo-Augusto I am currently using 5.2.0. What features in 6 where you wanting to use?
-
@munsterlander nothing special. But on my ignorance i thought was good to work with a higher cordova version. Perhaps for security. Nowadays i have 2 apks on Google Play , all them using Cordova 4.3 And after Google say
Your app uses a version of Apache Cordova that contains one or more security vulnerabilities.
Lol i tried this update with cordova 5.1
So i’ll keep my projects with 4.3 before i get courage to migrate lol
-
@Leonardo-Augusto Onsen 1.x and 2 plays nice with 5.2. I would recommend going to that level. You have the security fixes you need, it passes Googles standards so that solves that problem.
-
@munsterlander good i’ll check ! Thanks Munst!
-
@munsterlander running all cordova versions now
The problem was here android:icon="@drawable/icon" ( Icon not found )
-
Sounds like the icons in your res folder are missing then. Is your manifest.xml file up to date?
-
@munsterlander yes , now is everything okay. For some reason i’ve lost the icons there. and visual studio couldn t to compile. And on my project with Cordova 4.3 i have all icons there. So i thought was a problem with sdk, cordova, configurations. But reading all log files >>> error to compile android:icon="@drawable/icon" ( Icon not found )
-
Great! Glad it worked out. Also, just learned that I needed to change the setting in my profile here on the forum for the group to display! Duh!
-
@munsterlander cool :)