Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28476

React native code changes not reflected in Android debug app

$
0
0

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?


Viewing all articles
Browse latest Browse all 28476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>