I’m trying to publish my android app to Google play store. It seems to me that I have to set debuggable to false (in gradle file). But, the issue what that is, when I set it to false and I built the app, it gets built (.aab) or just regular build with different version code and name than what I specified in gradle file!!!! The version code increases every time I commit to the branch and the version name includes my commit name!!
If I set debuggable to true, when building the app, it does get built with version code and name of whatever I specify in gradle file.
My question is, how do I make the app when it is built to pickup the version code and name from gradle file when debuggable is set to false?
I tried to set debuggable to true and publish app to google (since setting it to true makes the build to pickup the version code and name that I specify in gradle), but I get an error in google saying app was not signed.
Mohamed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.