Problem:
React Native CLI App runs with,
buildToolsVersion = "31.0.0"
But While Changing it to,
buildToolsVersion = "33.0.1"
It shows the error:- Android Studio error "Installed Build Tools revision 33.0.1 is corrupted"
and some time ./gradlew clean and npx react-native run-android Failed.
Anyone with the Solution is very much Appreciated!
I’ve Tried:-
1) rm -rf node_modules package-lock.json
npm i --force
It doesn’t work.
2) cd android && ./gradlew assembleDebug && ./gradlew installDebug
While running this command it’s failed in-between.
2
Answers
Solution:
For Linux/Mac OS:
Go to Terminal:
That's it! It Works 😊.
Solution:-
Another way is,
That’s it! It Works 😊.