Visual Studio and onsen ui - error to build after change cordova to 6.0
-
@Leonardo-Augusto I have had this issue before specifically. I fixed it by rebuilding my keystore. Once that happened, everything worked. No idea why that fixed it though.
-
OK I’ll check lol code code code error error lol
-
@Leonardo-Augusto Agreed! I have been working on this one function for close to a week now. I am so close but keep getting small inconsistencies right now. For whatever reason, a switch break is breaking a for loop, but when I go small scale to test it out, it works. Driving me nuts!
-
Also here bro . I’ve found a way to compile Cordova 5.1no errors , but now my project copy seems too crazy lol . I’ll delete and rebuild with a new copy for security (To keep the original project safe)
Resolution
Re-setup the Certificates
Remove the PKCS12 setting for trust store set in the service parameters
Delete everything after the final “—–END” line. Check the lines using a good editor that shows you the characters being used, don’t trust your eyes.
Having back up of the keystore always helps to restore it when disaster happens.I can’t build with Codova higher than 5.1, but , i was working using Cordova 4.3. So i had a good progress!
-
Well, progress is good! I as well have had a major breakthrough in what I was doing. Now I am just trying to nail down why my math is returning infinity for normalizing values for heatmaps. So close, I can feel it. The end is near!
-
@munsterlander hhahaha good ! May the Force be with you
-
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 1.0.1.8
My visual studio settings alows 3 fields
So I tried 1.0.9
1.0.2,
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 1.0.0.0.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 1.0.0.0.1.8 (To send new update 1.0.0.0.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.
https://support.google.com/googleplay/android-developer/answer/113476?hl=en
http://developer.android.com/tools/publishing/versioning.html
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?