Android facebook SDK as JAR

后端 未结 5 1625
闹比i
闹比i 2020-12-29 03:35

Are there any cons of build the facebook SDK library project into a JAR file(as ADT 16 does with library projects) and adding it to your project? I am not changing anything

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-29 04:01

    You can create a jar file :

    1. Download Facebook Android SDK from github.
    2. Extract it. (at any location).
    3. In Eclipse create new project using create project from existing source option
    4. Enter the project name as "com_facebook_android".
    5. Set Location to "facebook" folder in extracted location.
    6. Click Finish.
    7. Select the "com_facebook_android" project in project explorer and right click select export option.
    8. In the export wizard select JAR file in Java folder.
    9. Click next then browse the location for jar file and give the name as yor wish like "facebook-android.jar"
    10. Click finish........ JAR file will be created in that location

提交回复
热议问题