f111fei / react-native-unity-demo

103 stars 80 forks source link

Could not get unknown property 'MYAPP_RELEASE_STORE_FILE' #4

Closed Sleepful closed 6 years ago

Sleepful commented 6 years ago

after using npm run android I get the following error:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/jose/tmp/react-native-unity-demo/android/app/build.gradle' line: 129

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'MYAPP_RELEASE_STORE_FILE' for SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=null, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig.
Sleepful commented 6 years ago

I had to generate a signing key for some reason http://facebook.github.io/react-native/docs/signed-apk-android.html