x


testing on an android device

hi, how would i come about to testing my code on an actual android device. I know how to deploy to an iphone, just change playersetting to ios and build and run with device attached. Then unity will run xcode for me. However, for android, i have eclipse set up for android development and sdk. Is it just simple as just pressing "build and run"? I know for ios i need to get all the development certificate and provisioning file and all that. Are those steps necessary on android as well? I am getting my hand on a android license tommorw but i want to make sure.

Regards

more ▼

asked Jun 13 '11 at 05:33 PM

onllm gravatar image

onllm
86 16 16 17

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

i'm able to use build and run, where the apk will be deployed on my android and automatically play. build will create an apk file that you can copy over usb to your android device and install it manually.

i don't know how this is done under ios, but android signs its packages with a DEBUG key on default; so you're not forced to enter such details as you stated about the ios building. additionally you can add information like your public key for package signing in the build settings for android.

more ▼

answered Jun 13 '11 at 05:54 PM

zwacky gravatar image

zwacky
106 4

When I choose build and run, I see that the apk is created but my attached device is not listed anywhere nor does it run the build. Is there something I'm missing here, or is not-running-on-the-device expected behavior?

Apr 10 at 09:00 PM Danny Mon
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2455
x1999
x1953
x410

asked: Jun 13 '11 at 05:33 PM

Seen: 1445 times

Last Updated: Apr 10 at 09:00 PM