ofd->如果实在不行 就用原来的代码 再改一遍 不要太麻烦的改 
问题永远解不完 一定要备份

问题

The APK file F:\hnswnew51\MXClient\build\outputs\apk\debug\MXClient-debug.apk does not exist on disk.

配置gradle错误问题_.

最右边的是重点 一定要注意 build的文件的使用

Error while Installing APK

Error:Execution failed for task ‘:MXClient:packageInstantRunResourcesDebug’.

‘other’ has different root 点击勾选 接着走下面
点击file->setting->instant run 取消勾选 能够编译成功