Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Gradle build add additional digit '8' after versionCode #462

Closed
amirudin opened this issue Oct 8, 2015 · 9 comments
Closed

[Build] Gradle build add additional digit '8' after versionCode #462

amirudin opened this issue Oct 8, 2015 · 9 comments

Comments

@amirudin
Copy link

@amirudin amirudin commented Oct 8, 2015

@jskrepnek
Copy link

@jskrepnek jskrepnek commented Jan 15, 2016

+1

any known work arounds?

@bau720123
Copy link

@bau720123 bau720123 commented Feb 11, 2016

+1

1 similar comment
@bmjjohn
Copy link

@bmjjohn bmjjohn commented Mar 3, 2016

+1

@wildabeast
Copy link
Collaborator

@wildabeast wildabeast commented Mar 11, 2016

The android-versionCode preference should now override the one messed with by gradle. Use this:

<preference name="android-versionCode" value="1234" />
@wildabeast wildabeast closed this Mar 11, 2016
@jskrepnek
Copy link

@jskrepnek jskrepnek commented Mar 11, 2016

Is that live on Build now @wildabeast?

@wildabeast
Copy link
Collaborator

@wildabeast wildabeast commented Mar 11, 2016

@jskrepnek its live yes

@hung-doan
Copy link

@hung-doan hung-doan commented Jun 30, 2016

@wildabeast Is it working?, I have just tried, but I seem not working.

@hung-doan
Copy link

@hung-doan hung-doan commented Jun 30, 2016

I follow this tutorial to extend cdvVersionCode. It works perfectly
https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#extending-build-gradle

@prantikv
Copy link

@prantikv prantikv commented Mar 18, 2017

@hung-doan can you provide the script that you used to copy the file before build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
7 participants
You can’t perform that action at this time.