cd android
./gradlew clean
cd ..
npm start -- --reset-cache
npx react-native run-android
Isse aapka complete clean rebuild hota hai —
Android + JS dono cache reset, aur next build bilkul fresh & stable chalti hai
use this command to stop gradlew from android .\gradlew.bat –stop
PS C:\Users\shiva\Desktop\just>
.\gradlew.bat clean --refresh-dependencies
>> .\gradlew.bat assembleDebug -PreactNativeDevServerPort=8081 --stacktrace --info
>> # then install (if assemble succeeds)
>> .\gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 --stacktrace --info
after deleting cache that cause issue from transform manually run above command by selecting android in root project.