You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/lib/jvm/jdk1.7.0/bin/java
Traceback (most recent call last):
File "./build.py", line 508, in <module>
make_package(args)
File "./build.py", line 357, in make_package
subprocess.check_call([ANT, arg])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1
Am I need to install jdk1.7.0 or I need to change the path of java?
this is this the result of ls command in /usr/lib/jvm :
And after that I change the name of (for example ) the directory java-1.7.0-openjdk-amd64 to jdk1.7.0 it raise the following error:
BUILD FAILED
/home/username/python-for-android/dist/default/build.xml:6: Source resource does not exist: /home/username/python-for-android/dist/default/project.properties
Total time: 0 seconds
Traceback (most recent call last):
File "./build.py", line 508, in <module>
make_package(args)
File "./build.py", line 357, in make_package
subprocess.check_call([ANT, arg])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ant', 'debug']' returned non-zero exit status 1
Closing as this issue relates to the old toolchain which is no longer supported. Please open a new issue if you experience this problem with the current master branch.
After running the following command :
I got the following error :
Am I need to install
jdk1.7.0
or I need to change the path ofjava
?this is this the result of
ls
command in/usr/lib/jvm
:And in some of this directories I have
/bin/java
.And after that I change the name of (for example ) the directory
java-1.7.0-openjdk-amd64
tojdk1.7.0
it raise the following error:Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: