[Mono-bugs] [Bug 663451] New: Exception when trying to add resources to project

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jan 10 12:28:36 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=663451

https://bugzilla.novell.com/show_bug.cgi?id=663451#c0


           Summary: Exception when trying to add resources to project
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mkestner at novell.com
        ReportedBy: orelzion at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10

I'm getting an exception every time I'm trying to add a resource.
For example I've just tried to add two pictures to the Resources/drawable
folder by the names "israel_icon.png" and "uk_icon.png" both correct names, and
when I'm trying to build in order to get it to be recognized in the c# file,
I'm getting this weird exception.


Reproducible: Always

Steps to Reproduce:
1. Adding file to resources folder (ex drawable)
2. Changing its properties to "AndroidResource"
3. Trying to build solution
Actual Results:  
Getting an exception
Error    2    System.InvalidOperationException: Command failed. Command:
C:\Users\orel\Desktop\android-sdk_r08-windows\android-sdk-windows\platform-tools\aapt
"package" "-M"
"C:\Users\orel\AppData\Local\Temp\j5udrbq3.drw\AndroidManifest.xml" "-J"
"C:\Users\orel\AppData\Local\Temp\j5udrbq3.drw" "-F"
"C:\Users\orel\AppData\Local\Temp\j5udrbq3.drw\resources.apk" "-S"
"C:\Users\orel\documents\visual studio
2010\Projects\MonoDroidApplication1\MonoDroidApplication1\obj\Debug\res" "-I"
"C:\Users\orel\Desktop\android-sdk_r08-windows\android-sdk-windows\platforms\android-9\android.jar"
   C:\Users\orel\documents\visual studio
2010\Projects\MonoDroidApplication1\MonoDroidApplication1\aresgen   
MonoDroidApplication1

Expected Results:  
redesigning the Resources class

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list