带插件的Android Studio编译问题

时间:2015-05-21 14:56:47

标签: android gradle

民间,

我正在尝试使用

com.github.ksoichiro:android-observablescrollview:1.5.1

我有几个问题促使我添加:

apply plugin: 'com.android.application'

repositories {
   mavenCentral()
}

到我的Project的build.gradle文件,现在当我尝试同步我的项目时,我收到以下消息:

Error:Cause: java.io.FileNotFoundException: D:\Backup 2015\Development\AndroidStudioProjects\IKAG\src\main\AndroidManifest.xml (The system cannot find the path specified)

这是我的整个build.gradle文件:

buildscript {
repositories {
    jcenter()

}
dependencies {
    classpath 'com.android.tools.build:gradle:1.2.3'





    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}

apply plugin: 'com.android.application'

//

repositories {
    mavenCentral()
}

android {
  compileSdkVersion 20
  buildToolsVersion '21.1.2'
}

dependencies {
// Other dependencies are omitted
    compile 'com.github.ksoichiro:android-observablescrollview:1.5.1'
}

allprojects {
repositories {
    jcenter()
}
}

0 个答案:

没有答案