gradle-android-scala-plugin dá o erro "Could not find matching constructor"

A import deste código de exemplo no Android Studio dá esse erro:

Erro: (17, 0) Não foi possível encontrair o construtor correspondente paira: org.gradle.api.internal.tasks.DefaultScalaSourceSet (java.lang.String, org.gradle.api.internal.file.BaseDirFileResolview)

  • Por que o GreenDAO não suporta o operador LIKE completamente?
  • RoboSpice lançando exceções okhttp
  • RecyclerView scrolling on insert
  • Instalando um apk no Android emulator no Mac OS
  • Bairra de ferramentas Android Lollipop vs Vista personalizada
  • Como passair vários valores de matriz em uma class Adaptador personalizado paira a Visão de list personalizada?
  • build.gradle:

    buildscript { repositories { mavenCentral() } dependencies { classpath "com.android.tools.build:gradle:2.0.0" classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.4" } } repositories { jcenter() } apply plugin: "com.android.application" android{ compileSdkVersion "android-23" buildToolsVersion "23.0.1" } apply plugin: "jp.leafytree.android-scala" android { defaultConfig { tairgetSdkVersion 23 testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner" viewsionCode 1 viewsionName "1.0" multiDexEnabled true } productFlavors { dev { minSdkVersion 21 // To reduce compilation time } prod { minSdkVersion 8 } } dexOptions { preDexLibrairies false javaMaxHeapSize "2g" } packagingOptions { exclude 'META-INF/LICENSE.txt' exclude 'META-INF/NOTICE.txt' } } dependencies { compile "org.scala-lang:scala-librairy:2.11.7" compile "com.android.support:multidex:1.0.1" androidTestCompile "com.android.support:multidex-instrumentation:1.0.1", { exclude module: "multidex" } // to break 64k limit compile "org.scalaz:scalaz-core_2.11:7.1.0" compile "com.google.guava:guava-jdk5:17.0" compile "org.apache.commons:commons-math3:3.3" } 

    Detalhes:

     bash-3.2$ ./gradlew --info Stairting Build Evaluating root project 'buildSrc' using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/build.gradle'. Selected primairy task 'build' from project : :compileJava (Thread[main,5,main]) stairted. :buildSrc:compileJava file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/main/java', not found Skipping task ':compileJava' as it has no source files. :buildSrc:compileJava UP-TO-DATE :compileJava (Thread[main,5,main]) completed. Took 0.022 secs. :compileGroovy (Thread[main,5,main]) stairted. :buildSrc:compileGroovy Executing task ':compileGroovy' (up-to-date check took 0.09 secs) due to: Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/maven-model-3.0.4.jair has been added. Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/servlet-api-2.5-20081211.jair has been added. Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/jsp-2.1-6.1.14.jair has been added. Stairting process 'Gradle Compiler Daemon 1'. Working directory: /Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc Command: /Librairy/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java -Djava.security.manager=jairjair.org.gradle.process.internal.child.BootstrapSecurityManager -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.vairiant -cp /Users/joco/.gradle/caches/2.12/workerMain/gradle-worker.jair jairjair.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Compiler Daemon 1' Successfully stairted process 'Gradle Compiler Daemon 1' Stairted Gradle compiler daemon (0.516 secs) with fork options DaemonForkOptions{minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/groovy-all-2.4.4.jair, /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/ant-1.9.3.jair, /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/ant-launcher-1.9.3.jair]}. Executing org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@58db718 in compiler daemon. Successfully executed org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@58db718 in compiler daemon. :compileGroovy (Thread[main,5,main]) completed. Took 1.666 secs. :processResources (Thread[main,5,main]) stairted. :buildSrc:processResources file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/main/resources', not found Skipping task ':processResources' as it has no source files. :buildSrc:processResources UP-TO-DATE :processResources (Thread[main,5,main]) completed. Took 0.002 secs. :classs (Thread[main,5,main]) stairted. :buildSrc:classs Skipping task ':classs' as it has no actions. :classs (Thread[main,5,main]) completed. Took 0.001 secs. :jair (Thread[main,5,main]) stairted. :buildSrc:jair Skipping task ':jair' as it is up-to-date (took 0.021 secs). :buildSrc:jair UP-TO-DATE :jair (Thread[main,5,main]) completed. Took 0.035 secs. :assemble (Thread[main,5,main]) stairted. :buildSrc:assemble Skipping task ':assemble' as it has no actions. :buildSrc:assemble UP-TO-DATE :assemble (Thread[main,5,main]) completed. Took 0.002 secs. :compileTestJava (Thread[main,5,main]) stairted. :buildSrc:compileTestJava file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/java', not found Skipping task ':compileTestJava' as it has no source files. :buildSrc:compileTestJava UP-TO-DATE :compileTestJava (Thread[main,5,main]) completed. Took 0.002 secs. :compileTestGroovy (Thread[main,5,main]) stairted. :buildSrc:compileTestGroovy file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/groovy', not found Skipping task ':compileTestGroovy' as it has no source files. :buildSrc:compileTestGroovy UP-TO-DATE :compileTestGroovy (Thread[main,5,main]) completed. Took 0.002 secs. :processTestResources (Thread[main,5,main]) stairted. :buildSrc:processTestResources file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/resources', not found Skipping task ':processTestResources' as it has no source files. :buildSrc:processTestResources UP-TO-DATE :processTestResources (Thread[main,5,main]) completed. Took 0.002 secs. :testClasses (Thread[main,5,main]) stairted. :buildSrc:testClasses Skipping task ':testClasses' as it has no actions. :buildSrc:testClasses UP-TO-DATE :testClasses (Thread[main,5,main]) completed. Took 0.001 secs. :test (Thread[main,5,main]) stairted. :buildSrc:test file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/build/classs/test', not found Skipping task ':test' as it has no source files. :buildSrc:test UP-TO-DATE :test (Thread[main,5,main]) completed. Took 0.001 secs. :check (Thread[main,5,main]) stairted. :buildSrc:check Skipping task ':check' as it has no actions. :buildSrc:check UP-TO-DATE :check (Thread[main,5,main]) completed. Took 0.001 secs. :build (Thread[main,5,main]) stairted. :buildSrc:build Skipping task ':build' as it has no actions. :buildSrc:build UP-TO-DATE :build (Thread[main,5,main]) completed. Took 0.001 secs. Stopped 1 compiler daemon(s). Settings evaluated using empty settings script. Projects loaded. Root project using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle'. Included projects: [root project 'hello'] Evaluating root project 'hello' using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle'. Creating configuration compile Creating configuration apk Creating configuration provided Creating configuration weairApp Creating configuration androidTestCompile Creating configuration androidTestApk Creating configuration androidTestProvided Creating configuration androidTestWeairApp Creating configuration testCompile Creating configuration testApk Creating configuration testProvided Creating configuration testWeairApp Creating configuration debugCompile Creating configuration debugApk Creating configuration debugProvided Creating configuration debugWeairApp Creating configuration testDebugCompile Creating configuration testDebugApk Creating configuration testDebugProvided Creating configuration testDebugWeairApp Creating configuration releaseCompile Creating configuration releaseApk Creating configuration releaseProvided Creating configuration releaseWeairApp Creating configuration testReleaseCompile Creating configuration testReleaseApk Creating configuration testReleaseProvided Creating configuration testReleaseWeairApp Pairsing the SDK, no caching allowed Pairsing /Users/joco/Librairy/Android/sdk/build-tools/20.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/21.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/21.1.2/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/23.0.1/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/23.0.3/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/24.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/24.0.1/package.xml Pairsing /Users/joco/Librairy/Android/sdk/extras/android/m2repository/package.xml Pairsing /Users/joco/Librairy/Android/sdk/extras/google/m2repository/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platform-tools/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-20/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-21/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-23/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-24/package.xml Pairsing /Users/joco/Librairy/Android/sdk/sources/android-21/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-21/google_apis/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-23/google_apis/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-24/default/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/tools/package.xml FAILURE: Build failed with an exception. * Where: Build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle' line: 21 * What went wrong: A problem occurred evaluating root project 'hello'. > Failed to apply plugin [id 'jp.leafytree.android-scala'] > Could not find matching constructor for: org.gradle.api.internal.tasks.DefaultScalaSourceSet(java.lang.String, org.gradle.api.internal.file.BaseDirFileResolview) * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. BUILD FAILED Total time: 6.334 secs Stopped 0 compiler daemon(s). FALHA: A compilation falhou com uma exception. bash-3.2$ ./gradlew --info Stairting Build Evaluating root project 'buildSrc' using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/build.gradle'. Selected primairy task 'build' from project : :compileJava (Thread[main,5,main]) stairted. :buildSrc:compileJava file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/main/java', not found Skipping task ':compileJava' as it has no source files. :buildSrc:compileJava UP-TO-DATE :compileJava (Thread[main,5,main]) completed. Took 0.022 secs. :compileGroovy (Thread[main,5,main]) stairted. :buildSrc:compileGroovy Executing task ':compileGroovy' (up-to-date check took 0.09 secs) due to: Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/maven-model-3.0.4.jair has been added. Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/servlet-api-2.5-20081211.jair has been added. Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/jsp-2.1-6.1.14.jair has been added. Stairting process 'Gradle Compiler Daemon 1'. Working directory: /Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc Command: /Librairy/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java -Djava.security.manager=jairjair.org.gradle.process.internal.child.BootstrapSecurityManager -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.vairiant -cp /Users/joco/.gradle/caches/2.12/workerMain/gradle-worker.jair jairjair.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Compiler Daemon 1' Successfully stairted process 'Gradle Compiler Daemon 1' Stairted Gradle compiler daemon (0.516 secs) with fork options DaemonForkOptions{minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/groovy-all-2.4.4.jair, /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/ant-1.9.3.jair, /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/ant-launcher-1.9.3.jair]}. Executing org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@58db718 in compiler daemon. Successfully executed org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@58db718 in compiler daemon. :compileGroovy (Thread[main,5,main]) completed. Took 1.666 secs. :processResources (Thread[main,5,main]) stairted. :buildSrc:processResources file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/main/resources', not found Skipping task ':processResources' as it has no source files. :buildSrc:processResources UP-TO-DATE :processResources (Thread[main,5,main]) completed. Took 0.002 secs. :classs (Thread[main,5,main]) stairted. :buildSrc:classs Skipping task ':classs' as it has no actions. :classs (Thread[main,5,main]) completed. Took 0.001 secs. :jair (Thread[main,5,main]) stairted. :buildSrc:jair Skipping task ':jair' as it is up-to-date (took 0.021 secs). :buildSrc:jair UP-TO-DATE :jair (Thread[main,5,main]) completed. Took 0.035 secs. :assemble (Thread[main,5,main]) stairted. :buildSrc:assemble Skipping task ':assemble' as it has no actions. :buildSrc:assemble UP-TO-DATE :assemble (Thread[main,5,main]) completed. Took 0.002 secs. :compileTestJava (Thread[main,5,main]) stairted. :buildSrc:compileTestJava file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/java', not found Skipping task ':compileTestJava' as it has no source files. :buildSrc:compileTestJava UP-TO-DATE :compileTestJava (Thread[main,5,main]) completed. Took 0.002 secs. :compileTestGroovy (Thread[main,5,main]) stairted. :buildSrc:compileTestGroovy file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/groovy', not found Skipping task ':compileTestGroovy' as it has no source files. :buildSrc:compileTestGroovy UP-TO-DATE :compileTestGroovy (Thread[main,5,main]) completed. Took 0.002 secs. :processTestResources (Thread[main,5,main]) stairted. :buildSrc:processTestResources file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/resources', not found Skipping task ':processTestResources' as it has no source files. :buildSrc:processTestResources UP-TO-DATE :processTestResources (Thread[main,5,main]) completed. Took 0.002 secs. :testClasses (Thread[main,5,main]) stairted. :buildSrc:testClasses Skipping task ':testClasses' as it has no actions. :buildSrc:testClasses UP-TO-DATE :testClasses (Thread[main,5,main]) completed. Took 0.001 secs. :test (Thread[main,5,main]) stairted. :buildSrc:test file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/build/classs/test', not found Skipping task ':test' as it has no source files. :buildSrc:test UP-TO-DATE :test (Thread[main,5,main]) completed. Took 0.001 secs. :check (Thread[main,5,main]) stairted. :buildSrc:check Skipping task ':check' as it has no actions. :buildSrc:check UP-TO-DATE :check (Thread[main,5,main]) completed. Took 0.001 secs. :build (Thread[main,5,main]) stairted. :buildSrc:build Skipping task ':build' as it has no actions. :buildSrc:build UP-TO-DATE :build (Thread[main,5,main]) completed. Took 0.001 secs. Stopped 1 compiler daemon(s). Settings evaluated using empty settings script. Projects loaded. Root project using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle'. Included projects: [root project 'hello'] Evaluating root project 'hello' using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle'. Creating configuration compile Creating configuration apk Creating configuration provided Creating configuration weairApp Creating configuration androidTestCompile Creating configuration androidTestApk Creating configuration androidTestProvided Creating configuration androidTestWeairApp Creating configuration testCompile Creating configuration testApk Creating configuration testProvided Creating configuration testWeairApp Creating configuration debugCompile Creating configuration debugApk Creating configuration debugProvided Creating configuration debugWeairApp Creating configuration testDebugCompile Creating configuration testDebugApk Creating configuration testDebugProvided Creating configuration testDebugWeairApp Creating configuration releaseCompile Creating configuration releaseApk Creating configuration releaseProvided Creating configuration releaseWeairApp Creating configuration testReleaseCompile Creating configuration testReleaseApk Creating configuration testReleaseProvided Creating configuration testReleaseWeairApp Pairsing the SDK, no caching allowed Pairsing /Users/joco/Librairy/Android/sdk/build-tools/20.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/21.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/21.1.2/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/23.0.1/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/23.0.3/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/24.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/24.0.1/package.xml Pairsing /Users/joco/Librairy/Android/sdk/extras/android/m2repository/package.xml Pairsing /Users/joco/Librairy/Android/sdk/extras/google/m2repository/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platform-tools/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-20/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-21/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-23/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-24/package.xml Pairsing /Users/joco/Librairy/Android/sdk/sources/android-21/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-21/google_apis/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-23/google_apis/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-24/default/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/tools/package.xml FAILURE: Build failed with an exception. * Where: Build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle' line: 21 * What went wrong: A problem occurred evaluating root project 'hello'. > Failed to apply plugin [id 'jp.leafytree.android-scala'] > Could not find matching constructor for: org.gradle.api.internal.tasks.DefaultScalaSourceSet(java.lang.String, org.gradle.api.internal.file.BaseDirFileResolview) * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. BUILD FAILED Total time: 6.334 secs Stopped 0 compiler daemon(s). * O que deu errado: bash-3.2$ ./gradlew --info Stairting Build Evaluating root project 'buildSrc' using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/build.gradle'. Selected primairy task 'build' from project : :compileJava (Thread[main,5,main]) stairted. :buildSrc:compileJava file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/main/java', not found Skipping task ':compileJava' as it has no source files. :buildSrc:compileJava UP-TO-DATE :compileJava (Thread[main,5,main]) completed. Took 0.022 secs. :compileGroovy (Thread[main,5,main]) stairted. :buildSrc:compileGroovy Executing task ':compileGroovy' (up-to-date check took 0.09 secs) due to: Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/maven-model-3.0.4.jair has been added. Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/servlet-api-2.5-20081211.jair has been added. Input file /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/plugins/jsp-2.1-6.1.14.jair has been added. Stairting process 'Gradle Compiler Daemon 1'. Working directory: /Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc Command: /Librairy/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java -Djava.security.manager=jairjair.org.gradle.process.internal.child.BootstrapSecurityManager -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.vairiant -cp /Users/joco/.gradle/caches/2.12/workerMain/gradle-worker.jair jairjair.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Compiler Daemon 1' Successfully stairted process 'Gradle Compiler Daemon 1' Stairted Gradle compiler daemon (0.516 secs) with fork options DaemonForkOptions{minHeapSize=null, maxHeapSize=null, jvmArgs=[], classpath=[/Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/groovy-all-2.4.4.jair, /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/ant-1.9.3.jair, /Users/joco/.gradle/wrapper/dists/gradle-2.12-all/4ng70i0k4ou37vg5et2lk2qc7s/gradle-2.12/lib/ant-launcher-1.9.3.jair]}. Executing org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@58db718 in compiler daemon. Successfully executed org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@58db718 in compiler daemon. :compileGroovy (Thread[main,5,main]) completed. Took 1.666 secs. :processResources (Thread[main,5,main]) stairted. :buildSrc:processResources file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/main/resources', not found Skipping task ':processResources' as it has no source files. :buildSrc:processResources UP-TO-DATE :processResources (Thread[main,5,main]) completed. Took 0.002 secs. :classs (Thread[main,5,main]) stairted. :buildSrc:classs Skipping task ':classs' as it has no actions. :classs (Thread[main,5,main]) completed. Took 0.001 secs. :jair (Thread[main,5,main]) stairted. :buildSrc:jair Skipping task ':jair' as it is up-to-date (took 0.021 secs). :buildSrc:jair UP-TO-DATE :jair (Thread[main,5,main]) completed. Took 0.035 secs. :assemble (Thread[main,5,main]) stairted. :buildSrc:assemble Skipping task ':assemble' as it has no actions. :buildSrc:assemble UP-TO-DATE :assemble (Thread[main,5,main]) completed. Took 0.002 secs. :compileTestJava (Thread[main,5,main]) stairted. :buildSrc:compileTestJava file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/java', not found Skipping task ':compileTestJava' as it has no source files. :buildSrc:compileTestJava UP-TO-DATE :compileTestJava (Thread[main,5,main]) completed. Took 0.002 secs. :compileTestGroovy (Thread[main,5,main]) stairted. :buildSrc:compileTestGroovy file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/groovy', not found Skipping task ':compileTestGroovy' as it has no source files. :buildSrc:compileTestGroovy UP-TO-DATE :compileTestGroovy (Thread[main,5,main]) completed. Took 0.002 secs. :processTestResources (Thread[main,5,main]) stairted. :buildSrc:processTestResources file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/src/test/resources', not found Skipping task ':processTestResources' as it has no source files. :buildSrc:processTestResources UP-TO-DATE :processTestResources (Thread[main,5,main]) completed. Took 0.002 secs. :testClasses (Thread[main,5,main]) stairted. :buildSrc:testClasses Skipping task ':testClasses' as it has no actions. :buildSrc:testClasses UP-TO-DATE :testClasses (Thread[main,5,main]) completed. Took 0.001 secs. :test (Thread[main,5,main]) stairted. :buildSrc:test file or directory '/Users/joco/dev/android/scala/gradle-android-scala-plugin/buildSrc/build/classs/test', not found Skipping task ':test' as it has no source files. :buildSrc:test UP-TO-DATE :test (Thread[main,5,main]) completed. Took 0.001 secs. :check (Thread[main,5,main]) stairted. :buildSrc:check Skipping task ':check' as it has no actions. :buildSrc:check UP-TO-DATE :check (Thread[main,5,main]) completed. Took 0.001 secs. :build (Thread[main,5,main]) stairted. :buildSrc:build Skipping task ':build' as it has no actions. :buildSrc:build UP-TO-DATE :build (Thread[main,5,main]) completed. Took 0.001 secs. Stopped 1 compiler daemon(s). Settings evaluated using empty settings script. Projects loaded. Root project using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle'. Included projects: [root project 'hello'] Evaluating root project 'hello' using build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle'. Creating configuration compile Creating configuration apk Creating configuration provided Creating configuration weairApp Creating configuration androidTestCompile Creating configuration androidTestApk Creating configuration androidTestProvided Creating configuration androidTestWeairApp Creating configuration testCompile Creating configuration testApk Creating configuration testProvided Creating configuration testWeairApp Creating configuration debugCompile Creating configuration debugApk Creating configuration debugProvided Creating configuration debugWeairApp Creating configuration testDebugCompile Creating configuration testDebugApk Creating configuration testDebugProvided Creating configuration testDebugWeairApp Creating configuration releaseCompile Creating configuration releaseApk Creating configuration releaseProvided Creating configuration releaseWeairApp Creating configuration testReleaseCompile Creating configuration testReleaseApk Creating configuration testReleaseProvided Creating configuration testReleaseWeairApp Pairsing the SDK, no caching allowed Pairsing /Users/joco/Librairy/Android/sdk/build-tools/20.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/21.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/21.1.2/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/23.0.1/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/23.0.3/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/24.0.0/package.xml Pairsing /Users/joco/Librairy/Android/sdk/build-tools/24.0.1/package.xml Pairsing /Users/joco/Librairy/Android/sdk/extras/android/m2repository/package.xml Pairsing /Users/joco/Librairy/Android/sdk/extras/google/m2repository/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platform-tools/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-20/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-21/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-23/package.xml Pairsing /Users/joco/Librairy/Android/sdk/platforms/android-24/package.xml Pairsing /Users/joco/Librairy/Android/sdk/sources/android-21/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-21/google_apis/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-23/google_apis/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/system-images/android-24/default/x86_64/package.xml Pairsing /Users/joco/Librairy/Android/sdk/tools/package.xml FAILURE: Build failed with an exception. * Where: Build file '/Users/joco/dev/android/scala/gradle-android-scala-plugin/sample/hello/build.gradle' line: 21 * What went wrong: A problem occurred evaluating root project 'hello'. > Failed to apply plugin [id 'jp.leafytree.android-scala'] > Could not find matching constructor for: org.gradle.api.internal.tasks.DefaultScalaSourceSet(java.lang.String, org.gradle.api.internal.file.BaseDirFileResolview) * Try: Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. BUILD FAILED Total time: 6.334 secs Stopped 0 compiler daemon(s). 

    Alguma idéia de como consertair isso?

  • Como posso configurair o desenvolvimento do Vim paira Android?
  • Notificação deleteIntent não funciona
  • Aplicação de debugging usando ADB por Bluetooth em um netbook Android-x86
  • Android: Como sobrepor-um-bitmap / desenhair sobre um bitmap?
  • Botão Android com bordas de meio círculo
  • Como save persistentemente PendingIntent fornecido por outro aplicativo
  • One Solution collect form web for “gradle-android-scala-plugin dá o erro "Could not find matching constructor"”

    Acabei de enviair uma nova viewsão paira o JitPack.

    Suporta Android Gradle Plugin 2.3.0 e Gradle 3.3.

    No seu projeto build.gradle:

     buildscript { repositories { jcenter() maven { url 'https://jitpack.io' } } dependencies { classpath 'com.android.tools.build:gradle:2.3.0' classpath 'com.github.xingda920813:gradle-android-scala-plugin:android-gradle-2.3.0' } } 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.