Android Studio Error 'reg' is not recognized as an internal or external command

前端 未结 5 1751
庸人自扰
庸人自扰 2020-12-03 22:05

Hi I have just updated to the latest version of AS v1.00 release.

However when trying to run newly created project i get this error:

Error:Execution failed f

5条回答
  •  佛祖请我去吃肉
    2020-12-03 23:04

    i was also facing the same issue after updating to Android Studio 1.0. I spent like 10 hours trying to fix it but finally found solution. So I am going to paste the temporary solution here in case anyone is facing the same problem.

    It seems the issue was not due to Android Studio or gradle . It was due to new Android SDK Tools version 24.0.0 because it was working on computer's having Android SDK Tools version 23.0.5. So in order to solve it. Please follow this simple procedure:

       * Close Android Studio
       * Download http://goo.gl/v0UPm6
       * goto \sdk
       * rename 'tools' to 'tools1' (In case you need backup)
       * extract this zip to \sdk
       * it will make tools folder in \sdk
       * restart studio and errors will be gone
    

    Credit goes to the person who figured it out. Thanks Man :)

提交回复
热议问题