Question

I installed python 2.7 in my Android device and I tried executing a python script by typing the command in terminal emulator. The problem is that although I use the full path for python the following error appears:

link_image[1997]: failed to link ./python CANNOT LINK EXECUTABLE.

I tried to add environment variables in ./~bashrc but I didn't make it. Any idea ?

Was it helpful?

Solution

OK it is solved. I followed these steps (http://code.google.com/p/python-for-android/wiki/RunPythonFromShell) but first I had to put the file standalone_python.sh in /data/ because in sdcard I had no permission to execute. And finally using 'su' I made it to run my script as root.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top