在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):mente/facebook-api-android-aar开源软件地址(OpenSource Url):https://github.com/mente/facebook-api-android-aar开源编程语言(OpenSource Language):Groovy 77.0%开源软件介绍(OpenSource Introduction):DEPRECATEDFacebook published own SDK to maven. Using it is encouraged. facebook-api-android-aarFacebook Android SDK library built with gradle in aar format for usage with android gradle build system. Versions included: 3.0.2, 3.5.0, 3.5.2, 3.6.0, 3.7.0, 3.8.0, 3.14.1, 3.15.0, 3.16, 3.17.1, 3.19.0, 3.19.1, 3.20 How to useBefore you can get aar you should checkout facebook-android-sdk submodule. Overall build process including build is straightforward: $ git submodule update --init
...
$ ./gradlew build
... When build is finished aar file will be located in WARNING for >3.14 sdk usersStarting from 3.14 version facebook depends on bolts framework. Android gradle plugin does not resolve aar dependencies implicitly. You'll have to make it explicitly: compile ('com.facebook:facebook-android-sdk:+@aar') {
transitive = true
} Maven artifactFor a lazy people (such as I) there's a maven repository with already built facebook artifact located at http://mente.github.io/facebook-api-android-aar . buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:+'
}
}
repositories {
mavenCentral()
mavenLocal()
maven {
url "http://mente.github.io/facebook-api-android-aar"
}
}
apply plugin: 'android'
dependencies {
compile ('com.facebook:facebook-android-sdk:+@aar') {
transitive = true
}
//your other dependencies
}
android {
//android build setup
} |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论