Gradle Dsl Cannot Find Sources()
I'm quite new to AR and I'm using Android Studio 2.1.2 and I tried to run the examples provided by ARToolKit. the error says: Gradle DSL method not found: 'sources()' I'm using G
Solution 1:
have you followed these instructions on how to set-up your environment with ARToolKit and native development?
http://artoolkit.org/documentation/doku.php?id=4_Android:android_native
Please follow these instructions as they guide you to setup your system even if you do not aim to develop native.
Other than that I cannot do much as your description contains to less information.
The ARToolKit examples ship with a preconfigured gradle.wrapper that contains the correct version and the examples generally build out of the box.
gradle.wrapper
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
build.gradle (From ARSimpleProj)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle-experimental:0.2.1'// NOTE: Do not place your application dependencies here; they belong// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
Post a Comment for "Gradle Dsl Cannot Find Sources()"