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

Unable to build for Android on Windows #1919

Closed
trajano opened this issue Jul 3, 2019 · 1 comment
Closed

Unable to build for Android on Windows #1919

trajano opened this issue Jul 3, 2019 · 1 comment

Comments

@trajano
Copy link

trajano commented Jul 3, 2019

I just updated recently from 7.2.2 to 7.3.2 and at 7.2.2 the Android build worked correctly. However right now it's failing. Even reverting back to 7.2.2 shows the same error.

Ren'Py 7.3.2.320

I'm compiling a short test program, to see if you have a working JDK on your system.



Traceback (most recent call last):
  File "game/mobilebuild.rpy", line 197, in call
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 710, in __init__
  File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 958, in _execute_child
WindowsError: [Error 5] Access is denied

I was unable to use javac to compile a test file. If you haven't installed the Java Development Kit yet, please download it from:

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

The JDK is different from the JRE, so it's possible you have Java without having the JDK. Without a working JDK, I can't continue.

FWIW here's the fullversion of Java I have

C:\opt\renpy>javac -fullversion
javac full version "1.8.0_211-b12"

C:\opt\renpy>java -fullversion
java full version "1.8.0_211-b12"

I also checked in the console os.getEnv("JAVA_HOME") and it returns the values I expect

The thing is I am not sure what file it is trying to access. I also tried running as admin with no luck.

@trajano
Copy link
Author

trajano commented Jul 3, 2019

This was caused by having the JAVA_HOME wrapped in quotes (due to a space in Program Files) so use Progra~1

@trajano trajano closed this as completed Jul 3, 2019
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

1 participant