错误日志:
Error installing cold swap patches: com.android.tools.fd.client.InstantRunPushFailedException: Error creating folder with: run-as com.hsj.messages mkdir -p /data/data/com.hsj.messages/files/instant-run/inbox
Error while Installing restart patches
解决方案:
参照
http://stackoverflow.com/questions/36680036/error-while-installing-restart-patches-when-launching-android-app-with-android-s
- Open the Settings or Preferences dialog.
- Navigate to Build, Execution, Deployment > Instant Run.
- Uncheck the box next to Restart activity on code changes