java - Android studio Gradle is not building the new Jar file -


i wanted try new android lib, added dependency in new version of android studio. not @ building project only.

below gradle file, new lib added compile 'com.android.support:design:22.2.0'

`apply plugin: 'com.android.application'  android {     compilesdkversion 22     buildtoolsversion "22.0.1"      defaultconfig {         applicationid "droid.myapplication"         minsdkversion 8         targetsdkversion 22         versioncode 1         versionname "1.0"     }     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.1.1'     compile 'com.android.support:design:22.2.0' } 

`

exception coming in log file as. i'm new android studio, getting tough me digg error, please.

`java.lang.exception     @ com.intellij.openapi.vfs.newvfs.persistent.fsrecords$dbconnection.createbrokenmarkerfile(fsrecords.java:193)     @ com.intellij.openapi.vfs.newvfs.persistent.fsrecords$dbconnection.access$2700(fsrecords.java:136)     @ com.intellij.openapi.vfs.newvfs.persistent.fsrecords.invalidatecaches(fsrecords.java:1617)     @ com.intellij.ide.actions.invalidatecachesaction.actionperformed(invalidatecachesaction.java:68)     @ com.intellij.openapi.actionsystem.ex.actionutil.performactiondumbaware(actionutil.java:164)     @ com.intellij.openapi.actionsystem.impl.actionmenuitem$actiontransmitter$1.run(actionmenuitem.java:266)     @ com.intellij.openapi.wm.impl.focusmanagerimpl.runonowncontext(focusmanagerimpl.java:926)     @ com.intellij.openapi.wm.impl.idefocusmanagerimpl.runonowncontext(idefocusmanagerimpl.java:124)     @ com.intellij.openapi.actionsystem.impl.actionmenuitem$actiontransmitter.actionperformed(actionmenuitem.java:236)     @ javax.swing.abstractbutton.fireactionperformed(abstractbutton.java:2018)     @ com.intellij.openapi.actionsystem.impl.actionmenuitem.fireactionperformed(actionmenuitem.java:105)     @ com.intellij.ui.plaf.beg.begmenuitemui.doclick(begmenuitemui.java:512)     @ com.intellij.ui.plaf.beg.begmenuitemui.access$300(begmenuitemui.java:44)     @ com.intellij.ui.plaf.beg.begmenuitemui$mymouseinputhandler.mousereleased(begmenuitemui.java:532)     @ java.awt.component.processmouseevent(component.java:6516)     @ javax.swing.jcomponent.processmouseevent(jcomponent.java:3321)     @ java.awt.component.processevent(component.java:6281)     @ java.awt.container.processevent(container.java:2229)     @ java.awt.component.dispatcheventimpl(component.java:4872)     @ java.awt.container.dispatcheventimpl(container.java:2287)     @ java.awt.component.dispatchevent(component.java:4698)     @ java.awt.lightweightdispatcher.retargetmouseevent(container.java:4832)     @ java.awt.lightweightdispatcher.processmouseevent(container.java:4492)     @ java.awt.lightweightdispatcher.dispatchevent(container.java:4422)     @ java.awt.container.dispatcheventimpl(container.java:2273)     @ java.awt.window.dispatcheventimpl(window.java:2719)     @ java.awt.component.dispatchevent(component.java:4698)     @ java.awt.eventqueue.dispatcheventimpl(eventqueue.java:747)     @ java.awt.eventqueue.access$300(eventqueue.java:103)     @ java.awt.eventqueue$3.run(eventqueue.java:706)     @ java.awt.eventqueue$3.run(eventqueue.java:704)     @ java.security.accesscontroller.doprivileged(native method)     @ java.security.protectiondomain$1.dointersectionprivilege(protectiondomain.java:76)     @ java.security.protectiondomain$1.dointersectionprivilege(protectiondomain.java:87)     @ java.awt.eventqueue$4.run(eventqueue.java:720)     @ java.awt.eventqueue$4.run(eventqueue.java:718)     @ java.security.accesscontroller.doprivileged(native method)     @ java.security.protectiondomain$1.dointersectionprivilege(protectiondomain.java:76)     @ java.awt.eventqueue.dispatchevent(eventqueue.java:717)     @ com.intellij.ide.ideeventqueue.defaultdispatchevent(ideeventqueue.java:697)     @ com.intellij.ide.ideeventqueue._dispatchevent(ideeventqueue.java:520)     @ com.intellij.ide.ideeventqueue.dispatchevent(ideeventqueue.java:335)     @ java.awt.eventdispatchthread.pumponeeventforfilters(eventdispatchthread.java:242)     @ java.awt.eventdispatchthread.pumpeventsforfilter(eventdispatchthread.java:161)     @ java.awt.eventdispatchthread.pumpeventsforhierarchy(eventdispatchthread.java:150)     @ java.awt.eventdispatchthread.pumpevents(eventdispatchthread.java:146)     @ java.awt.eventdispatchthread.pumpevents(eventdispatchthread.java:138)     @ java.awt.eventdispatchthread.run(eventdispatchthread.java:91)` 

you have dependency declared properly. check sdk manager make sure you've downloaded support library


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -