Vote up! 19 Vote down! Android: How do you create a local keystore? Android Apps. Troubleshooting. Issue 2024Q1 (current) keytool -genkey -v -keystore ~/.android/debug.keystore \ -alias debug_keystore -keyalg RSA -keysize 2048 -validity 10000. Related Articles Please log in to post a comment: