title: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] React native
body: <p>I want to generate an apk that run it without server on react-native :</p>
  
  <p>I had created a key to sign the apk.Using below to create key:</p>
  
  <pre><code>keytool -genkey -v -keystore my-app-key.keystore -alias my-app-alias -keyalg RSA -keysize 2048 -validity 10000
  </code></pre>
  
  <p>Using a password</p>
  
  <pre><code>react-native bundle --platform android --dev false --entry-file index.android.js \
    --bundle-output android/app/src/main/assets/index.android.bundle \
    --assets-dest android/app/src/main/res/
  </code></pre>
  
  <p>Generate the build using gradle</p>
  
  <pre><code>cd android &amp;&amp; ./gradlew assembleRelease
  </code></pre>
  
  <p>but when i want to install the apk with this line :</p>
  
  <pre><code>adb install -r ./app/build/outputs/apk/app-release-unsigned.apk
  </code></pre>
  
  <p>I have this error :</p>
  
  <pre><code>5663 KB/s (8971275 bytes in 1.546s) pkg: /data/local/tmp/app-release-unsigned.apk Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES] 
  </code></pre>