Titanium Community Questions & Answer Archive

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

Android compile blocked at "Copying project resources.."

Hi,

Each time I try to compile for android, the process blocks at "Copying project resources".
[TRACE] sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

Mac OS/X Leopard
Android 2.1 APIs
Titanium 1.4.0

Thanks

— asked August 29th 2010 by Olivier POLETTE
4 Comments
  • I'm getting the same problem - using Android 1.6 APIs

    — commented September 24th 2010 by Takahito Torimoto
  • Mac OS/X Snow Leopard, Android 1.6 APIs, Titanium SDK 1.4.1.1, Titanium Developer 1.2.1

    — commented September 24th 2010 by Takahito Torimoto
  • I'm having exactly the same problem as well. Android 1.6 APIs, Titanium SDK 1.4.1.1.

    — commented October 26th 2010 by David Aberg
  • Getting the exact same error with Android Mac OSX 10.6.8 Titanium SDK 1.7.1

    ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
    
    — commented July 15th 2011 by Emmanuel Balpe

1 Answer

  • I had similar issue on my environment as well. The issue got fixed when I changed one of my filename (Côte) from unicode character - then it worked fine. Hope this helps.

    Interestingly, it worked fine on my iPhone environment though, the issue was only on Android build environment ;-)

    — answered March 30th 2011 by Rajesh Balasubramanian
    permalink
    4 Comments
    • Exact same solution to the problem. Had some media files w/ french accented characters. Thank's!

      — commented July 15th 2011 by Emmanuel Balpe
    • I got the same problem and this solutions didn't fix it… nevertheless, it's a shame not to handle correctly all kinds of OS path. There's lot of issues due to this mishandling (ie: c:/user/document and settings…)

      — commented October 4th 2011 by Philippe Petit
    • It works! you can't have images or rutes with characters like í ó á é, etc

      — commented June 28th 2013 by Germán Leonardo Rojas Muñoz
    • @Germán please do not comment on 3 year old questions, especially when the question already has the same answer provided as you just gave it. This does not help anyone.

      There are much new questions you can help with than this one.

      — commented June 28th 2013 by Malcolm Hollingsworth
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.