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
0
Question by IamMai · Jan 11, 2015 at 04:49 PM · androidinstallationmobile devicesaccessdevice

I can't install my app (.apk) on my android device

I build it on Unity3D. This application has open,read and write file. I copy it to galaxy tab 10.1 (2014 edition) sd card and touch icon to install but I can't touch install button. My tab show this pop up

alt text

I can touch only Cancel button. If I touch install, nothing happen and this pop up still show on my tab. Please help me, I want to know how to install my app or what is wrong?

screenshot_2015-01-11-11-19-00.png (277.9 kB)
Comment
Add comment · Show 1
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 cariaga · Jan 12, 2015 at 09:41 AM 0
Share

try forcing to internal SD which you can set on the build settings

2 Replies

· Add your reply
  • Sort: 
avatar image
4

Answer by Thecliff · Jun 07, 2015 at 12:39 PM

Disable your screen dimmer and try again.

-Make

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 rmgomez · Oct 01, 2015 at 03:49 AM 0
Share

Disabled my screen dimmer (twilight) and worked like a charm, Thanks

avatar image Prosto_Lyubo · Feb 24, 2016 at 11:24 PM 0
Share

Worked on $$anonymous$$otorola $$anonymous$$oto X

avatar image
3

Answer by pako · Jan 11, 2015 at 06:23 PM

One way to install the apk from your PC is by using the adb tool, which is located in the platform-tools folder, inside the Android SDK folder, e.g.:

C:/Program Files (x86)/Android/sdk/platform-tools/adb.exe

If you set the "Path" environment variable to the above folder, it will make things a lot easier. You will be able to run"adb" from the folder where your apk is located:

http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx

You should also enable "USB Debugging" in your device. I'm not sure the exact path for the galaxy tab 10.1, but for my device it's:

Settings/Applications/Development/USB Debugging

It should be something similar for you too.

After you've done the above, connect your device with a USB cable to your computer and open a Command Prompt window. Inside the Command Prompt window change the current directory to the directory where your apk is located:

http://windows.microsoft.com/en-us/windows/command-prompt-faq#1TC=windows-7

After you get to the correct directory, run the following command (assuming you have correctly set the PATH variable):

adb devices [and press Enter]

This command should start the adb server if it's not already running, and it's output will show you your device ID.

Then type the following command:

adb install "your File Name.apk" [and press Enter]

The installation will start, and hopefully will finish with adb output "Success".

Comment
Add comment · Show 11 · 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 tanoshimi · Jan 11, 2015 at 07:06 PM 1
Share

@pako This isn't correct - if you set Android as the target, you can simply "Build" in Unity and copy the resulting .apk to an Android device. Assu$$anonymous$$g you have enabled applications from 3rd party sources, you can then just select the AP$$anonymous$$ file on the device to install the application.

@Iam$$anonymous$$ai On your galaxy, go to Settings -> Security and make sure you have "$$anonymous$$ sources" checked.

avatar image pako · Jan 11, 2015 at 07:22 PM 1
Share

@tanoshimi I don't fully understand your comment. I always use the methodology I outlined, and it works fine. I mean, I do build in Unity, and then use adb install with the built apk. $$anonymous$$aybe you mean that you can "Build And Run" and the apk is directly installed in the device, provided installation from unknown sources is enabled.

I use the above procedure because it gives me a sense of greater control, that's all. I have used the Build And Run Option 2 - 3 times, but I prefer not to. It's just a personal preference, and this is why I based my answer on what I do. An added bonus is that with adb install, I don't need to have installation from unknown sources enabled, which gives a security warning that I don't particularly like.

avatar image tanoshimi · Jan 11, 2015 at 07:31 PM 0
Share

To clarify - the bit I'm disagreeing with is your statement that "To install the apk from your PC you have to do it using the adb tool". You don't - you can just drag n' drop it onto the device. I'm not disagreeing that the rest of your method is good, but it's not the only way.

avatar image pako · Jan 11, 2015 at 07:32 PM 0
Share

@tanoshimi O$$anonymous$$ now I understand what you said better. You do mean "Build" and not "Build and Run". Never tried that before. I'm learning a new thing every day. Anyway, it's very easy for me to open a command prompt directly where I build the apk and then use adb install, without having to enable 3rd party installs.

avatar image IgorAherne · Feb 02, 2017 at 01:22 AM 1
Share

rewarded you 500, thanks

Show more comments

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

31 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

Related Questions

App Doesnt install on device (Android) 1 Answer

Printing from an android device to wireless printer -1 Answers

Zero-ing the Input.acceleration.z 0 Answers

Gap in audio playback on Android 1 Answer

Android landscape works, but the coordinates stay like they would for portrait. 0 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