Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building Player #11

Closed
iftah opened this issue Mar 29, 2014 · 1 comment
Closed

Error building Player #11

iftah opened this issue Mar 29, 2014 · 1 comment

Comments

@iftah
Copy link

iftah commented Mar 29, 2014

I get this error when I add the google-play-services_lib folder, located at /extras/google/google_play_services/libproject, into the Plugins/Android folder.

Error building Player: Win32Exception: ApplicationName='C:\Program Files (x86)\Java\jre7\bin\javac.exe', CommandLine='-bootclasspath "D:/adt-bundle-windows-x86_64-20140321/sdk/platforms/android-19\android.jar" -d "D:\Unity Projects\EasyGame\Temp\StagingArea\bin\classes" -source 1.6 -target 1.6 -encoding ascii "com\google\android\gms\R.java" "com\iftah\EasyGame\R.java"', CurrentDirectory='D:\Unity Projects\EasyGame\Temp\StagingArea\gen'

@NamblerX
Copy link

NamblerX commented Apr 9, 2014

I solved this issue by downloading the JDK:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
and then setting the "JAVA_HOME" environment variable to the install directory of the JDK, in my case:
C:\Program Files\Java\jdk1.8.0
and then adding the \bin to the "Path" variable, in my case:
C:\Program Files\Java\jdk1.8.0\bin

I'm not actually sure if you have to do the last two steps, that's just what I read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants