title: React native : Can I run the assembleDebug APK in another network?
body: <p>Using React native <strong>0.56.0</strong> and React native navigation <strong>v2</strong>, generated debug APK does not run on another network, it shows a development server not connected bug on the screen. how can I run app-debug.apk in another network without development server? seen many answers, all are said to create release/unsigned APK.</p>
  
  <p>Is it need to create Keystore to run for another network?
  I will not distribute to play store, so I think no need to generate <strong>signed APK</strong>.</p>
  
  <p><strong>Note</strong> : can't open the app without <code>npm start</code>. npm start does bundle. how can I solve it?</p>
  
  <p>created APK by following steps:</p>
  
  <ol>
  <li>bundle the app</li>
  </ol>
  
  <p><code>react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res</code></p>
  
  <ol start="2">
  <li>create debug APK:</li>
  </ol>
  
  <p><code>cd ./android &amp;&amp; ./gradlew app:assembleDebug</code> // does not runs on another network</p>
  
  <ol start="3">
  <li>create release APK:</li>
  </ol>
  
  <p><code>cd ./android &amp;&amp; ./gradlew app:assembleRelease</code> // app not installed</p>
  
  <ol start="4">
  <li>after run <code>npm start</code> from the project root and reload app runs fine</li>
  </ol>