Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

deploy on android, but blackberry libraries get called with error: "No module name _socket"

$
0
0

Application type: mobile
Titanium SDK: Titanium Command-Line Interface, CLI version 3.1.2, Titanium SDK version 3.2.0.v20130710174319
Platform & version:  Android 2.3.3 [x86]
Device: Android emulator
Host Operating System: , Windows 7
Titanium Studio: build: 3.1.3.201309132423
Console output:
[INFO] :   Alloy compiler completed successfully
[INFO] :   Running emulator process: python "C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20130710174319\android\builder.py" "emulator" "HelloWorld2" "C:\DEV2\adt-bundle-windows-x86_64\sdk" "C:\DEV2\ti-ws\HelloWorld2" "com.apollotang.helloworld2" "3" "WVGA854" "x86"
[INFO] :   Running build process:  python "C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20130710174319\android\builder.py" "simulator" "HelloWorld2" "C:\DEV2\adt-bundle-windows-x86_64\sdk" "C:\DEV2\ti-ws\HelloWorld2" "com.apollotang.helloworld2" "3" "WVGA854"
Traceback (most recent call last):
  File "C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20130710174319\android\builder.py", line 15, in <module>
    from compiler import Compiler
  File "C:\Users\Apollo\AppData\Roaming\Titanium\mobilesdk\win32\3.2.0.v20130710174319\android\compiler.py", line 11, in <module>
    from xml.sax.saxutils import escape
  File "C:\bbndk\host_10_1_0_132\win32\x86\usr\bin\lib\xml\sax\saxutils.py", line 6, in <module>
    import os, urlparse, urllib, types
  File "C:\bbndk\host_10_1_0_132\win32\x86\usr\bin\lib\urllib.py", line 26, in <module>
    import socket
  File "C:\bbndk\host_10_1_0_132\win32\x86\usr\bin\lib\socket.py", line 47, in <module>
    import _socket
ImportError: No module named _socket
[ERROR] :  Emulator process exited with code 1
[ERROR] :  Build process exited with code 1
[ERROR] :  Project failed to build after 1s 371ms
what I don't understand is I am not deploying on blackberry :
<deployment-targets>
        <target device="iphone">false</target>
        <target device="ipad">false</target>
        <target device="android">true</target>
        <target device="blackberry">false</target>
        <target device="mobileweb">true</target>
        <target device="tizen">false</target>
    </deployment-targets>
why is builder.py calling pyton script in blackberry directory ?!!
C:\bbndk\host_10_1_0_132\win32\x86\usr\bin\lib\socket.py

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>