前言

使用android studio连接真机或者虚拟机经常都是,昨天虚拟机或者真机还能跑,今天就报错误了
android studio Error:Execution failed for task ':app:packageDebug

解决

file->ProjectStructrue在右边弹窗"porject ->Android Gradle Plugin Version 改成3.4.0
android studio Error:Execution failed for task ‘:app:packageDebug‘.解决方案_虚拟机
android studio Error:Execution failed for task ‘:app:packageDebug‘.解决方案_android studio_02
android studio Error:Execution failed for task ‘:app:packageDebug‘.解决方案_android studio_03
android studio Error:Execution failed for task ‘:app:packageDebug‘.解决方案_虚拟机_04