React Native Task :app:validateSigningDebug FAILED

前端 未结 7 558
名媛妹妹
名媛妹妹 2021-01-31 02:42

I am completely new to react-native and android. I have downloaded a project from Github and used commands yarn install and react-native run-android to

7条回答
  •  囚心锁ツ
    2021-01-31 03:19

    The problem is that the build is looking for the debug keystore and cannot find it.

    Keystore file /home/tawsif/react native/react-native-redux/android/app/debug.keystore not found for signing config 'debug'.

    There's an issue with the same problem in React Native GitHub. According to the page, you can solve it by creating a debug keystore. Quote from the thread:

    You can generate the debug keystore by running this command in the android/app/ directory: keytool -genkey -v -keystore debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000

    Link to the issue: https://github.com/facebook/react-native/issues/25629

提交回复
热议问题