简体   繁体   中英

How android install external library? For example Facebook SDK library

I am developing an android application which uses Facebook SDK library . There are 2 projects run on the emulator: my application .apk and facebook library .apk .

When I build my project I have only my application .apk without facebook library.

So I don't actually understand how this external shared library (facebook sdk) is installed on the real device. Unfortunately I also didn't find this issue in the official documentation.

Another thing which I want to ask is When I develop my own library for several projects how should i provide it to users? Should I post it to the market?

When you build your project, you are linking Facebook SDK as per the instructions listed here: https://developers.facebook.com/docs/guides/mobile/#android

when you do that, the apk created has the references for the Facebook SDK and it doesn't require any other apk to be loaded. You only need to install your app apk and to test SSO, install Facebook.apk provided as part of the Android SDK.

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