Praveen Vishnu
Praveen Vishnu

Reputation: 443

Remove ionic android platform manually?

I Accidentally deleted the "platforms" folder and I tried to run the command

ionic cordova platform rm android

but it shows the error

EPERM: operation not permitted, lstat 'ionicapp\platforms\android\app\build\intermediates\transforms\dexBuilder\debug\5.jar' and when I run the command

ionic cordova platform add android

but it says

Platform android already added.

I have tried reinstalling cordova but didn't change anything.

please Help.

Upvotes: 0

Views: 2664

Answers (2)

Praveen Vishnu
Praveen Vishnu

Reputation: 443

It might Sound funny I simply Restarted My PC. and everything Works Fine

Upvotes: 3

Khaled Sayed
Khaled Sayed

Reputation: 36

You need to delete platforms\android manually then try again :)

Upvotes: 0

Related Questions