Error building player when run on Asus Transformer Prime with android 4.0.3

Hi everyone,
I just got a Asus Transformer Prime which comes with Android Ice Cream Sandwich 4.0.3 and I was excited about testing my Unity apps on it. Unfortunately they don’t even compile, and it’s an UnityPlayer error.

I don’t get any error with other devices which have android 2.3.1, 2.2, 2.1. But with Transformer Prime and android 4.0.3 I get 2 errors. My Unity version is 3.4.2f3.

Error building Player: ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
Exception: Error building Player: ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length
UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:367)
UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:291)

Has anyone tested unity with android 4.0.3
Any comment appreciated!

Thanks,
Paula.

I am runnign Android 4.0.3 on an Asus Transformer TF101 and have exactly the same issue.
,I am running Android 4.0.3 on an Asus Transformer and have excatly the same problem

Have you tried on Unity3D 3.5? I also like to know if it can work on Asus Transformer Prime. Thanks!

I figured it out. This issue isn’t related to the version of Unity.
The problem is that the Asus sync program was constantly re-loading its own version of adb.exe. As long as no other instances of adb.exe are running it works. The solution is to kill or uninstall the program (asusUPCTLoader.exe in this case) that keeps respawning adb.exe.
I’ve seen many other people with other brands of devices complain about this same problem. Other devices will have their own custom programs that spawn adb.exe, fortunately it’s easy to find them. The best way to figure it out is to use ‘Process Explorer’, it’s essentially a ‘super’ version task manager that lets you easily inspect all the processes, dlls and handles loaded in the system. This is an extremely valuable tool, no pro dev should be without it.
Get it here: Process Explorer - Sysinternals | Microsoft Learn