我已经开始按照developer.linkedin.com提供的入门指南将LinkedIn登录集成到我的应用程序中
我已经下载了Android手机SDK,并在我的项目中导入了linked - SDK。
在build.gradle中添加了以下行:
compile project(':linkedin-sdk')
在我的settings.gradle中添加了以下行:
include ':linkedin-sdk'
当我同步项目,我得到以下错误:
Error:(8, 0) Plugin with id 'robolectric' not found.
非常感谢任何帮助。谢谢!
作为快速解决方案,请从linked-sdk
build.gradle
文件中删除下一行:
buildscript {
...
dependencies {
classpath 'org.robolectric:robolectric-gradle-plugin:0.14.+'
}
}
apply plugin: 'robolectric'
这些也是为了100%确定:
androidTestCompile('junit:junit:4.12')
androidTestCompile('org.robolectric:robolectric:2.4')
我希望你也知道你包括volley
到你的应用程序。所以你可能会遇到重复的类错误,而索引