Error during Ionic cordova build android


Hi All, I’ve tried to build or run android for my project. However, it shows this error. This error suddenly appear in which I have no problem in building my project previously.

Appreciate if there is any advise or helps. Thanks.

*What went wrong:
A problem occured configuring root folder ‘android’.

Failed to install the following SDK Components:
[SDK Patch Applier v4, Google Repository]
The SDK Directory (C:\Program Files (x86)\Android]android-sdk is not writeable,
please update the directory permission.