Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native : package parse error

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.

enter image description here

Note that i am using react native under windows.

like image 690
Moussawi7 Avatar asked Mar 14 '16 12:03

Moussawi7


1 Answers

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 .

like image 54
Moussawi7 Avatar answered Oct 16 '22 02:10

Moussawi7