Gradle sync failed: Cause: error=2, No such file or directory

前端 未结 4 492
感情败类
感情败类 2021-01-17 23:56

I am trying to get the latest revision number of mercurial repository dynamically and have it in the versionName of the android app.

This is what I have in the grad

4条回答
  •  萌比男神i
    2021-01-18 00:41

    In my case, macOS had removed one of the binaries in my NDK bundle. You can find them in your Trash. Actually I got a pop-up message on the screen which has been asking to Trash the binary since the developer is not verified. As for any other mac apps, you have to go to:

    Apple menu  > System Preferences > Security & Privacy

    Then from the General tab, click on Open Anyway.

提交回复
热议问题