Has anyone gotten Unity to build play the the Android device?
When I build play it appears that the .apk is being made and delivered to the phone, but nothing happens on the phone and then the .apk can not be found on the local drive or the phone. FYI - using the Nexus One.
I can use build then copy the.apk to the phone and install but something doesn’t seem right with the B&P feature.
How do you copy the apk to the phone? Did you unable USB Debugging under Settings / Application / Development? If using Windows; did you update the drivers to enable the ‘ADB Composite Device’ (have a look under the Device Manager in Windows)? Does ‘adb devices’ from command line list Nexus device (the adb command is part of the Android SDK)? Does ‘adb install ’ work? Does removing the app completely prior to Build&Run make any difference? Does ‘adb logcat’ show anything useful (ie something indicating what the problem might be)?
Yea i posted this same problem in a few threads back cause I was unable to figure out a way to get it to work but I was able to get it to work at one point in time but not since then.
Did you try to answer the previous questions? Quite possibly is your device not recognized by the system, and then Unity can’t do much. Or, something is failing when trying to install the. apk (could be a number of reasons for that; not enough free space / sdcard not ready etc).
I checked all the questions you asked Erique. And all looks good, I can even deploy my game by using ‘adb install ’. However if I use ‘Build and Run’ I get:
Error building Player: Win32Exception: ApplicationName=‘C:/android-sdk-windows\tools\adb.exe’, CommandLine=‘start-server’, CurrentDirectory=‘’
UnityEditor.HostView:OnGUI()