Jonah G.
Jonah G.

Reputation: 3

What files do I add from an APK to a GitHub Repository?

If I wanted to add files from a decompiled APK to a GitHub repository, which files should I use? Do I need to convert the classes.dex file to a .jar then add it? Do I need to include all of the .xml files from the "res" directory? Thanks in advance.

Upvotes: 0

Views: 952

Answers (1)

JoshuaRLi
JoshuaRLi

Reputation: 1735

AFAIK GitHub does not impose any restrictions on what kinds of files are included in uploaded git repositories. You're free to add whatever you want.

There is a filesize restriction though, look into LFS for more detail if applicable to your use case. Also be careful that you are not uploading any sensitive information (private ssh keys, api keys, etc.) in public GitHub repositories. This can be facilitated via .gitignore files or even just moving the secrets outside of your local repository.

And - be nice to GitHub. I've seen countless of repositories where people carelessly upload heavy build artifacts and large, useless things like random compiled binaries and other similar junk.

Upvotes: 1

Related Questions