- Home /
Is it possible to generate keystore automatically?
I know I can do it in Editor (http://forum.unity3d.com/threads/62137-Android-Signing) but is it possible to do the same (create a keystore and a key) programmatically (from C# script while during build creation)?
Uhm, why? The $$anonymous$$ey in your $$anonymous$$eystore is your signature. You should only have one which you create once unless you represent multiple individuals. In a company there might be several keys but usually you only have one. Updates of your app actually requires you to use exactly the same key all the time.
In general - yes, but I have a very specific project which requires being able to generate keys for multiple individuals.
Answer by Bunny83 · May 13, 2013 at 03:02 PM
Unity doesn't provide such a possibility, however you might be able to do this manually after the build by using the Android SDK tools. try searching for unsigning / signing APK files. As far as i know unsigning just requires you to delete the META-INF folder inside the APK, but i'm not sure ;)
Why isn't that an answer? I would accept it. Also - I know I can use SD$$anonymous$$ tools, was just wondering if Unity can do it for me (not much of a difference, just curious).
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Lost key password(i have keystore file with password and Alias but forgot password) 0 Answers
APK file does not load on the play console 0 Answers
Signing the android apk with a cryptographic key? 1 Answer
Why is GetKeyDown / Up behaving erratically, only responding occasionally in build? 1 Answer