0

So I noticed that in android project build.gradle file under app folder contains signing keys with passwords etc. First of all signed apk will contain all this info in it? And it as well gets pushed to github so it's visible for everyone can I remove it from there? And lastlu why I need all this info there?

LeTadas
  • 3,436
  • 9
  • 33
  • 65
  • 1
    I've come across this too. Signed apk will not contain this afaik since the `build.gradle` file has no business being in your final app. I'd be more worried about GitHub. What I do is I never attach signing to the run configuration for the app (I never run release builds via android studio). You shouldn't need to even since you can just use debug builds and sign off release builds on the fly when you need to release. – Joey Dalu Dec 18 '18 at 19:41
  • allright so if I remove it from build.gradle before pushing to github will I need to add it back whenever I will make signed apks? – LeTadas Dec 18 '18 at 19:44
  • check for better solution on answer this was marked as duplicate of, – Joey Dalu Dec 18 '18 at 20:08

0 Answers0