x


android sdk install woe ???

Error building Player: Win32Exception: ApplicationName='java.exe', CommandLine='-Dcom.android.sdkmanager.toolsdir="C:/Program Files (x86)/Android/android-sdk\tools"

When Im trying to build the game for Android, any adviced on what should I do? install/uninstall? After I click build, a couple second then unity ask me to select android sdk folder manually, might be error on Android SDK. This the rest of error:

-classpath "C:/Program Files (x86)/Android/android-sdk\tools\lib\sdkmanager.jar" com.android.sdkmanager.Main list targets', CurrentDirectory=''

yellow error:

Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers. UnityEditor.HostView:OnGUI()

more ▼

asked Oct 07, 2012 at 08:55 AM

Xdy gravatar image

Xdy
33 69 64 67

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

2 answers: sort oldest

For the shader error - you're probably using a particular transparency shader that does an alpha test. All of the cutout shaders do IIRC, fyi.

The problem is this compiles into a clip instruction that causes a 100% hang/reboot-crash on some popular phones like HTC Thunderbolt. If you ignore the error you your game will run fine on 90% of the phones out there, and hang->crash->reboot on 10%.

more ▼

answered Oct 18, 2012 at 08:03 PM

GianormousGames gravatar image

GianormousGames
65 7 6 6

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

If you have a problem with shader due to building adk.

Try to build Android with Texture compression : Adreon ATC that is in the build setting you won't find any more " Shader is using clip instruction (usually caused by alpha test). It might cause problems on some Qualcomm/Adreno drivers."

more ▼

answered Aug 20, 2013 at 04:38 PM

EthanWoo gravatar image

EthanWoo
1

(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:

x4592
x130
x17

asked: Oct 07, 2012 at 08:55 AM

Seen: 1613 times

Last Updated: Aug 20, 2013 at 04:38 PM