Topic was automatically imported from the old Question2Answer platform.
Asked By
nonomiyo
hello,
I tried to export to Android a few times before but it gave me a terrible headache. I just tried again and it doesn’t get any better so I really need help this time…
so, starting with the ADB executable :
It’s likely you don’t have write permissions in the Java directory (regular users can’t write in %PROGRAMFILES%). Instead, you should change to a directory where you have write permissions, then specify the full path to keytool in the command line like this:
I used the directories below. Obviously different to different install and usernames, but should hopefully point you in the direction that worked for me.
Note that you have to create your keystore using command (like from the docs) keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname “CN=Android Debug,O=Android,C=US” -validity 9999
Make sure you restart your computer (Win10) after installing Java. Also you need to run the CMD as administrator (right click, run as administrator)