when i try to generate a release version using the following command:
cd android && ./gradlew assembleRelease
an apk file is generated in the directory:
/app/build/outputs/apk/app-release-unsigned.apk
Unfortunately when i try to install the apk on my phone with Android 5. i got the following error:
There was a problem parsing the package.
Note that i am using react native under windows.
I am answering on my own question. The issue has been solved by generating a signing key as mentioned in https://facebook.github.io/react-native/docs/signed-apk-android.html .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With