java.io.IOException: Invalid Keystore format

前端 未结 10 1494

Does anyone know how to solve this? I tried many things, but none of them worked.

And when I click more details I get this:

at sun.security.provider.         


        
10条回答
  •  天命终不由人
    2020-12-10 01:29

    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

    Or just download from official template https://raw.githubusercontent.com/facebook/react-native/master/template/android/app/debug.keystore

提交回复
热议问题