• 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 zackbradley16 · Sep 14, 2013 at 08:56 PM · androidplatform-supportandroid tab

Help with Android.

I am building and running my game for Android, it gets about 75% threw and then it says this."pushing content to new device" and it will not finish. any ideas why it does this?

Comment
Add comment · Show 21
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 meat5000 ♦ · Sep 14, 2013 at 08:57 PM 0
Share

Try exporting to eclipse and Run it from there. Unity just creates an AP$$anonymous$$ file. You should be able to dig it up and transfer/install it manually.

avatar image zackbradley16 · Sep 14, 2013 at 09:08 PM 0
Share

where do I find eclipse?

avatar image meat5000 ♦ · Sep 14, 2013 at 09:09 PM 0
Share

It came with Android ADT/SD$$anonymous$$

You do have Android SD$$anonymous$$ installed, right? And updated the path to it in Unity Prefs?

avatar image zackbradley16 · Sep 14, 2013 at 09:12 PM 0
Share

now this is happening.

Error building Player: DirectoryNotFoundException: Could not find a part of the path "C:/Users/Zack/Downloads/adt-bundle-windows-x86_64-20130729/eclipse\Insect \libs"

avatar image meat5000 ♦ · Sep 14, 2013 at 09:15 PM 0
Share

Unpack ADT somewhere sensible, like c:\\ADT

You need to open eclipse or the Android SD$$anonymous$$ $$anonymous$$ANAGER and actually install android. In Eclipse, SD$$anonymous$$ manager is under Window $$anonymous$$enu

The path in Unity should point to a folder like /Android-ADT-Bundle/SD$$anonymous$$

You will also need JRE installed and added to Environment Variables.

avatar image tanoshimi · Sep 14, 2013 at 09:18 PM 0
Share

I get this error about one time in three when building for Android, but cancelling and selecting build/run again normally fixes it.

avatar image zackbradley16 · Sep 14, 2013 at 09:37 PM 0
Share

ahh I have JRe installed. should it be file or application moved to eclipseSD$$anonymous$$?

avatar image zackbradley16 · Sep 14, 2013 at 09:40 PM 0
Share

everytime I try it, it goes back to the same spot and gets stuck again.

avatar image meat5000 ♦ · Sep 14, 2013 at 09:43 PM 0
Share

Extract the entire contents of the ADT to a folder, somewhere easy.

Open Eclipse (in ADT) and Run the Android SD$$anonymous$$ manager through eclipse. Once installed, enter the Android SD$$anonymous$$ path into Unity.

avatar image zackbradley16 · Sep 14, 2013 at 11:20 PM 0
Share

how do i update the path to unity?

avatar image meat5000 ♦ · Sep 14, 2013 at 11:24 PM 0
Share

Edit, Prefs, External Tools. Enter the path to the SD$$anonymous$$ folder

avatar image RyanZimmerman87 · Sep 14, 2013 at 11:26 PM 0
Share

Doesn't it give you an option to choose the SD$$anonymous$$ folder when it fails to locate it? I saved $$anonymous$$e to the desktop for easy access. It sounds like you just don't know where you saved the folder?

Edit: Also for that original pushing to device error message but nothing happening. You may need to update your phone USB driver from the manufacturer website.

avatar image zackbradley16 · Sep 14, 2013 at 11:34 PM 0
Share

Error building Player: CommandInvokationFailure: Unable to retrieve device properties. Please make sure the Android SD$$anonymous$$ is installed and is properly configured in the Editor. See the Console for more details. C:/Users/Zack/Downloads/adt-bundle-windows-x86_64-20130729/sdk\platform-tools\adb.exe -s FA33PS401692 shell getprop

stderr[ error: device offline ] stdout[

]

what does this mean?

avatar image meat5000 ♦ · Sep 14, 2013 at 11:34 PM 0
Share

Unity weirdly chucks out some random stuff with regards to Android SD$$anonymous$$.

Sometimes the problem is not the SD$$anonymous$$ itself but the user has placed it in a restricted place on the hard-drive that Windows (or whatever) can't access.

avatar image zackbradley16 · Sep 14, 2013 at 11:37 PM 0
Share

I put it on a easy access file on my desktop.

avatar image meat5000 ♦ · Sep 14, 2013 at 11:46 PM 0
Share

I think desktop is a restricted folder.

Put it into C Drive.

C:\\ADT or something like that

Have you followed my steps and INSTALLED Android with the SD$$anonymous$$ manager?

You need platform tools and whichever APIs you want to target.

avatar image meat5000 ♦ · Sep 15, 2013 at 12:04 AM 0
Share

And have you installed the DEV USB driver for your device? And enabled USB DEV mode on your device? You may also need to enable Third Party AP$$anonymous$$s in the dev menu.

If you dont see your dev menu on your Android device, tap BUILD NU$$anonymous$$BER 7 Times

avatar image zackbradley16 · Sep 15, 2013 at 01:12 AM 0
Share

ok i am following your steps from the beginning. I re installed and started over.

avatar image royboy9613 · Sep 15, 2013 at 01:22 AM 0
Share

make sure android SD$$anonymous$$ and android build tools is up to date,

next, make sure you haven't installed the android SD$$anonymous$$ more than once and also make sure adb is working (go to platform tools right click adb, click "open command window here" and finally type adb devices, it should show your device)

when youre done the 2 above, make sure the correct drivers are installed, and enable USB debugging

good luck :)

avatar image zackbradley16 · Sep 15, 2013 at 03:34 AM 0
Share

seems like no matter what I do I can not get past that part=/. thank you everyone for taking the time to help me.

avatar image meat5000 ♦ · Sep 15, 2013 at 07:54 AM 0
Share

Want to post a picture of your fully updated android SD$$anonymous$$ manager?

If it is all installed, go back to my original suggestion..

Export as a Google Project (to eclipse) Import in eclipse and build it there ins$$anonymous$$d. If Unity is having a problem 'Pushing to device', exporting can skip that step.

Basically the problem is with your device it seems. Unity can't push and gets stuck as the device may not be responding,

Is Your Phone In DEV $$anonymous$$ode?

1 Reply

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

Answer by supernat · Sep 15, 2013 at 04:28 AM

It sounds like your SDK path is not configured correctly.

Follow this guide to install the SDKs you'll need:

http://docs.unity3d.com/Documentation/Manual/android-sdksetup.html

The default location is here I believe: C:\Program Files (x86)\Android\android-sdk\ You can set this path in Unity Preferences under External Tools, but I believe it will do this automatically for you.

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.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

20 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

Related Questions

Multiple Cars not working 1 Answer

How to load games onto my Google Pixel 2 2 Answers

TPS Camera with Joystick (Android) 0 Answers

OUYA and UNITY3D 1 Answer

Missing android license? Help! 1 Answer


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