我在 Windows 7 64 位的虚拟机上运行 Linux 32 位。在 Linux 盒子中,我安装了 Java 7、适用于 Linux 32 位的最新 Android SDK 和 Titanium Studio。我为上面的所有三个文件夹授予了读写权限。当我尝试导入示例项目时,我想知道是什么导致了这个错误“OSError: [Errno 2] No such file or directory”。
[INFO] logfile = /usr/Titanium_Studio/RSS Reader/build.log
[INFO] Building Sample.RSS for Android ... one moment
[INFO] Titanium SDK version: 2.1.2 (08/24/12 14:46 ed7f777)
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR] File "/root/.titanium/mobilesdk/linux/2.1.2.GA/android/builder.py", line 2237, in <module>
[ERROR] s.build_and_run(False, avd_id, debugger_host=debugger_host)
[ERROR] File "/root/.titanium/mobilesdk/linux/2.1.2.GA/android/builder.py", line 1848, in build_and_run
[ERROR] self.wait_for_device('e')
[ERROR] File "/root/.titanium/mobilesdk/linux/2.1.2.GA/android/builder.py", line 362, in wait_for_device
[ERROR] devices = self.sdk.list_devices()
[ERROR] File "/root/.titanium/mobilesdk/linux/2.1.2.GA/android/androidsdk.py", line 220, in list_devices
[ERROR] (out, err) = subprocess.Popen([adb, 'devices'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
[ERROR] File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
[ERROR] errread, errwrite)
[ERROR] File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child
[ERROR] raise child_exception
[ERROR] OSError: [Errno 2] No such file or directory
[ERROR] Application Installer abnormal process termination. Process exit value was 1