Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Mrten · May 25, 2011 at 09:17 AM · androidpublishingsigning

Installation of signed Android build fails

Hello, I'm trying to get my game signed and ready for Android but I'm having problems installing it on a device. I've used the keystore generation in Player Settings to sign it, but when I do Build and Run in Unity I get this error:

 Unable to install APK!
     pkg: /data/local/tmp/Package.apk
 
 Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
 
 3133 KB/s (11679660 bytes in 3.640s)
 
 UnityEngine.Debug:LogError(Object)
 PostProcessAndroidPlayer:UploadAndStartPlayer(String, String, String, String, String, Boolean, Single, Single&, Boolean) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:780)
 PostProcessAndroidPlayer:PostProcess(BuildTarget, String, String, String, String, String, String, BuildOptions) (at C:/BuildAgent/work/6bc5f79e0a4296d6/Editor/Mono/BuildPipeline/PostProcessAndroidPlayer.cs:402)
 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I can get it to Build an apk file without complaining, but when I try to install it on my device through a file manager I get a generic Installation failed message there as well.

Do I need to install some sort of certification profile on the device for it to be able to install my signed app, or should this work?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Mrten · May 25, 2011 at 06:03 PM

Ok, to answer my own question, you do not need any certification profile to install a signed app.

My mistake was that I had moved jarsigner.exe from its original place in the java SDK, when I put it back the signing worked. For some reason Unity did not output an error when I built with the jarsigner moved.

What made me realize my error was that I did a cert verification on my file, which at first didn't even work cause the jarsigner.exe was in the wrong place. Then when I had moved it, it showed the signing hadn't taken place. To do a cert verification you do this:

 jarsigner -verify -verbose -certs YOURFILE.apk

(I actually saw that in some Unity doc, I think)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by boogi · Sep 15, 2011 at 04:32 AM

check ur jdk version , i have same problem when i used jdk7 but now u useing jdk6 didn't see this fail

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by kimstock · Sep 17, 2011 at 01:48 AM

Hey, Thanks boogi I had the same problem using jdk7 and downgrading to jdk6 fixed it for me, so thankyou very much.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Android download error "package not signed correctly 0 Answers

How can one upload on the Android Market if one's game exceeds the market size limit (50MB or less) ? 0 Answers

Upload Game For Beta 2 Answers

Android - Failed to sign APK package: Unsupported major.minor version 52.0 {SOLVED} 1 Answer

Can i build and publish Android games on play store using Unity 5 personal free edition ? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges