Hi, I am developing an 2D game for android. I want to test it on an android device so i downloaded unity remote 4 then i downloaded android sdk and did the set up for unity. Put when i press play in the editor nothing happens on my devices screen. I dont seem to understand why.
Unity remote is not necessary for what you are trying to do (its for something else). In general since you are just trying to test on device just select “build and run” from the dropdown menu with the device plugged in the PC’s usb port with an android build target (assuming the android sdk is setup and configured correctly as you stated you have done this already). Also make sure your device’s options allows installing apk’s from unknown sources and you’ll probably want to also turn on debugging on the device.
Thanks it worked! But when i try to open it, it closes …Its not letting me open it
Turn on the debug settings and have eclipse open with the logcat window visible so you can see why it crashes while the device is connected and trying to run on device. If the error message is not helpful perhaps at least try a blank project deployment succeeds (meaning doesn’t close and shows the blank scene) to make sure that things are setup correctly before you go digging through your code.
I just tried a blank project but still it closes on me… also in the eclipse log window it says survey data missing and Action signal data changed