⚠️ 時效警告:本文發佈於 2017 年,文中提到的
index.android.js入口檔案已在 React Native 0.59 移除,文中指令在新版本無法執行。內容保留作為歷史紀錄,指令與連結已不可用。
react-native bundle --dev false --platform android --entry-file index.android.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參考資料
Build and Install unsigned apk on device without the development server?
















