Titanium Errors when building for android emulator

You must Login before you can answer or comment on any questions.

I have:

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
Latest version of android SDK installed, tools dir added to my path and titanium also configured. Inside titanium i have tried Google API starting from 2.2 and upto 3, same error occurs. I am trying to run sample Hello World app.
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]
Contents of /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.
on cli.

Per instructions, i don't have any virtual device configured under AVD. I am using Google API 2.2 in titanium right now and i have everything installed from android sdk's android tool.

Any suggestions on what could be going wrong here?

Also posted on: http://stackoverflow.com/questions/10170380/titanium-errors-when-building-for-android-emulator/10170498

— asked 1 year ago by Muhammad Shoaib
1 Comment
  • I have resetup everything from scratch, cloned kitchensink, cleaned it and trying to build it, same error.

    — commented 1 year ago by Muhammad Shoaib

1 Answer

Hello Muhammad,

Try to Clean Your Project Build,and Clean Your Simulator Data For That Project And Restart Titanium and Run it Again......

I think this problem occurred when we are trying to update the SDK..

— answered 1 year ago by Ritesh .
answer permalink
2 Comments
  • Cleaned project. How to clean simulator data? Also, is that needed even when there is no avd?

    — commented 1 year ago by Muhammad Shoaib

  • Also, don't you think this is perhaps more relevant to android sdk as the errors still appear when emulator or android binaries are run manually.

    — commented 1 year ago by Muhammad Shoaib

Your Answer

Think you can help? Login to answer this question!