npx react-native run-android를 통해 React-Native를 실행했더니 아래와 같은 오류가 발생했다.
Unable to load script. Make sure you're either running a Metro server (run 'react-native start') or that your bundle 'index.android.bundle' is packaged correctly for release.
-> 내 경우엔 assets폴더가 없어서 생성해주었다.
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle
android/app/src/main/assets/index.android.bundle
파일이 잘 생성되었고 오류도 해결되었다.