Generate apk file in React Native
Автор: 4 Learners
Загружено: 2018-08-06
Просмотров: 7781
#reactnative #generate_apk
This video tells you how to generate apk file in react native to run your app in mobile device in Android.
Command to generate apk file are below:
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
cd android
gradlew assembleDebug
(Note: If you’ll get any error after that then follow below instruction)
From your react native folder run:
cd android && gradlew clean
THEN
cd .. && react-native run-android
(After that run all three command again)
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: