When am creating build using android studio getting old version of application all the time. For get rid out of this I deleted build folder and inside assets index.android.bundle, but still getting older version of build.
I also tried:
- Restarting Android Studio
- Restarting PC
- Restarting Device
- Sync Project
- Rebuild Project
2
Answers
Try uninstall app from device and pre-generate a new bundle before starts the android studio build
Try deleting the build folders (and release)
rm -rf {root}/build && {root}/app/build|release/
Then clean:
cd android && ./gradlew clean build
You can also use the flag--no-build-cache
to omit the build cache on next build