Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

apkbuilder is DEPRECATED (Titanium Developer 1.2.1, SDK, Mac OSX)

I get this error when running the Android emulater:
note: I get the error, but the app is working fine in the emulator

This is the error I get, if I try to execute apkbuilder:

And I get this error when trying to build a distribution for Android:
note: this fails and doesn't finish the build

Android SDK is the newest and up to date, Titanium Developer is the newest 1.2.1 and the Titanium SDK is also the newest I'm on Mac OS/X.

I have also looked into this, but it didn't seams to help: http://developer.appcelerator.com/question/61511/note-when-updating-mobile-sdks and http://developer.appcelerator.com/question/64381/failed-to-launch-kitchen-sink-android-on-121

What is wrong? Please help!!

— asked October 1st 2010 by Rasmus Burkal
  • android
  • apkbuilder
  • depricated
  • mac
  • macosx
  • osx
  • Has this been resolved. I am seeing the same errors when I build for emulator, I have not tried to build for distribution yet.

    — commented October 15th 2010 by Ben Hornedo
  • Guys, I am getting this same error and now I cannot build for distribution. How can I get Titanium to work with the new Android SDK? This is pretty urgent as the project I am working on is due in one hour. Did Appcelerator see this coming?

    — commented October 17th 2010 by Ben Hornedo

4 Answers

  • Accepted Answer

    No problem, I have it working now again. I also had problems building iPhone apps with iOS SDK - I have now reinstalled Titanium Developer, iOS SDK and Android SDK, and everything is working smooth again… some files must have been corrupted during some of my updates of iOS SDK, Android SDK or Titaium Developer SDK

    — answered October 25th 2010 by Rasmus Burkal
  • I get the same error on Windows. It showed up when I updated my android SDK recently. While it's an "[ERROR]" it does not appear to be causing any problems. As you say, the app still compiles, installs, and runs in both the emulator and on my phone. I suspect that the apkbuilder script is outputting a notice that it's deprecated (shouldn't be used any more going forward). Titanium is probably programed to interpret any output from that script as an error. In this case, it's a deprecated notice not a real error.

    — answered October 2nd 2010 by Tim Poulsen
    1 Comment
    • please let me know if you can build your final distibrution APK file…

      — commented October 3rd 2010 by Rasmus Burkal
  • Hi Tim,

    Thanks, but are you able to build and package a distribution file? I'm not :(

    • Rasmus
  • Rasmus, sorry I missed your reply. I am able to build for distribution. I get the apkbuilder error only when compiling for the emulator. I don't know what to suggest to you if you're still having the same troubles.

    — answered October 25th 2010 by Tim Poulsen
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.