What device(s) are you experiencing the problem on?
- XT800+,all motorola devices
What firmware version are you running on the device?
- Android 2.2
What steps will reproduce the problem?
1.Launch private server
2.forward the tcp
3.export AP
4.Python import android
5.droid=android.Android()
What is the expected output? What do you see instead?
- i hope i can finish the init.but i met:
-- I‘ve set the port number 43211 by 'adb forward tcp:9999 tcp:43211'(why my
port serial is a 5-bit number?)
and : $export AP_PORT=9999
then run the python 'hello android' on PC
it prompt:
>>> droid=android.Android()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/whmc76/python/Genesis/lib/android.py", line 34, in __init__
self.conn = socket.create_connection(addr)
File "/usr/lib/python2.6/socket.py", line 500, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
socket.gaierror: [Errno -2] Name or service not known
after i export AP=localhost
-- com.googlecode.android_scripting.rpc.RpcError: Unknown RPC.
What version of the product are you using? On what operating system?
SL4A_r2,Windows 2000,Ubuntu 10.04
Please provide any additional information below.
Original issue reported on code.google.com by sylar.lu...@gmail.com on 20 Sep 2010 at 1:23
Original issue reported on code.google.com by
sylar.lu...@gmail.com
on 20 Sep 2010 at 1:23