Android Studio classes.dex(访问被拒绝)
添加jar作为外部库后,我的android studio项目将不再运行,我收到一条错误消息:Android Studio classes.dex(访问被拒绝),android,maven,gradle,android-studio,Android,Maven,Gradle,Android Studio,添加jar作为外部库后,我的android studio项目将不再运行,我收到一条错误消息: Error:java.io.FileNotFoundException: C:\Users\xxxx\xxxx\xxxx\app\build\intermediates\dex\debug\classes.dex (Access is denied) 我尝试过很多事情,包括作为管理员运行androidstudio,从命令行构建,从maven添加,或者在projectstructure对话框中。都没有用
Error:java.io.FileNotFoundException: C:\Users\xxxx\xxxx\xxxx\app\build\intermediates\dex\debug\classes.dex (Access is denied)
我尝试过很多事情,包括作为管理员运行androidstudio,从命令行构建,从maven添加,或者在projectstructure对话框中。都没有用
我一直在尝试添加的Jar是:
jsch-0.1.51.jar
可能会出现
java.io.FileNotFoundException的原因有很多:Application\build\intermediates\dex\specific\u Flavor\debug\classes.dex(访问被拒绝)
Exception
我用我的防病毒工具体验过。如果您的系统中安装了某些防病毒软件,请尝试将其关闭(或删除)。这为我解决了问题