【求助】打包apk的时候,在安装sdk这一步总是报错
renpy吧
全部回复
仅看楼主
level 1
嗯哼子 楼主
如题,错误提示如下,求大神指教。
I'm compiling a short test program, to see if you have a working JDK on your
system.
Traceback (most recent call last):
File "launcher/game/android.rpy", line 250, in call
self.process = subprocess.Popen(cmd, cwd=RAPT_PATH, stdout=f, stderr=f, startupinfo=startupinfo, **kwargs)
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 679, in __init__
File "/home/tom/ab/x64lucid-deps/install/lib/python2.7/subprocess.py", line 896, in _execute_child
WindowsError: [Error 267]
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/index.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.
2015年01月11日 08点01分 1
level 9
字面意思是没有安装JDK?
2015年01月12日 05点01分 2
谢谢大神解答~已经自己糊里糊涂地弄好了。
2015年01月14日 02点01分
level 11
看起来是无法检测到jdk,你在装完jdk后还需要设置一下环境变量才能用
2015年01月12日 23点01分 3
谢谢吧主解答~环境变量有设置但是还是不行,后来重装了renpy,用里面自带的工具装了安卓sdk,就莫名其妙地可以用了,我估摸着可能是安卓sdk的问题吧,但是跟错误报告上说的确实jdk,我真一头雾水。。。
2015年01月14日 02点01分
level 1
嗯哼子 楼主
总之,是已经解决了,谢谢大家~撒花~~~撒花~~~
2015年01月14日 02点01分 4
1