Hey
I’ve searched google and the forums, but I can’t seem to find any info on this. I can’t build and run with my samsung galaxy s3 in unity, it worked fine with my HTC phone but the samsung s doesn’t seem to work. I’ve tried the kies drivers but they didn’t do anything for me either.
Go to device manager, right click the device and hit update driver software. Manually select driver location and point it too [Android SDK Location]/Extras/Google
It seems it already used that driver. I tried updating it anyway, but that didn’t work
Some more info: The phone works well with windows and I have no problems getting stuff on the sdcard/internal through the usb cable. Unity just doesn’t want to build and run
It comes as far as to tell me it is pushing content to “somelongweirdname”, which I would assume is because it actually found the phone, but the phone might deny it. This is afterwards:
USB debugging is enabled.
The console doesn’t include any more information than the picture I uploaded…
I’ve read somewhere else that it could be a space problem on the internal drive, but that can’t be the case here since I still have at least 8 gb on the internal and the apk is only 6-7 mb…
Oh ok, I use only build all time
Have you checked some of the results that googling “INSTALL_FAILED_INVALID_APK” gives? Seems like there are some similar problems, though not Unity related I think.
I have a Galaxy S3 Alpha on Win 7 X64 Unity 4 pro and no problems with Build and Run (apart from issues with android audio, but that’s different from deploying to test)
Yeah it’s on, but it would also have to be if I transfered the .apk, since it hasn’t been signed
But I don’t understand why it doesn’t accept it. There was someone on a forum I checked yesterday (can’t remember where) that stated the reason could be that the installer doesn’t have write rights to the folder. This wasn’t Unity though, but his solution was to symlink the tmp folder to his FAT formatted sdcard; I did try that, but I wasn’t allowed to simlink to my sdcard.
I have rooted my phone, not sure if THAT should have anything to do with this, because it didn’t work before root either.
Maybe you could use bind mounting instead of symlink. This works for me for example in creating an sd shortcut to my internal storage. I couldn’t also use symlink but this seems to work like it:
$ su
# mount -o bind path-you-want-to-bind path-where-you-want-to-bind
Did you write the ‘bind’ after ‘-o’ (or just forgot it qhen typing here…)? And I think that folder (tmp in sdcard) needs to be there before running the command (In case you hadn’t made it)