-2

I have successfully pushed everything to GitHub from Android Studio, except the generated apk file.

Can anyone help me how to push the apk file to the GitHub repo?

Benjamin W.
  • 46,058
  • 19
  • 106
  • 116
Sayom
  • 147
  • 1
  • 2
  • 7

1 Answers1

2

You usually don't push any generated code or artifacts into a repository and Github lets you manually upload artifacts for that purpose (check Releases).

Check your .gitignore file in your project for the line containing the build folder. That's usually per default in every project since it's really bad practise putting those into version control.

David Medenjak
  • 33,993
  • 14
  • 106
  • 134
  • 1
    Yes Github is uploading the artifacts for me. In those artifacts, I want the apk file to also go as I need that when I need to run the same from Jenkins.I have checked the .gitignore file and removed the build folder, but with no luck. – Sayom Jan 10 '16 at 14:45