Building with cli-5.2.0 works fine. Uploaded build number 626 and it correctly shows in Google Play as version code 626.
Statens vegvesen Vegdirektoratet
- 29 Posts
- 0 Reply Likes
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Could you please try and set the phonegap-build-tool to 'ant', then rebuild?
Statens vegvesen Vegdirektoratet
- 29 Posts
- 0 Reply Likes
That didn't do any difference, still that extra 8 in the end, so I tried with what I found in a blog post
That made the build fail with the this log
http://pastebin.com/D6HHPr6X
Which preference was correct?
When can we expect a fix for the problem?
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Doesn't look like a failing build. It says BUILD SUCCESSFUL.
That made the build fail with the this log
Which preference was correct?Can't tell. Your code didn't show. Use a CODE element around your code as described under "some HTML allowed".
When can we expect a fix for the problem?There is a bug report for this at the PGB Github, dated October 2015. No progress.
https://github.com/phonegap/build/iss...
Not likely to see any solution, soon.
Statens vegvesen Vegdirektoratet
- 29 Posts
- 0 Reply Likes
It's also strange with the bug report from October, as cli-6.0.0 was released this month.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
config.xml.
Please use some HTML (like <code></code>). (see attached image)

Statens vegvesen Vegdirektoratet
- 29 Posts
- 0 Reply Likes
ryan, Developer
- 1538 Posts
- 132 Reply Likes
Statens vegvesen Vegdirektoratet
- 29 Posts
- 0 Reply Likes
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
ryan, Developer
- 1538 Posts
- 132 Reply Likes
Statens vegvesen Vegdirektoratet
- 29 Posts
- 0 Reply Likes
- 186 Posts
- 5 Reply Likes
I dont understand what Im supposed to to now.
see the picture I attached below in a post from yesterday.
should I do whats written here:
http://stackoverflow.com/questions/16...
I need to know a way that will 100% make sure my users will get an update and that PGB new versioning system does not impact that.
please advise ASAP
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
If this is really the issue,
a. Google worded that error message really badly
b. the issue has nothing to do with gradle.
- 186 Posts
- 5 Reply Likes
this is why I'd be happy if someone can shed light on this by sharing his experience. meaning he did encountered the problem, did whats stated in the stackoverflow post I suggested earlier and his users got the update for the app as a regular update
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Since you are in a hurry, wouldn't you want to try shouting at PGB on Twitter? They might get alerted, then.
- 186 Posts
- 5 Reply Likes
whats the PGB guys twitter?
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
https://twitter.com/phonegap
- 186 Posts
- 5 Reply Likes
so what is the proper way to tackle this?
I need to upload a new version to google play and getting the attached picture as a result. needless to say my version code in the config xml is 32 and not 328.
what should I do in order to publish the app? and of course have the playstore tell users that they have an update...
thanks for your time
BTW, I am using cli 6 with gradle. tried simply moving to ANT but the PGB portal states the build fails (even though the log does not show errors), reverted back to gradle and the build passed fine

- 186 Posts
- 5 Reply Likes
how did everyone bypass this?
thanks!
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
:-(
- 186 Posts
- 5 Reply Likes
problem is i cant build with ant... I get the "Oh geez. Your build failed. Sorry, but a problem occurred on the build server"
even though like I said I dont see any problems in the log, all I see is: "BUILD SUCCESSFUL
Total time: 47.789 secs
Built the following apk(s):
/project/build/outputs/apk/project-release-unsigned.apk" in the end
my app ID is 544921
can someone please assist?
thanks!
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
This sounds very strange to me. How can a release project be unsigned?
- 186 Posts
- 5 Reply Likes
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
It is very strange that they will not fix this and will not provide doc to explain what we can do. they closed the bug as wont_fix.
Based upon what Ryan wrote above, they don't consider it a bug. The PGB team might not fully understand the consequences, though.
ryan, Developer
- 1538 Posts
- 132 Reply Likes
<preference name="android-versionCode" value="1234" />
and this should override the gradle versioning issues. Let me know if it works for you.
- 186 Posts
- 5 Reply Likes
- 186 Posts
- 5 Reply Likes
so I have used the preference above and the version code is fine.
I already published my app update and verified that it is pushed as an update to my app users.
thanks
- 9 Posts
- 0 Reply Likes
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers





