AnsweredAssumed Answered

getting error while implementing smack 4.1.3 in android studio

Question asked by nisha on Jul 15, 2015

A problem occurred evaluating project ':smack-android'.

> Could not find property 'androidProjects' on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Dec orated@14a43a37.


dependencies {

// androidProjects lists all projects that are checked to compile against android.jar

// Filter out the optional Smack dependencies from androidProjects

androidProjects.findAll {

  ![':smack-tcp', ':smack-extensions', ':smack-experimental', ':smack-bosh'].contains(it.getPath())

}.each { project ->

  compile project





compileJava {

options.bootClasspath = androidBootClasspath