새소식

반응형
REACT-NATIVE/ELLOR LOG

keytool error: java.lang.Exception: Keystore file does not exist: path-to-debug-or-production-keystore

  • -
반응형

keytool error: java.lang.Exception: Keystore file does not exist: path-to-debug-or-production-keystore

 

andrioid 앱 push 알림 api 사용을 위해 OAuth 클라이언트를 만들려고 한다.

그런데 SHA-1 디지털 지문이 필요하단다.

친절하게 command 쓰라고 google이 넣어놨다.

 

Use this command to get the fingerprint.

하지만 명령어 그대로 복사해서 쓰면 안된다.

명령어를 잘 읽어보면 path-to-debug-or-production-keystore  즉 path 너가 똑바로 적어라는 소리다.

 

반응형

 

지금 단계는 개발중이기 때문에 debug.keystore를 쓸것이다.

debug.keystore

 

해당 key store는 android -> app -> debug.keystore에 있다.

 

React-Native 프로젝트에서 아래 명령어로 다시 실행해보자.

keytool -keystore ./android/app/debug.keystore -list -v

 

참고로 password를 묻는데

Enter keystore password

 

 

성공하면 위의 화면이 뜰것이다.

반응형

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.