diego1996 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

adb shell python "dlopen libpython2.6.so" #671

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
./adb install PythonForAndroid_r4.apk
UI execute apk & install python
download:http://code.google.com/p/python-for-android/source/browse/python-build/
standalone_python.sh
step 1:"#! /bin/sh" replace "#! /system/bin/sh"
step 2::"storage: replace "sdcard"
step 3:save as python
(cmd:./adb root)

./adb push python /system/bin

./adb shell

root@android:/ #python

##########################################

dlopen libpython2.6.so

Python 2.6.2 (r262:71600, Mar 20 2011, 16:54:21)

[GCC 4.4.3] on linux-armv7l

Type "help", "copyright", "credits" or "license" for more information.

>>>

##########################################

python does work, but I also get an error:

dlopen libpython2.6.so

what happen??

Original issue reported on code.google.com by fihtest...@gmail.com on 4 Jan 2013 at 7:01