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

android_set_version_code not work? #3

Open
semionenko opened this issue Jan 17, 2019 · 3 comments
Open

android_set_version_code not work? #3

semionenko opened this issue Jan 17, 2019 · 3 comments

Comments

@semionenko
Copy link

semionenko commented Jan 17, 2019

Before creating an apk file, I call android_set_version_code & android_set_version_name, but it seems that only android_set_version_name works. Before and after creating apk, I use to check android_get_version_code, but then I check the output.json file, in which buildCode: 1, and buildName: "8539".

5

app/build.gradle file after using plugin:
4

@semionenko
Copy link
Author

You can close this issue. I found problem. If in build.gradle file exist text "versionCode" command android_set_version_code not work.

@rjuevesano
Copy link

android_set_version_code(version_code: 1690964015)

I'm getting this error
image

@rjuevesano
Copy link

(FIXED) by adding gradle_file :)

android_set_version_code(
    version_code: ENV["ANDROID_VERSION_CODE"],
    gradle_file: './android/app/build.gradle'
)

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

2 participants