I am making some changes in my react-native project, on running react-native run-android
I am able to see those changes, but when I am making a debug app, then in that app those changes aren't reflecting. I tried doing ./gradlew clean
also, but still no luck.
I am executing the below commands for making the debug build,
react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/build/intermediates/res/merged/debug
and then,
./gradlew assembleDebug
I am then taking the apk from android/app/build/outputs/apk/debug/app-debug.apk
, but the apk doesn't have the changes which I made, but on running react-native run-android
and connecting my device I am able to see those changes.
Please help me out with this, am I going wrong somewhere while creating the apk?