我是新手:)并尝试将telegram
应用程序导入我的Android Studio。
现在我有这个错误,无论如何我无法解决。
Error:(10, 0) Gradle DSL method not found: 'android()'
Possible causes:<ul><li>The project 'Telegram-master' may be using a version of Gradle that does not contain the method.
<a href="open.wrapper.file">Open Gradle wrapper file</a></li><li>The build file may be missing a Gradle plugin.
<a href="apply.gradle.plugin">Apply Gradle plugin</a></li>
Build.gradle:
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
}
}
android {
buildToolsVersion '23.0.1'
}
dependencies {
}
Gradle.properties:
RELEASE_STORE_PASSWORD=password
RELEASE_KEY_ALIAS=alias
RELEASE_KEY_PASSWORD=password
gradle-wrapper.properties
#Tue Jun 16 02:56:07 KRAT 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
我已经搜索过堆栈,因为我无法解决这个问题。
我该如何解决这个问题?
感谢。