Closed shbadawy closed 4 years ago
Same issue happened with me, can you please help me?
Please provide the stack trace: ./gradlew publishApk --stacktrace
@SUPERCILEX Thank you for your reply. I have uploaded a txt file with the stack trace
@shbadawy oops, looks like you forgot to bump the APK version code. Can you set it to 101 and make sure the error you get is the same as in the screenshot?
@SUPERCILEX Oops, My bad. I have just updated the file
@shbadawy You're using snapshot builds, right? Can you run ./gradlew --refresh-dependencies
and see if the fix works?
@SUPERCILEX That is amazing I tried it and it worked. Thank you for your time. Could you provide a brief explanation of why the --refresh-dependencies
switch solved the problem ?
Glad it works! For people not on snapshot builds, I'm hoping to make a release sometime this weekend.
@shbadawy As for --refresh-dependencies
, it just tells Gradle to ignore the dependency cache. (This is necessary for snapshot builds because I'm overwriting the same 2.8.0-SNAPSHOT
release again and again.)
Describe the bug
While trying to publish the APK file to the playstore using a BitBucket pipeline to track "alpha" , I get this error inspite of the fact that the track exists and I can manually publish to this track using Android Studio
How To Reproduce
Versions
build.gradle.txt build.gradle2.txt
Tasks executed
What tasks did you run?
publishApk
.Expected behavior
Publish the APK file to the play store successfully.
Additional context (if a crash, provide stack trace)
Add any other context about the problem here. If this bug is a crash, run the task with
--stacktrace
to get the full context.log.txt