[Mono-bugs] [Bug 667523] New: Cannot build Monodroid project in Visual Studio - missing AndroidManifest.xml

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 26 23:05:00 EST 2011


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

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


           Summary: Cannot build Monodroid project in Visual Studio -
                    missing AndroidManifest.xml
    Classification: Mono
           Product: Mono Tools for Visual Studio
           Version: 1.0
          Platform: i386
        OS/Version: Windows Vista
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: martinpg at javamarket.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13)
Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)

Over the last few days, I have used Visual Studio 2010 and Monodroid 1.0.9186
to create a working project. Today, when I started to work on the project, it
no longer builds. This is the output from the build command in Visual Studio:

Error    2    System.InvalidOperationException: Command failed. Command:
D:\Program Files\Android\android-sdk-windows\platform-tools\aapt "package" "-M"
"C:\Users\martin\AppData\Local\Temp\mmfdeaku.qlp\AndroidManifest.xml" "-J"
"C:\Users\martin\AppData\Local\Temp\mmfdeaku.qlp" "-F"
"C:\Users\martin\AppData\Local\Temp\mmfdeaku.qlp\resources.apk" "-S"
"d:\users\martin\documents\visual studio
2010\Projects\Enemies\Enemies\obj\Debug\res" "-I" "D:\Program
Files\Android\android-sdk-windows\platforms\android-8\android.jar"   
d:\users\martin\documents\visual studio 2010\Projects\Enemies\Enemies\aresgen  
 Enemies

I ran the same command in a console window:

C:\Users\martin>"D:\Program
Files\Android\android-sdk-windows\platform-tools\aapt" "package" "-M" "
:\Users\martin\AppData\Local\Temp\fjkhjuhx.btj\AndroidManifest.xml" "-J"
"C:\Users\martin\AppData\L
cal\Temp\fjkhjuhx.btj" "-F"
"C:\Users\martin\AppData\Local\Temp\fjkhjuhx.btj\resources.apk" "-S" "d
\users\martin\documents\visual studio
2010\Projects\Enemies\Enemies\obj\Debug\res" "-I" "D:\Program
Files\Android\android-sdk-windows\platforms\android-8\android.jar"
C:\Users\martin\AppData\Local\Temp\fjkhjuhx.btj\AndroidManifest.xml: error:
Unable to open file for read: No such file or directory

Four possibly relevant notes:
1. Prior to starting up VS 2010 this evening, I ran the Android SDK Manager and
this updated some components of the Android SDK.
2. Before attempting my first build today, I did make changes to the Main.axml
file, but otherwise no changes to the code.
3. I cannot find an AndroidManifest.xml file in my project - not sure if I
should have one or whether this gets generated dynamically.
4. There is no directory called C:\Users\martin\AppData\Local\Temp\fjkhjuhx.btj




Reproducible: Always

Steps to Reproduce:
1. Build project in Visual Studio 2010

Actual Results:  
Error which prevents any further work.

Expected Results:  
Build should be successful.

Let me know what else you need. I have included below output from the VS 2010
Help window:

Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel

Installed Version: Professional

Microsoft Office Developer Tools   01018-532-2002102-70033
Microsoft Office Developer Tools

Microsoft Visual Basic 2010   01018-532-2002102-70033
Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01018-532-2002102-70033
Microsoft Visual C# 2010

Microsoft Visual C++ 2010   01018-532-2002102-70033
Microsoft Visual C++ 2010

Microsoft Visual F# 2010   01018-532-2002102-70033
Microsoft Visual F# 2010

Microsoft Visual Studio 2010 Team Explorer   01018-532-2002102-70033
Microsoft Visual Studio 2010 Team Explorer

Microsoft Visual Web Developer 2010   01018-532-2002102-70033
Microsoft Visual Web Developer 2010

Crystal Reports Templates for Microsoft Visual Studio 2010   
Crystal Reports Templates for Microsoft Visual Studio 2010

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.30319
Microsoft Visual Studio 2010 SharePoint Developer Tools

Microsoft XNA Game Studio   4.0
Microsoft XNA Game Studio 4.0
Build 4.0.20823.0

MonoDroidVS   1.0.9186
Visual Studio plugin to enable development for Mono on Android.

-- 
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