Titanium Community Questions & Answer Archive

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

Problem packaging for Android

Hi,

I get some errors when trying to package an app for Android using 1.30, this is what I get:

Packaging Error

/Developer/android-sdk-mac_86/platforms/android-4/tools/aapt (skipping hidden file '/Users/XXXXXXXX/Documents/Development/Android/APP/build/android/bin/assets/.DS_Store')
(skipping hidden file '/Users/XXXXXXXX/Documents/Development/Android/APP/build/android/bin/assets/Resources/.DS_Store')
(skipping hidden file '/Users/XXXXXXXX/Documents/Development/Android/APP/build/android/bin/assets/Resources/pages/.DS_Store')
/Developer/android-sdk-mac_86/tools/zipalign Unable to open '/Users/XXXXXXXX/Desktop/completedapps/Distribution/APP.apk' as zip archive
Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.3.0/android/builder.py", line 944, in <module>
s.build_and_run(True,avd_id,key,password,alias,output_dir)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.3.0/android/builder.py", line 870, in build_and_run
launched, launch_failed = self.package_and_deploy()
File "/Library/Application Support/Titanium/mobilesdk/osx/1.3.0/android/builder.py", line 638, in package_and_deploy
os.unlink(app_apk)
OSError: [Errno 2] No such file or directory: '/Users/XXXXXXXX/Desktop/completedapps/Distribution/APP.apk'

— asked May 28th 2010 by Stephen Page
  • 1.30
  • android
  • build
  • package
  • problem
  • zip
0 Comments

1 Answer

  • Hi,

    This problem appears when you set a wrong "Alias" field value.

    — answered June 2nd 2010 by SEBASTIEN PEROCHON
    permalink
    0 Comments
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.