我在PDF瀏覽器得到了錯誤的方法16,0的Android()當我嘗試在Android Studio中打開它https://github.com/barteksc/AndroidPdfViewer錯誤:(16,0)無法找到論據
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
}
}
allprojects {
repositories {
jcenter()
}
}
android {
compileSdkVersion 15
buildToolsVersion '21.1.2'
}
你應該嘗試克隆整個項目,並嘗試運行它。對於初學者,你的compileSdk版本是相當陳舊的 –
當我打開並再次嘗試新我得到這個錯誤「錯誤:無法找到構建工具修訂23.0.3」 – Heri