为了账号安全,请及时绑定邮箱和手机立即绑定

在Androidstudio中添加外部库

在Androidstudio中添加外部库

慕哥9229398 2019-06-25 17:57:48
在Androidstudio中添加外部库我想添加外部库https:/github.com/Foursquare/Foursquare-Android-OAuth对于我的Android应用程序(我使用AndroidStudio,lib Author for Eclipse提供的说明不适用于AndroidStudio)。我尝试用maven来完成它,所以在File->ProjectStructure->Dependations中,我添加了com.foursquare:foursquare-android-nativeoauth-lib:1.0.0但是Gradle Sync失败了:Error:Failed to find: com.foursquare:foursquare-android-nativeoauth-lib:1.0.0当我试图构建我的应用程序时(不修复上面的错误,因为我不知道怎么做),我得到了:Error:A problem occurred configuring project ':app'.> Could not resolve all dependencies for configuration ':app:_debugCompile'.> Could not resolve com.foursquare:foursquare-android-nativeoauth-lib:1.0.0.  Required by:     ForSquaresOnly:app:unspecified   > Could not parse POM http://jcenter.bintray.com/com/foursquare/foursquare-android-nativeoauth-lib/1.0.0/foursquare-android-nativeoauth-lib-1.0.0.pom      > Could not find any version that matches com.foursquare:parent:1.0.0.还有其他方法来导入这个库吗?我可以简单地将源代码复制到我的源代码中,或者用它创建JAR?顺便说一句:如果遇到问题,请看这个问题(我在导入之后遇到了这个问题):清单合并失败:使用-sdk:minSdkVersion 14
查看完整描述

3 回答

  • 3 回答
  • 0 关注
  • 1107 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信