Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (device)
Viewing all articles
Browse latest Browse all 250

error while running app in android

$
0
0

i have this bug when runnig in android

[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "/Users/mahmoudelmoghazy/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py", line 2623, in <module>
[ERROR]     builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host, profiler_host=profiler_host)
[ERROR]   File "/Users/mahmoudelmoghazy/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py", line 2276, in build_and_run
[ERROR]     True, project_dir = self.top_dir, include_all_ti_modules=include_all_ti_modules)
[ERROR]   File "/Users/mahmoudelmoghazy/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/android.py", line 337, in create
[ERROR]     self.build_modules_info(app_bin_assets_resources_dir, app_bin_dir, include_all_ti_modules=include_all_ti_modules)
[ERROR]   File "/Users/mahmoudelmoghazy/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/android.py", line 170, in build_modules_info
[ERROR]     compiler.compile(compile_bytecode=False, info_message=None)
[ERROR]   File "/Users/mahmoudelmoghazy/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/compiler.py", line 278, in compile
[ERROR]     js_contents = self.make_function_from_file(fullpath)
[ERROR]   File "/Users/mahmoudelmoghazy/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/compiler.py", line 214, in make_function_from_file
[ERROR]     file_contents = codecs.open(path,'r',encoding='utf-8').read()
[ERROR]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 671, in read
[ERROR]     return self.reader.read(size)
[ERROR]   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/codecs.py", line 477, in read
[ERROR]     newchars, decodedbytes = self.decode(data, self.errors)
[ERROR] UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 155167: invalid continuation byte
[ERROR] :  Build process exited with code 1
[ERROR] :  Project failed to build after 5s 144ms

Viewing all articles
Browse latest Browse all 250

Latest Images

Trending Articles





Latest Images