简体   繁体   中英

Why is Facebook Android sdk a Project?

Anyone knows why is Facebook for Android SDK distributed as a Library Project instead of a jar?

I know you "can" compile it as a jar and everything, just wondering if there is any advantage on distribute it like that.

The primary reason why the Facebook SDK is distributed as a Library Project is probably because it contains resources. This is the most straightforward way to distribute this kind of thing with resources. You can't simply compile it as a jar file.

One advantage is that you can make modifications to the source if you need to. The Facebook SDK is known to be buggy and a real pain to use in general. The ability to fix stuff is incredibly helpful, and it also gives you the option to create pull requests to their project on GitHub.

因为这样做不会使库项目的资源访问依赖项目。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM