scala - Class file for android.support.v4.widget.DrawerLayout not found - Intellij (UI 14.141.1192.2) -


when compiling gradle can't find android.support.v4, though correctly declared in build.gradle.

i'm using android-scala plugin don't think issue because various other posts seem have same issue. intellij displays libraries under sidebar: "project view", @ compile time library "android.support.v4" not available, not after clean compile. have tried suggestions find on stackoverflow without success.

any appreciated

thanks

adam

error message:

error:scalac: error: class file android.support.v4.widget.drawerlayout$lockmode not found java.lang.assertionerror: class file android.support.v4.widget.drawerlayout$lockmode not found     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$enterowninnerclasses$1$$anonfun$12.apply(classfileparser.scala:1050)     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$enterowninnerclasses$1.apply(classfileparser.scala:1049)     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$enterowninnerclasses$1.apply(classfileparser.scala:1046)     @ scala.collection.mutable.hashmap$$anon$2$$anonfun$foreach$3.apply(hashmap.scala:108)     @ scala.collection.mutable.hashmap$$anon$2$$anonfun$foreach$3.apply(hashmap.scala:108)     @ scala.collection.mutable.hashtable$class.foreachentry(hashtable.scala:230)     @ scala.collection.mutable.hashmap.foreachentry(hashmap.scala:40)     @ scala.collection.mutable.hashmap$$anon$2.foreach(hashmap.scala:108)     @ scala.tools.nsc.symtab.classfile.classfileparser.enterowninnerclasses(classfileparser.scala:1046)     @ scala.tools.nsc.symtab.classfile.classfileparser.parseclass(classfileparser.scala:457)     @ scala.tools.nsc.symtab.classfile.classfileparser.parse(classfileparser.scala:133)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply$mcv$sp(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply(symbolloaders.scala:348)     @ scala.reflect.internal.symboltable.enteringphase(symboltable.scala:235)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader.docomplete(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$symbolloader.complete(symbolloaders.scala:212)     @ scala.reflect.internal.symbols$symbol.info(symbols.scala:1488)     @ scala.tools.nsc.globalsymbolloaders.scala$tools$nsc$globalsymbolloaders$$lookup$1(globalsymbolloaders.scala:19)     @ scala.tools.nsc.globalsymbolloaders$$anonfun$lookupmemberattyperphaseifpossible$1.apply(globalsymbolloaders.scala:25)     @ scala.tools.nsc.globalsymbolloaders$$anonfun$lookupmemberattyperphaseifpossible$1.apply(globalsymbolloaders.scala:25)     @ scala.reflect.internal.symboltable.enteringphase(symboltable.scala:235)     @ scala.tools.nsc.globalsymbolloaders.lookupmemberattyperphaseifpossible(globalsymbolloaders.scala:25)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$classfileparser$.lookupmemberattyperphaseifpossible(symbolloaders.scala:320)     @ scala.tools.nsc.symtab.classfile.classfileparser$innerclasses$.getmember$1(classfileparser.scala:1140)     @ scala.tools.nsc.symtab.classfile.classfileparser$innerclasses$.innersymbol(classfileparser.scala:1142)     @ scala.tools.nsc.symtab.classfile.classfileparser$innerclasses$.innersymbol(classfileparser.scala:1131)     @ scala.tools.nsc.symtab.classfile.classfileparser.classnametosymbol(classfileparser.scala:406)     @ scala.tools.nsc.symtab.classfile.classfileparser$constantpool.getclasssymbol(classfileparser.scala:225)     @ scala.tools.nsc.symtab.classfile.classfileparser$constantpool.getsuperclass(classfileparser.scala:284)     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$parseparents$1$1$$anonfun$4.apply(classfileparser.scala:431)     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$parseparents$1$1$$anonfun$4.apply(classfileparser.scala:431)     @ scala.collection.immutable.list.map(list.scala:273)     @ scala.tools.nsc.symtab.classfile.classfileparser.parseparents$1(classfileparser.scala:427)     @ scala.tools.nsc.symtab.classfile.classfileparser.parseclass(classfileparser.scala:453)     @ scala.tools.nsc.symtab.classfile.classfileparser.parse(classfileparser.scala:133)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply$mcv$sp(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply(symbolloaders.scala:348)     @ scala.reflect.internal.symboltable.enteringphase(symboltable.scala:235)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader.docomplete(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$symbolloader.complete(symbolloaders.scala:212)     @ scala.reflect.internal.symbols$symbol.info(symbols.scala:1488)     @ scala.tools.nsc.globalsymbolloaders.scala$tools$nsc$globalsymbolloaders$$lookup$1(globalsymbolloaders.scala:19)     @ scala.tools.nsc.globalsymbolloaders$$anonfun$lookupmemberattyperphaseifpossible$1.apply(globalsymbolloaders.scala:25)     @ scala.tools.nsc.globalsymbolloaders$$anonfun$lookupmemberattyperphaseifpossible$1.apply(globalsymbolloaders.scala:25)     @ scala.reflect.internal.symboltable.enteringphase(symboltable.scala:235)     @ scala.tools.nsc.globalsymbolloaders.lookupmemberattyperphaseifpossible(globalsymbolloaders.scala:25)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$classfileparser$.lookupmemberattyperphaseifpossible(symbolloaders.scala:320)     @ scala.tools.nsc.symtab.classfile.classfileparser$innerclasses$.getmember$1(classfileparser.scala:1140)     @ scala.tools.nsc.symtab.classfile.classfileparser$innerclasses$.innersymbol(classfileparser.scala:1142)     @ scala.tools.nsc.symtab.classfile.classfileparser$innerclasses$.innersymbol(classfileparser.scala:1131)     @ scala.tools.nsc.symtab.classfile.classfileparser.classnametosymbol(classfileparser.scala:406)     @ scala.tools.nsc.symtab.classfile.classfileparser$constantpool.getclasssymbol(classfileparser.scala:225)     @ scala.tools.nsc.symtab.classfile.classfileparser$constantpool.getsuperclass(classfileparser.scala:284)     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$parseparents$1$1$$anonfun$4.apply(classfileparser.scala:431)     @ scala.tools.nsc.symtab.classfile.classfileparser$$anonfun$parseparents$1$1$$anonfun$4.apply(classfileparser.scala:431)     @ scala.collection.immutable.list.map(list.scala:277)     @ scala.tools.nsc.symtab.classfile.classfileparser.parseparents$1(classfileparser.scala:427)     @ scala.tools.nsc.symtab.classfile.classfileparser.parseclass(classfileparser.scala:453)     @ scala.tools.nsc.symtab.classfile.classfileparser.parse(classfileparser.scala:133)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply$mcv$sp(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader$$anonfun$docomplete$2.apply(symbolloaders.scala:348)     @ scala.reflect.internal.symboltable.enteringphase(symboltable.scala:235)     @ scala.tools.nsc.symtab.symbolloaders$classfileloader.docomplete(symbolloaders.scala:348)     @ scala.tools.nsc.symtab.symbolloaders$symbolloader.complete(symbolloaders.scala:212)     @ scala.tools.nsc.symtab.symbolloaders$symbolloader.load(symbolloaders.scala:228)     @ scala.tools.nsc.typechecker.typers$typer.isstale(typers.scala:496)     @ scala.tools.nsc.typechecker.typers$typer.reallyexists(typers.scala:487)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$qualifies$1(typers.scala:4841)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$105.apply(typers.scala:4867)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$105.apply(typers.scala:4867)     @ scala.reflect.internal.symbols$symbol.filter(symbols.scala:1916)     @ scala.tools.nsc.typechecker.contexts$context.lookupimport$1(contexts.scala:1102)     @ scala.tools.nsc.typechecker.contexts$context.lookupsymbol(contexts.scala:1123)     @ scala.tools.nsc.typechecker.typers$typer.typedident$2(typers.scala:4867)     @ scala.tools.nsc.typechecker.typers$typer.typedidentorwildcard$1(typers.scala:4905)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5340)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typedtypeconstructor(typers.scala:5532)     @ scala.tools.nsc.typechecker.typers$typer.typedtypeconstructor(typers.scala:5549)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedparenttype(typers.scala:1468)     @ scala.tools.nsc.typechecker.typers$typer.typedparenttypes(typers.scala:1631)     @ scala.tools.nsc.typechecker.namers$namer.templatesig(namers.scala:919)     @ scala.tools.nsc.typechecker.namers$namer.classsig(namers.scala:968)     @ scala.tools.nsc.typechecker.namers$namer.getsig$1(namers.scala:1523)     @ scala.tools.nsc.typechecker.namers$namer.typesig(namers.scala:1541)     @ scala.tools.nsc.typechecker.namers$namer$$anonfun$monotypecompleter$1$$anonfun$apply$1.apply$mcv$sp(namers.scala:781)     @ scala.tools.nsc.typechecker.namers$namer$$anonfun$monotypecompleter$1$$anonfun$apply$1.apply(namers.scala:780)     @ scala.tools.nsc.typechecker.namers$namer$$anonfun$monotypecompleter$1$$anonfun$apply$1.apply(namers.scala:780)     @ scala.tools.nsc.typechecker.namers$namer.scala$tools$nsc$typechecker$namers$namer$$logandvalidate(namers.scala:1568)     @ scala.tools.nsc.typechecker.namers$namer$$anonfun$monotypecompleter$1.apply(namers.scala:780)     @ scala.tools.nsc.typechecker.namers$namer$$anonfun$monotypecompleter$1.apply(namers.scala:772)     @ scala.tools.nsc.typechecker.namers$$anon$1.completeimpl(namers.scala:1684)     @ scala.tools.nsc.typechecker.namers$lockingtypecompleter$class.complete(namers.scala:1692)     @ scala.tools.nsc.typechecker.namers$$anon$1.complete(namers.scala:1682)     @ scala.reflect.internal.symbols$symbol.info(symbols.scala:1488)     @ scala.reflect.internal.kinds$$anonfun$checkkindbounds0$2.apply(kinds.scala:215)     @ scala.reflect.internal.kinds$$anonfun$checkkindbounds0$2.apply(kinds.scala:211)     @ scala.reflect.internal.util.collections$class.flatmap2(collections.scala:130)     @ scala.reflect.internal.symboltable.flatmap2(symboltable.scala:16)     @ scala.reflect.internal.kinds$class.checkkindbounds0(kinds.scala:211)     @ scala.reflect.internal.symboltable.checkkindbounds0(symboltable.scala:16)     @ scala.tools.nsc.typechecker.infer$inferencer.checkkindbounds(infer.scala:902)     @ scala.tools.nsc.typechecker.infer$inferencer.check$1(infer.scala:893)     @ scala.tools.nsc.typechecker.infer$inferencer.checkbounds(infer.scala:898)     @ scala.tools.nsc.typechecker.typers$typer.typedtypeapply(typers.scala:3931)     @ scala.tools.nsc.typechecker.typers$typer.typedtypeapply$1(typers.scala:5149)     @ scala.tools.nsc.typechecker.typers$typer.typedoutsidepatternmode$1(typers.scala:5320)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5353)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typedarg(typers.scala:3163)     @ scala.tools.nsc.typechecker.patterntypers$patterntyper$class.typedargwithformal$1(patterntypers.scala:112)     @ scala.tools.nsc.typechecker.patterntypers$patterntyper$$anonfun$2.apply(patterntypers.scala:115)     @ scala.tools.nsc.typechecker.patterntypers$patterntyper$$anonfun$2.apply(patterntypers.scala:115)     @ scala.runtime.tuple2zipped$$anonfun$map$extension$1.apply(tuple2zipped.scala:46)     @ scala.runtime.tuple2zipped$$anonfun$map$extension$1.apply(tuple2zipped.scala:44)     @ scala.collection.immutable.list.foreach(list.scala:381)     @ scala.runtime.tuple2zipped$.map$extension(tuple2zipped.scala:44)     @ scala.tools.nsc.typechecker.patterntypers$patterntyper$class.typedargsforformals(patterntypers.scala:115)     @ scala.tools.nsc.typechecker.typers$typer.typedargsforformals(typers.scala:111)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$handlemonomorphiccall$1(typers.scala:3469)     @ scala.tools.nsc.typechecker.typers$typer.dotypedapply(typers.scala:3494)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$95.apply(typers.scala:4494)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$95.apply(typers.scala:4494)     @ scala.tools.nsc.typechecker.typers$typer.silent(typers.scala:680)     @ scala.tools.nsc.typechecker.typers$typer.trytypedapply$1(typers.scala:4494)     @ scala.tools.nsc.typechecker.typers$typer.normaltypedapply$1(typers.scala:4542)     @ scala.tools.nsc.typechecker.typers$typer.typedapply$1(typers.scala:4578)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5343)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typedblock(typers.scala:2382)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedoutsidepatternmode$1$1.apply(typers.scala:5318)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedoutsidepatternmode$1$1.apply(typers.scala:5318)     @ scala.tools.nsc.typechecker.typers$typer.typedoutsidepatternmode$1(typers.scala:5317)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5353)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5463)     @ scala.tools.nsc.typechecker.typers$typer.typedcase(typers.scala:2421)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedcases$1.apply(typers.scala:2440)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedcases$1.apply(typers.scala:2439)     @ scala.collection.immutable.list.loop$1(list.scala:173)     @ scala.collection.immutable.list.mapconserve(list.scala:189)     @ scala.tools.nsc.typechecker.typers$typer.typedcases(typers.scala:2439)     @ scala.tools.nsc.typechecker.typers$typer.typedmatch(typers.scala:2451)     @ scala.tools.nsc.typechecker.typers$typer.typedvirtualizedmatch$1(typers.scala:4309)     @ scala.tools.nsc.typechecker.typers$typer.typedoutsidepatternmode$1(typers.scala:5322)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5353)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typedbyvalueexpr(typers.scala:5452)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedstat$1(typers.scala:3046)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$62.apply(typers.scala:3150)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$62.apply(typers.scala:3150)     @ scala.collection.immutable.list.loop$1(list.scala:173)     @ scala.collection.immutable.list.mapconserve(list.scala:189)     @ scala.tools.nsc.typechecker.typers$typer.typedstats(typers.scala:3150)     @ scala.tools.nsc.typechecker.typers$typer.typedblock(typers.scala:2381)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedoutsidepatternmode$1$1.apply(typers.scala:5318)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedoutsidepatternmode$1$1.apply(typers.scala:5318)     @ scala.tools.nsc.typechecker.typers$typer.typedoutsidepatternmode$1(typers.scala:5317)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5353)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5463)     @ scala.tools.nsc.typechecker.typers$typer.typedcase(typers.scala:2421)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedcases$1.apply(typers.scala:2440)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$typedcases$1.apply(typers.scala:2439)     @ scala.collection.immutable.list.loop$1(list.scala:173)     @ scala.collection.immutable.list.mapconserve(list.scala:189)     @ scala.tools.nsc.typechecker.typers$typer.typedcases(typers.scala:2439)     @ scala.tools.nsc.typechecker.typers$typer.typedmatch(typers.scala:2451)     @ scala.tools.nsc.typechecker.typers$typer.typedvirtualizedmatch$1(typers.scala:4309)     @ scala.tools.nsc.typechecker.typers$typer.typedoutsidepatternmode$1(typers.scala:5322)     @ scala.tools.nsc.typechecker.typers$typer.typedinanymode$1(typers.scala:5353)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5360)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.transformedortyped(typers.scala:5605)     @ scala.tools.nsc.typechecker.typers$typer.typeddefdef(typers.scala:2208)     @ scala.tools.nsc.typechecker.typers$typer.typedmemberdef$1(typers.scala:5308)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5359)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typedbyvalueexpr(typers.scala:5452)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedstat$1(typers.scala:3046)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$62.apply(typers.scala:3150)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$62.apply(typers.scala:3150)     @ scala.collection.immutable.list.loop$1(list.scala:173)     @ scala.collection.immutable.list.mapconserve(list.scala:189)     @ scala.tools.nsc.typechecker.typers$typer.typedstats(typers.scala:3150)     @ scala.tools.nsc.typechecker.typers$typer.typedtemplate(typers.scala:1921)     @ scala.tools.nsc.typechecker.typers$typer.typedclassdef(typers.scala:1762)     @ scala.tools.nsc.typechecker.typers$typer.typedmemberdef$1(typers.scala:5309)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5359)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typedbyvalueexpr(typers.scala:5452)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedstat$1(typers.scala:3046)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$62.apply(typers.scala:3150)     @ scala.tools.nsc.typechecker.typers$typer$$anonfun$62.apply(typers.scala:3150)     @ scala.collection.immutable.list.loop$1(list.scala:173)     @ scala.collection.immutable.list.mapconserve(list.scala:189)     @ scala.tools.nsc.typechecker.typers$typer.typedstats(typers.scala:3150)     @ scala.tools.nsc.typechecker.typers$typer.typedpackagedef$1(typers.scala:5012)     @ scala.tools.nsc.typechecker.typers$typer.typedmemberdef$1(typers.scala:5312)     @ scala.tools.nsc.typechecker.typers$typer.typed1(typers.scala:5359)     @ scala.tools.nsc.typechecker.typers$typer.runtyper$1(typers.scala:5396)     @ scala.tools.nsc.typechecker.typers$typer.scala$tools$nsc$typechecker$typers$typer$$typedinternal(typers.scala:5423)     @ scala.tools.nsc.typechecker.typers$typer.body$2(typers.scala:5370)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5374)     @ scala.tools.nsc.typechecker.typers$typer.typed(typers.scala:5448)     @ scala.tools.nsc.typechecker.analyzer$typerfactory$$anon$3.apply(analyzer.scala:102)     @ scala.tools.nsc.global$globalphase$$anonfun$applyphase$1.apply$mcv$sp(global.scala:441)     @ scala.tools.nsc.global$globalphase.withcurrentunit(global.scala:432)     @ scala.tools.nsc.global$globalphase.applyphase(global.scala:441)     @ scala.tools.nsc.typechecker.analyzer$typerfactory$$anon$3$$anonfun$run$1.apply(analyzer.scala:94)     @ scala.tools.nsc.typechecker.analyzer$typerfactory$$anon$3$$anonfun$run$1.apply(analyzer.scala:93)     @ scala.collection.iterator$class.foreach(iterator.scala:750)     @ scala.collection.abstractiterator.foreach(iterator.scala:1202)     @ scala.tools.nsc.typechecker.analyzer$typerfactory$$anon$3.run(analyzer.scala:93)     @ scala.tools.nsc.global$run.compileunitsinternal(global.scala:1500)     @ scala.tools.nsc.global$run.compileunits(global.scala:1487)     @ scala.tools.nsc.global$run.compilesources(global.scala:1482)     @ scala.tools.nsc.global$run.compile(global.scala:1580)     @ xsbt.cachedcompiler0.run(compilerinterface.scala:126)     @ xsbt.cachedcompiler0.run(compilerinterface.scala:102)     @ xsbt.compilerinterface.run(compilerinterface.scala:27)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:497)     @ sbt.compiler.analyzingcompiler.call(analyzingcompiler.scala:102)     @ sbt.compiler.analyzingcompiler.compile(analyzingcompiler.scala:48)     @ sbt.compiler.analyzingcompiler.compile(analyzingcompiler.scala:41)     @ org.jetbrains.jps.incremental.scala.local.ideaincrementalcompiler.compile(ideaincrementalcompiler.scala:29)     @ org.jetbrains.jps.incremental.scala.local.localserver.compile(localserver.scala:26)     @ org.jetbrains.jps.incremental.scala.remote.main$.make(main.scala:62)     @ org.jetbrains.jps.incremental.scala.remote.main$.nailmain(main.scala:20)     @ org.jetbrains.jps.incremental.scala.remote.main.nailmain(main.scala)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:497)     @ com.martiansoftware.nailgun.ngsession.run(ngsession.java:319) 

my build.gradle:

buildscript {     repositories {         mavencentral()         jcenter()     }     dependencies {         classpath 'com.android.tools.build:gradle:1.2.3'         classpath "jp.leafytree.gradle:gradle-android-scala-plugin:1.4"     } } apply plugin: 'com.android.application'  repositories {     jcenter() }  apply plugin: "com.android.application" apply plugin: "jp.leafytree.android-scala"  android {     compilesdkversion 22     buildtoolsversion "22.0.1"      defaultconfig {         applicationid "com.sniff_it.tlock.app"         minsdkversion 9         targetsdkversion 22         testinstrumentationrunner "com.android.test.runner.multidextestrunner"         versioncode 1         versionname "1.0"         multidexenabled true     }      compileoptions {         sourcecompatibility javaversion.version_1_6         targetcompatibility javaversion.version_1_6     }      sourcesets {         main {             scala {                 srcdir "src/main/scala"             }         }          androidtest {             scala {                 srcdir "src/androidtest/scala"             }         }     }      packagingoptions {         exclude "meta-inf/license.txt"         exclude "meta-inf/notice.txt"     }      buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     compile 'com.android.support:appcompat-v7:22.2.0'     compile 'com.android.support:support-v4:22.2.0'     compile 'com.android.support:multidex:1.0.1'     compile "org.scala-lang:scala-library:2.11.6"     compile "de.greenrobot:greendao:1.3.7"     compile "de.greenrobot:eventbus:2.4.0"     compile "org.igniterealtime.smack:smack-android-extensions:4.1.0"     compile "org.igniterealtime.smack:smack-tcp:4.1.0" //    compile 'com.android.support:support-v4:22.2.0' //    compile 'com.android.support:gridlayout-v7:22.2.0' //    androidtestcompile "com.android.support:multidex-instrumentation:1.0.1", { exclude module: "multidex" }     //compile "org.igniterealtime.smack:smack-android:4.1.0"     //compile "org.igniterealtime.smack:smack-im:4.1.0" //    compile "de.greenrobot:greendao-generator:1.3.1" //    compile "com.nostra13.universalimageloader:universal-image-loader:1.9.3" }  tasks.withtype(scalacompile) {     // if want use scala compile daemon     scalacompileoptions.usecompiledaemon = true     // suppress deprecation warnings     //scalacompileoptions.deprecation = false     scalacompileoptions.additionalparameters = ["-feature"] } 

android-scala is problem here. there's issue @ sbt plugin project problem discussed. have manually add missing classes, scala 2.11.7 resolve issue.

for can overcome issue adding missing classes manually, e.g. this jar file unmanaged dependency.

update: scala 2.11.7 out, problem still persists in similar fashion. updated jar can found here.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -