我已经使用Titanium Studio构建了一个应用程序。 IOS模拟器完美运行。 但我无法在Android模拟器中构建我的应用程序。我有Android SDK v.22,我使用的是Titanium 3.1.3。
有人可以告诉我我必须做什么吗?
我得到这个日志:
[INFO] Titanium SDK version: 3.1.3 (09/18/13 12:00 222f4d1)
[INFO] Waiting for the Android Emulator to become available
[ERROR] Timed out waiting for android.process.acore
[INFO] Fastdev server running, deploying in Fastdev mode
[INFO] Copying CommonJS modules...
[INFO] Copying project resources..
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR] File "/Users/timstrakerjahn/Library/Application
Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py", line 2598, in <module>
[ERROR] builder.build_and_run(False, avd_id, debugger_host=debugger_host, profiler_host=profiler_host)
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py", line 2245, in build_and_run
[ERROR] self.copy_project_resources()
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py", line 865, in copy_project_resources
[ERROR] self.project_deltas = self.project_deltafy.scan()
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/deltafy.py", line 163, in scan
[ERROR] self.scan_path(self.dir, deltas)
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/deltafy.py", line 195, in scan_path
[ERROR] self.scan_path(absolute_path, deltas)
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/deltafy.py", line 203, in scan_path
[ERROR] file_delta = self.check_delta(absolute_path, path_stat)
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/deltafy.py", line 147, in check_delta
[ERROR] timestamp = self.get_timestamp(path)
[ERROR] File "/Users/timstrakerjahn/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/deltafy.py", line 116, in get_timestamp
[ERROR] c.execute('select modified from timestamps where path = ?', (path,))
[ERROR] 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.
[ERROR] : Build process exited with code 1
[ERROR] : Project failed to build after 46s 605ms
[ERROR] Application Installer abnormal process termination. Process exit value was 1
答案 0 :(得分:1)
如果您
,则可能会出现此问题这是appcelerator开发者论坛上原始问题的链接: http://developer.appcelerator.com/question/139685/programmingerror-you-must-not-use-8-bit-bytestrings-unless-you-use-a-textfactory-that-can-interpret-8-bit-bytestrings