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

Always return version code to 1 #12

Open
engmsaleh opened this issue Sep 19, 2018 · 10 comments
Open

Always return version code to 1 #12

engmsaleh opened this issue Sep 19, 2018 · 10 comments

Comments

@engmsaleh
Copy link

For each fastlane run, it always return version code to 1

@lukepighetti
Copy link

I am also getting this error, any resolution? @engmsaleh

@engmsaleh
Copy link
Author

@lukepighetti no, I have ended up removing the plugin as I remember :(

@lukepighetti
Copy link

@engmsaleh did you find any way to auto increment build number on Android? Thanks for your response. :)

@pitazzo
Copy link

pitazzo commented Mar 11, 2019

Same problem here!

@lukepighetti
Copy link

I don't believe this package is maintained anymore.

@olcayertas
Copy link

Try this plugin, it is working fine: Versioning Android

@brayanL
Copy link

brayanL commented Sep 23, 2019

NOT USE THIS FREAKING PLUGIN, YOU'LL WASTE YOUR TIME.

@oklimberg
Copy link
Collaborator

@brayanL No need to scream!

I am using this plugin for various android projects without any problems for nearly a year now.
But If anyone could provide a little more information on how to reproduce the error, I am happy to have a look into this.

@SamAlexMunro
Copy link

SamAlexMunro commented May 5, 2022

For me, the problem lay with this line flavorDimensions "versionCode" within the build.gradle

Removing that and custom flavors did the trick 👍

As to why this was the cause of the problem, I'm not sure, but at least it's a starting point for debugging 😄

@blwinters
Copy link

blwinters commented Jul 28, 2022

I think some people expect this plugin to commit the updated version code. I don't personally want that because I run this as part of CI/CD, but I think that's the confusion.

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

No branches or pull requests

8 participants