Hi people!
I was trying to export a simple little project to android to see test some things, but I have problems exporting, related (apparently) to the jarsigner.
I have tried searching on the web for solutions before coming here, but nothing seems to fix this situation.
The situation is this: according to other people that had the same problem, changing some parameters while generating the keystore seemed to fix the issue.
but I've tried all ways to generate the keystore and nothing works.
Here's what I've tried.
keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999
...and...
keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 -sigalg MD5withRSA -keyalg RSA
... I've tried both keystores, in the android section on editor setting, and when the export window asks me for a release keystore (I guess I can use the same keystore both for debug and release), but also I've tried with different keystores for those two, and nothing seems to fix the problem.
So... anyone has any idea whats the issue here?
SIde Note 1: The APK file seems to be exported anyway but, whan trying to install the app on the phone, after enabling unknown sources, the installation fails.
Side Note 2: I haven't tried running the project directly from the editor while conecting the android phone to the PC, because the only android phone I have acces to is not mine (D:), so I don't want to mess up with the developer mode on a phone that's not mine.
Thanks in advance!!!!