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
Supply tries to upload app-debug.apk
too instead of app-release.apk
#4675
Comments
@mmazzarolo Thanks for the report. I'm surprised that |
Sure! I'll give it a try tomorrow. |
Hey @asfalcone, cleaning the project before assembling it worked, thank you and thanks for this awesome tool! 🌻 desc "Submit a new Alpha Build to Play Store"
lane :alpha do
gradle(task: 'clean', project_dir: "android/") # <- Fixes it
gradle(task: "assemble", build_type: "Release", project_dir: "android/")
supply(track: "alpha", apk: "android/app/build/outputs/apk/app-release.apk")
end |
@mmazzarolo So glad you're up and running! 👍 |
same happened to me, i know it could be fixed with gradle clean, or setting apk_paths to ["RELEASE_APK_PATH"] instead of apk. But the sounds like more of a problem about the "apk_paths" setting. Shouldn't the default value be empty when apk is specified already? 😃 |
@colinyip Interesting suggestion. Right now we are going to stick with it the way it is as to not break others setups. |
app-debug.apk
to instead of app-release.apk
app-debug.apk
too instead of app-release.apk
Hello everyone!
Issue Description
Supply tries to upload
app-debug.apk
instead ofapp-release.apk
(I guess it checks forapk_paths
instead ofapk
if running gradle and supply in the same lane... but why isapk_paths
not empty?).The interested line in the log output is:
[14:48:08]: Preparing apk at path '/Users/matteo/dev/tony-app-react/android/app/build/outputs/apk/app-debug.apk' for upload...
Complete output when running fastlane, including the stack trace and command used
Configuration Files
Please copy the complete content of your
Fastfile
and any other configuration files you use below:Fastfile:
Environment
fastlane version (run
fastlane -v
): 1.89.0Do you use bundler to execute fastlane (i.e.
bundle exec fastlane
)? NoDo you use a Ruby environment manager (e.g.
chruby
,rbenv
,rvm
)? NoThe text was updated successfully, but these errors were encountered: