我想将一个库项目导入到我的应用程序中,但每当我尝试这样做时,Android Studio都无法识别它 它也给我错误build.gradle .. 图书馆是:PagerSlidingTabStrip …. 这里有一些图片: 我一直在努力使它工作3天迄今! 请帮帮我 :) 编辑: apply plugin: 'android-library' dependencies { compile 'com.android.support:support-v4:19.0.0' } android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION defaultConfig { minSdkVersion 8 targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION) } sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] res.srcDirs = ['res'] } } } apply from: 'https://raw.github.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle' 编辑2: FAILURE: Build failed with […]