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

[Errno 22] Compiling Javascript Resources

$
0
0

I am using Alloy. I just tried to add an ImageView with an image. On my assets folder I created a folder named images, and places the image I'm using there.

This is my XML code:

<Alloy>
    <Window class="container" layout="vertical" backgroundColor="#f8f8f8">
        <ImageView id="logoArion" image="images/arion.jpg"></ImageView>
    </Window>
</Alloy>
The problem is that I'm getting this error when I try to run the app. I don't know if it has anything to do with the image, but I can't seem to find out what the problem is. Any help would be much appreciated.
[ERROR] Exception occured while building Android project:
[ERROR] Traceback (most recent call last):
[ERROR]   File "C:\Users\Juan\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py", line 2621, in <module>
[ERROR]     builder.build_and_run(True, avd_id, device_args=device_args, debugger_host=debugger_host, profiler_host=profiler_host)
[ERROR]   File "C:\Users\Juan\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py", line 2293, in build_and_run
[ERROR]     self.merge_internal_module_resources()
[ERROR]   File "C:\Users\Juan\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py", line 2046, in merge_internal_module_resources
[ERROR]     zip_extractall(res_zip_file, self.project_dir)
[ERROR]   File "C:\Users\Juan\AppData\Roaming\Titanium\mobilesdk\win32\3.1.2.GA\android\builder.py", line 207, in zip_extractall
[ERROR]     out_file = open(file_path, "wb")
[ERROR] IOError: [Errno 22] invalid mode ('wb') or filename: u'C:\\Code\\Titanium_Workspace\\HolaMundoGoogle\\build\\android\\res\\values\\strings.xml'
[ERROR] :  Build process exited with code 1

Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>