-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keystore file '/Project-Folder/android/app/debug.keystore' not found for signing config 'debug' in react-native 0.60 #25629
Comments
Which commands are you using? |
You can generate the debug keystore by running this command in the |
hi @kiranjd and @cmorbitzer thank you for your response. I missed the file called debug.keystore. So i placed this debug.keystore file in my project folder it solves the error i.e., |
Works fine to me Thx |
Or just download from official template https://raw.githubusercontent.com/facebook/react-native/master/template/android/app/debug.keystore |
@bondehagen Where are we supposed to store this file in our react native project? |
@priyajainSE, put |
Fixes facebook#25629 that happened after v60 upgrade.
Summary: Fixes #25629 that happened after v60 upgrade when using the diff tool https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.60.4 When following the diff for upgrading to react native 60. The debug.keystore is missing. It's added in the repository but ignored in the .gitignore, so it does not show. This adds an exception for this file. ## Changelog [Android] [Fixed] - Add exception in .gitignore for `debug.keystore` to the android template. Pull Request resolved: #25807 Test Plan: Create a new project from template and check that debug.keystore will be checked in when committing. Reviewed By: cpojer Differential Revision: D16462897 Pulled By: mdvacca fbshipit-source-id: 18c0e8aee7f5cf8ed0d3544f88dc1621ad17f30f
Ubuntu: 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 In folder /home/ - Ctrl + H show all file hidden Copy file debug.keystore in /home/.android/ to android/app/ directory your project, and rebuild |
thanks a lot ! |
@cmorbitzer @bondehagen, Resolved my issue to place debug.keystore file inside anadroid/app directory. Wait... *.keystore extension files are ignored in Github versioning. It means whenever we clone the project then we have to generate or place debug.keystore file manually? React Native version:
|
@Rizwanilahi Yes I think. Personally I added |
wow worked for me :) |
This worked for me too :) |
@cmorbitzer works like a charm thks |
Saving lives huh? Thanx |
- Check in debug.keystore file from Facebook repo - Based upon documentaiton at: facebook/react-native#25629
I followed the instructions above and got this error
Does anyone know what I should do, please? |
Thank you very much! this save time |
For me solved too. |
for everyone like me who is super lazy: curl https://raw.githubusercontent.com/facebook/react-native/master/template/android/app/debug.keystore > android/app/debug.keystore run ☝️ in your project root directory (same as where your |
you save my day Hat off |
Yes, also worked for me! Thanks |
Hi what the default password of the debug.keystore file? |
@hafiztayab I have try once and it's work for me using password |
project from github. Everything went well but when I try to compile the project, it does not work and returns this to me: You notice that in my case it is not a question of 'debug' but of 'config'. Any tip for me? I downloaded the debug.keystore file but nothing has changed |
project from github. Everything went well but when I try to compile the project, it does not work and returns this to me: |
@DevEventlab please try with android Studio it will solve your problem |
…rade. Part of the RN v0.59.10 -> v0.60.0 upgrade [1]. This commit has no constraints on its position relative to the others in the series; a change was proposed, and we declined to take it. Corresponds to facebook/react-native@63ebbd6bf. Android Studio already takes care of supplying a debug keystore automatically, and we haven't seen any issues with that, nor do such issues seem to be a motivation for that upstream change. Probably, they wanted to make it easier to configure *release* keystores. But we already have a process for that [2], which works better for us than anything like what's proposed here. This change was also pretty turbulent, as it had to be partly amended in facebook/react-native@d55025694b [3]. That fix wasn't released until a full version later, in RN v0.61. Hundreds of people who had followed the RN v60 upgrade guide commented and reacted on the issue, having had to manually add to their `.gitignore` and download and copy a `debug.keystore` file. So, don't take this change. See also discussion [4]. [1]: https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.60.0 [2]: https://github.com/zulip/zulip-mobile/blob/master/docs/howto/release.md#prepare-android [3]: facebook/react-native#25629 [4]: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/Android.20signing.20%28RN.2060.20upgrade%29/near/880752
…rade. This commit marks part of the RN v0.59 -> v0.60 changes to the template app [1] that we don't take. This commit may freely be positioned before the upgrade. Corresponds to facebook/react-native@63ebbd6bf, released in RN v0.60.0. Android Studio already takes care of supplying a debug keystore automatically, and we haven't seen any issues with that, nor do such issues seem to be a motivation for that upstream change. Probably, they wanted to make it easier to configure *release* keystores. But we already have a process for that [2], which works better for us than anything like what's proposed here. This change was also pretty turbulent, as it had to be partly amended in facebook/react-native@d55025694b [3]. That fix wasn't released until a full version later, in RN v0.61. Hundreds of people who had followed the RN v60 upgrade guide commented and reacted on the issue, having had to manually add to their `.gitignore` and download and copy a `debug.keystore` file. So, don't take this change. See also discussion [4]. [1]: https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.60.6 [2]: https://github.com/zulip/zulip-mobile/blob/master/docs/howto/release.md#prepare-android [3]: facebook/react-native#25629 [4]: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/Android.20signing.20%28RN.2060.20upgrade%29/near/880752
…rade. This commit marks part of the RN v0.59 -> v0.60 changes to the template app [1] that we don't take. This commit may freely be positioned before the upgrade. Corresponds to facebook/react-native@63ebbd6bf, released in RN v0.60.0. Android Studio already takes care of supplying a debug keystore automatically, and we haven't seen any issues with that, nor do such issues seem to be a motivation for that upstream change. Probably, they wanted to make it easier to configure *release* keystores. But we already have a process for that [2], which works better for us than anything like what's proposed here. This change was also pretty turbulent, as it had to be partly amended in facebook/react-native@d55025694b [3]. That fix wasn't released until a full version later, in RN v0.61. Hundreds of people who had followed the RN v60 upgrade guide commented and reacted on the issue, having had to manually add to their `.gitignore` and download and copy a `debug.keystore` file. So, don't take this change. See also discussion [4]. [1]: https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.60.6 [2]: https://github.com/zulip/zulip-mobile/blob/master/docs/howto/release.md#prepare-android [3]: facebook/react-native#25629 [4]: https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/Android.20signing.20%28RN.2060.20upgrade%29/near/880752
I have generated the |
upgrade to latest version, this was solved with pull request #25807 please close this |
This works :) Thanks. |
keytool : The term 'keytool' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
I'm facing this issue. Kindly help me with this |
if you get "keystore password was incorrect": |
I created a sample application with react-native version 0.60. I am trying to run application in android. But i am getting this error
Keystore file '/Project-Folder/android/app/debug.keystore' not found for signing config 'debug'
. I don't know how to resolve this error. Please give any suggestions for this issue.React Native version:
Steps To Reproduce
The text was updated successfully, but these errors were encountered: