- Home /
Unity don't sign my apk android
hi all.
I have a big problem.
I have created a game and this work very well when i export apk unsigned.
Now i want sign this apk but unity don't sign it and i have this errors:
1)Installation failed with the following output: pkg: /data/local/tmp/Package.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
4271 KB/s (18671303 bytes in 4.268s)
UnityEngine.Debug:LogError(Object) PostProcessAndroidPlayer:UploadAndStartPlayer(String, String, String, String, String, Boolean, Boolean, Boolean) (at C:/BuildAgent/work/14194e8ce88cdf47/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:883) PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions) (at C:/BuildAgent/work/14194e8ce88cdf47/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:465) UnityEditor.HostView:OnGUI()
2)Error building Player: UnityException: Unable to install APK! Installation failed. See the Console for details.
I have downgrade my jdk (1.7 ==> 1.6.0) but this don't work.
Any advice??
plz help me
Answer by crowley91t · Nov 21, 2012 at 04:38 PM
Hi i have resolved my problem.
I have downgrade my version of jdk(1.7 ==> 1.6), and in the next time i have create a new Keystore with a jdk 1.6. All work perfectly with this version of jdk. Ps: i work on Unity 3D 3.5.6 f4.
Marco Scanu
Yes I gonna answer you about this don't use JD$$anonymous$$ 1.7 but 1.6. That's all and it works with all Unity versions !
Answer by cowlinator · Nov 20, 2012 at 08:59 PM
In order to make a build with a signed apk, you need to create a keystore file with a valid alias. (see: http://developer.android.com/tools/publishing/app-signing.html)
Also, once you sign the apk, nothing can be added to or removed from the apk file.
and if i want work only on unity? "publishing settings" of unity, work for publishing on play store?
Yes they work I used them but I use the external signing method too. If the first one don't work try the other ;).
How i can get an external signing? i need a special software or other? thanks $$anonymous$$arco
no need external soft. $$anonymous$$orrow morning (for me ^^') I can give you a $$anonymous$$agicalScript.bat to do it ;)
sorry but i don't understand. i can sign my apk with magicalscript?
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Can I use Unity to create a Facebook Game? 1 Answer
Object Reference Not Set As Instance error from ngui code 1 Answer
Stick Sphere Object to another Sphere Object : 2D 1 Answer
Vector Math Question 2 Answers