问题:
Unable to get Gradle wrapper properties from D:\Android \Android project\Mobile Guard\gradle\wrapper\gradle-wrapper properties Would you like to recreate the wrapper using the latest supported Gradle version?
Click 'OK to recreate files, or 'Cancel' to manually set the path of a local Gradle distribution.
大致意思是:无法从D:\ Android \ Android project \ Mobile Guard \ gradle \ wrapper \ gradle-wrapper属性获取Gradle包装器属性。是否要使用受支持的最新Gradle版本重新创建包装器?单击“确定”以重新创建文件,或单击“取消”以手动设置本地Gradle发行版的路径。
原因:
新导入的项目gradle与安装的android studio的gradle版本不匹配
解决:
将弹出的对话框叉掉,然后选择本地部署:file->setting->build,execute, deploy->gradle->选择本地android studio下的gradle