Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
10
Question by benk0913 · Oct 22, 2014 at 08:08 PM · androidbuild-errorapkinstallation

Unable to install APK!

I used to build many times and test my unity's apks on my android but suddenly this:

Error building Player: UnityException: Unable to install APK!

 Installation failed with the following output:
     pkg: /data/local/tmp/Package.apk
 
 Failure [INSTALL_FAILED_CONTAINER_ERROR]
 
 rm failed for -f, No such file or directory
 
 2958 KB/s (10766339 bytes in 3.554s)
 
 UnityEditor.HostView:OnGUI()
 




Happends to all of my android projects.

Please, if anyone could help me out with solving this. /=

Comment
Add comment · Show 2
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 Pawnkiller · Apr 12, 2016 at 04:41 PM 0
Share

I am having the same problem and im a beginner. Please give me a more detailed answer.

avatar image Fattie · Aug 08, 2016 at 09:15 PM 0
Share

very often you simply have to delete the app already on the phone and then go for it.

11 Replies

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

Answer by benk0913 · Oct 25, 2014 at 08:34 AM

Solved, replace the storage in player settings from "Internal Only" to "Automatic".

Comment
Add comment · Show 6 · 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 aliaramli · May 09, 2015 at 03:03 PM 0
Share

thank you so much for your answer. ive wasted few hours of googling. setting in android manifest.xml seems overridden by unity when building the apk! so after followed you answer, managed to run the apk on android emulator! tq so much!!!!!!!

avatar image greatness · Nov 26, 2016 at 12:04 AM 0
Share

Where is the storage in player settings? I read all the options in player settings and did not find it.

avatar image greatness greatness · Nov 26, 2016 at 12:14 AM 0
Share

Never $$anonymous$$d, I managed to solve the problem by deleting some apps to give myself some storage space.

avatar image Binbag42 greatness · Nov 26, 2016 at 01:37 PM 1
Share

In "Player Settings" then "Android tab"in the "Configuration" section you have an item called "Install Location"with possible values: - Automatic - Prefer External - Force Internal

avatar image najoe · Jun 10, 2018 at 10:57 AM 0
Share

Already try this. Didn't workout in my end.

avatar image thealbaniandude · Nov 29, 2018 at 11:10 PM 0
Share

Worked for me. Thank you so much!

avatar image
15

Answer by Akhil-Raja · Sep 03, 2015 at 06:22 PM

Also check if you are trying to install a different app of the same name as the one you already have installed. This was my issue. Sounds silly, but i struggled to fix it.

Comment
Add comment · Show 2 · 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 Bill_T · May 12, 2016 at 01:48 AM 1
Share

If you update the Android SD$$anonymous$$ you will have to delete the existing app on your Android device before you can install the "new" AP$$anonymous$$. I believe this is related to Akhil's response (i.e. the AP$$anonymous$$ is ID'ed as different as a result of the new SD$$anonymous$$).

avatar image Erikoinen · Oct 06, 2017 at 07:56 AM 0
Share

I come to this thread every ~half a year because of the same issues, and these posts always help.

avatar image
6

Answer by Binbag42 · Jun 12, 2015 at 09:51 AM

I ran in he same problem but the previous solution didn't solve it. What seems to have worked is to free up space on my device. I had roughly 300MB left on my internal memory for a 43MB APK. Hope this can help somebody.

Comment
Add comment · Show 1 · 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 Understainding · Aug 03, 2015 at 11:02 PM 0
Share

I have a 40$$anonymous$$B apk that would not intall. Freeed soome space to 231 $$anonymous$$B, now it builds and runs with no error. Thanks for posting your solution.

avatar image
5

Answer by mstar_jwoodall · Jan 19, 2016 at 09:39 AM

I had to uninstall the app on my phone to get it to install.

I was having issues with my Keystore, and I think it was applying a different keystore/unsigned.

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 davinc131 · Nov 30, 2016 at 07:36 AM

Greetings! I'm having a similar problem with a virtual reality application. I'm using gvr-unity-sdk-mater in version 1.0.3 and the version of my Unity is 5.4.2f1. My device is a Galaxy Win Duos, model GT-I8552B and I have 1GB of internal memory. The Android version is 4.1.2. I already dive into the internet looking for solutions like build and export my .apk to the phone, but when I try to install it gives an exception of the type (there is a problem of package analysis). USB debugging is enabled and sources unknown as well, but the problem still persists. In the project settings, "Virtual Reality Supported" is enabled, but I also tried disabling it and doing the build, and Minimum API Level is set to 4.0.3, but I already tested it for 4.1 and gives the same error. When running in the editor, everything works normally. "Install Location" is set to automatic, remembering that there is no previous installation of this .apk on my device. I've seen in some tutorials the developers use a version earlier than mine, something like 5.3.1, something like that, but I'm not sure if it's the version of Unity that causes the disorder. I ask your help to help me solve this error so that I can test my application on my device.

Comment
Add comment · Show 1 · 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 unity_01FMPRY_TP-rYg · Mar 24, 2019 at 02:36 AM 0
Share

Hey @davinc131 ! did you solve the issue? I'm facing the same problem, please help.

  • 1
  • 2
  • 3
  • ›

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

47 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error building Player: CommandInvokationFailure: Failed to build apk. See the Console for details () 1 Answer

Showing "not a valid apk file" while uploading to playstore and Not able to install my apk directly to Bluestacks also . 0 Answers

Android Build fail Internal and Gradle 2 Answers

unity Hub 3.0.0 and Installation 2021.1.17f 1 Answer

Installation fail on build and run 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