0

我有:

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)

Linux falcon 3.2.0-2-amd64 #1 SMP Sun Mar 4 22:48:17 UTC 2012 x86_64 GNU/Linux

Titanium Studio, build: 1.0.9.201202141208
(c) Copyright 2011 by Appcelerator, Inc.  All rights reserved.
Build: jenkins-titanium-rcp-master-138 (origin/master)
Date: 14 February 2012, 12:10:43

安装了最新版本的 android SDK,工具目录添加到我的路径和钛也配置。在钛内部,我尝试了从 2.2 到 3 的 Google API,出现同样的错误。我正在尝试运行示例 Hello World 应用程序。

Logfile initialized
[INFO] logfile = ~/Projects/Titanium/Hello World/build.log
[DEBUG] ~/.titanium/mobilesdk/linux/1.8.2/android/builder.py simulator Hello World ~/rootfs/android-sdk-linux ~/Projects/Titanium/Hello World com.me.com.hello.world 5 WVGA854 
[INFO] Building Hello World for Android ... one moment
[INFO] Titanium SDK version: 1.8.2 (02/23/12 17:46 59b3a90)
[DEBUG] Waiting for device to be ready ...
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "~/.titanium/mobilesdk/linux/1.8.2/android/builder.py", line 2083, in <module>
[ERROR]     s.build_and_run(False, avd_id, debugger_host=debugger_host)
[ERROR]   File "~/.titanium/mobilesdk/linux/1.8.2/android/builder.py", line 1727, in build_and_run
[ERROR]     self.wait_for_device('e')
[ERROR]   File "~/.titanium/mobilesdk/linux/1.8.2/android/builder.py", line 340, in wait_for_device
[ERROR]     devices = self.sdk.list_devices()
[ERROR]   File "~/.titanium/mobilesdk/linux/1.8.2/android/androidsdk.py", line 224, in list_devices
[ERROR]     raise Exception(err)
[ERROR] Exception: ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so' from /etc/ld.so.preload cannot be preloaded: ignored.
[ERROR] 

/etc/ld.so.conf.d/x86_64-linux-gnu.conf 的内容

# Multiarch support
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu

[编辑]

Running android, adb, emulator, etc cause:
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so' from /etc/ld.so.preload cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libc/memcpy-preload.so' from /etc/ld.so.preload cannot be preloaded: ignored.

在cli上。

关于这里可能出现什么问题的任何建议?

4

1 回答 1

0

似乎,它无法检测到设备(模拟器)本身。如果您尝试在设备上运行,请转到 App Explorer 单击“在设备上运行”选项。或者,如果您尝试使用模拟器,请让应用程序自己启动模拟器,否则请检查 DDMS 是否列出了您的模拟器。如果没有,请杀死 adb 并尝试运行。因为,您的日志说,在实际启动应用程序之前,它不会进入下一步正确找到模拟器/设备......

于 2012-04-16T07:59:15.500 回答