Android studio运行project出现了Installation failed since the device possibly has stale dexed jars...的问题

Q:今天运行我的as的project,总是失败,出现了如图的错误,整了好久都没解决,看帖子有的建议修改build.gradle文件的buildToolsVersion,有的建议Build-->clean project等等,都没有任何作用,最后在stackoverflow上看到了正确的回答,解决了问题。贴出来解决办法,但愿能帮到你。


1、运行错误情况

Android studio运行project出现了Installation failed since the device possibly has stale dexed jars...的问题_第1张图片


2、stackoverflow原帖回答

Android studio运行project出现了Installation failed since the device possibly has stale dexed jars...的问题_第2张图片

ps:原帖链接


3、解决办法(我用的是Android studio 2.0 Preview 3b)


Android studio运行project出现了Installation failed since the device possibly has stale dexed jars...的问题_第3张图片


你可能感兴趣的:(Android开发,Android,studio,androispan,idtransma)