Visual Studio and onsen ui - error to build after change cordova to 6.0
OMG! After about 2 weeks, finally figured it out. Crazy too! I had written close to a 250 line function and after optimizing it and going back through the logic, I was able to reduce it to about 30 lines. Then with the heatmap normalization, one simple line to resolve a potential (and extremely nagging rare) math issue. BAM! Done.
I love it when things finally work.
Now when I can build with Cordova 5.1 I’ve sent an update to google play and to my surprise arghhh I have a delay on my first page html. No code changes , just migrate cordova. And I thought , I’ll rebuild a new update … but when I try to send , google says … this APK must be higher than 126.96.36.199
My visual studio settings alows 3 fields
So I tried 1.0.9
Or even 2.0.0 but I still receives this message.
My problems now lol
Delay after change to cordova 5.1 , no code changes.
And Google update fails
@munsterlander Munster what is the problem?
My 1° apk was 1.0.0 after 1.0.1 (but google says 188.8.131.52.1.8) and now i need to send other
but i don’t know what. 1.0.2? My brain!!!
remember that in visual studio i have 3 fields ( Major, minor build)
Solved here guys ohhhhh , Im’ tired lol simple thing ,but working a lot i burned my brain
On visual studio we have 3 fields Major/Minor/Build
But on another tab we have version code.
So my version is 1.0.1 and my current version code 184.108.40.206.1.8 (To send new update 220.127.116.11.1.9)
@Leonardo-Augusto I would try going big with 1.1 and see what happens.
The only other way I can think of is to manually sign your apk.
Also, what is your androidmanifest.xml actually show for version?
Yay! My problem was solved too. I finally found the math error. I had a closing parenthesis in the wrong spot.
@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 :)