Could not get unknown property 'MYAPP_RELEASE_STORE_FILE' for...

运行react-native run-android报这个错:

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\myapp\android\app\build.gradle' line: 161

* What went wrong:
A problem occurred evaluating project ':app'.
> Could not get unknown property 'MYAPP_RELEASE_STORE_FILE' for SigningConfig_De
corated{name=debug, storeFile=C:\Users\icrc\.android\debug.keystore, storePass
word=android, keyAlias=AndroidDebugKey, keyPassword=android, storeType=jks, v1Si
gningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.inter
nal.dsl.SigningConfig.

遇到这个错误,请问如何解决?谢谢

阅读 1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏