Problem
I have just finished making a few changes in my React Native app and on the android emulator when reloading ( R, R) then changes appear.
I then ran the command:
./gradlew assembleDebug
to generate a debug apk.
When I run it on the phone then changes aren't there, it still is an old version.
I have tried:
Deleting the apk in:
./app/build/outputs/apk
Deleting the whole:
./app/build
directoryTried the command:
./gradlew cleanBuildCache
Rebooting after cleaning the cache (3) and deleting the
build
directory (2)Tried the command:
gradlew clean
However I still get an old version of the apk generated each time.
./gradlew clean
will check apk – Seymour