Is there any way I can get more log data to find out what is wrong? I cant deploy my app to my phone or emulator. Failing that I am going to have to create a new app, and copy everything over file by file until I find the culprit.

On 27/08/11 19:34, Stuart Johnson wrote:
I have removed everything I can think of that I have added. I changed the case of some objects, could that be it? I noticed that if I change the filename case of something in the resourses folder, it fails to change in the Resource.Designer file unless I change the name too.


On 27/08/11 17:15, Greg Shackles wrote:
Tough to say exactly what's wrong from that log, but my guess is that it's related to your application's resources. You mentioned adding icons, so I'd suggest removing those (or maybe any other resources you added) from the project and see if packaging works again.


- Greg

On Sat, Aug 27, 2011 at 12:10 PM, Stuart Johnson <stu...@logicethos.com <mailto:stu...@logicethos.com>> wrote:

    I have been working fine all day, testing my application on the
    emulator.  I added a some new activities, icons, and re-factored some
    code, all  of which build fine, yet now I can no longer create an
    android package.

    I have tried deleting the obj folder, restarting the emulator,
    restarting the PC, removing the changes I made. Have I missed
    something?



    ------ Build started: Project: MapAppDroid, Configuration: Debug
    Any CPU
    ------
      MapAppDroid -> C:\Documents and Settings\User\My Documents\Visual
    Studio
    2010\Projects\MapAppDroid\MapAppDroid\bin\Debug\MapAppDroid.dll
    Microsoft (R) Build Engine Version 4.0.30319.1
    [Microsoft .NET Framework, Version 4.0.30319.235]
    Copyright (C) Microsoft Corporation 2007. All rights reserved.

    Build started 27/08/2011 17:00:24.
    Project "C:\Documents and Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\MapAppDroid.csproj" on node 1
    (SignAndroidPackage target(s)).
    _GenerateAndroidAssetsDir:
    Skipping target "_GenerateAndroidAssetsDir" because it has no
    outputs.
    _ResolveMonoAndroidSdks:
      Looking for Android SDK..
        Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
        Key HKLM\SOFTWARE\Android SDK Tools\Path found:
          Path contains adb.exe in \platform-tools
    (C:\Android\android-sdk).
      Looking for Java 6 SDK..
        Key HKLM\SOFTWARE\JavaSoft\Java Development
    Kit\CurrentVersion found.
        Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome
    found:
          Path contains jarsigner.exe in \bin (C:\Program
    Files\Java\jdk1.6.0_26).
      MonoAndroid Tools: C:\Program Files\MSBuild\Novell\
      MonoAndroid Framework: C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v2.2\;C:\Program
    Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\
      Android SDK: C:\Android\android-sdk\
      Java SDK: C:\Program Files\Java\jdk1.6.0_26\
    _ValidateAndroidPackageProperties:
      GetAndroidPackageName Task
        ManifestFile: C:\Documents and Settings\User\My Documents\Visual
    Studio
    2010\Projects\MapAppDroid\MapAppDroid\Properties\AndroidManifest.xml
        AssemblyName: MapAppDroid
        PackageName: MapAppDroid.MapAppDroid
    _UpdateAndroidResgen:
    Skipping target "_UpdateAndroidResgen" because all output files are
    up-to-date with respect to the input files.
    GenerateTargetFrameworkMonikerAttribute:
    Skipping target "GenerateTargetFrameworkMonikerAttribute" because all
    output files are up-to-date with respect to the input files.
    CoreCompile:
    Skipping target "CoreCompile" because all output files are up-to-date
    with respect to the input files.
    CopyFilesToOutputDirectory:
      MapAppDroid -> C:\Documents and Settings\User\My Documents\Visual
    Studio
    2010\Projects\MapAppDroid\MapAppDroid\bin\Debug\MapAppDroid.dll
    _ConvertDebuggingFiles:
    Skipping target "_ConvertDebuggingFiles" because all output files are
    up-to-date with respect to the input files.
    _CompileAndroidPackage:
      Mandroid Task
        Assemblies: C:\Documents and Settings\User\My Documents\Visual
    Studio
    2010\Projects\MapAppDroid\MapAppDroid\bin\Debug\MapAppDroid.dll;
    C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v2.2\Mono.Android.dll;
    C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll;
    C:\Documents and Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\protobuf-net.dll; C:\Program
    Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll;
    C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.dll;
    C:\Program
    Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.dll;
    C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.Linq.dll;
    C:\Documents and Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\TurboDroidConnector.dll
        I18nAssemblies:
        BuildDirectory: C:\Documents and Settings\User\My
    Documents\Visual
    Studio 2010\Projects\MapAppDroid\MapAppDroid\obj\Debug\
        ReferenceAssembliesDirectory: C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v2.2\;C:\Program
    Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\;;
        AndroidSdkDirectory: C:\Android\android-sdk\
        JavaSdkDirectory: C:\Program Files\Java\jdk1.6.0_26\
        AssetDirectory: C:\Documents and Settings\User\My
    Documents\Visual
    Studio 2010\Projects\MapAppDroid\MapAppDroid\obj\Debug\assets\
        AndroidSdkPlatform: 8
        MonoAndroidToolsDirectory: C:\Program Files\MSBuild\Novell\
        ResourceDirectory: C:\Documents and Settings\User\My
    Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\obj\Debug\res\
        ManifestTemplate: C:\Documents and Settings\User\My
    Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\Properties\AndroidManifest.xml
        Package: MapAppDroid.MapAppDroid
        NativeLibrary:
        JavaSource:
        Debug: True
        UseSharedRuntime: True
        SupportedAbis: armeabi
        LinkMode: None
        ExtraArgs:
      C:\Program Files\MSBuild\Novell\mandroid.exe -v --nosign
    --sdk-dir="C:\Android\android-sdk" --builddir="C:\Documents and
    Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\obj\Debug\android"
    --framework-dir="C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v2.2"
    --framework-dir="C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0" -S="C:\Documents and
    Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\obj\Debug\res"
    --package="MapAppDroid.MapAppDroid"   --nolink --abi="armeabi"
    --java-sdk-dir="C:\Program Files\Java\jdk1.6.0_26" --debug
    --manifest-template="C:\Documents and Settings\User\My
    Documents\Visual
    Studio
    2010\Projects\MapAppDroid\MapAppDroid\Properties\AndroidManifest.xml"
    --sdk-platform="8" "C:\Documents and Settings\User\My
    Documents\Visual
    Studio
    2010\Projects\MapAppDroid\MapAppDroid\bin\Debug\MapAppDroid.dll"
    "C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v2.2\Mono.Android.dll"
    "C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\mscorlib.dll"
    "C:\Documents and Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\protobuf-net.dll" "C:\Program
    Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll"
    "C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.dll"
    "C:\Program
    Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.dll"
    "C:\Program Files\Reference
    Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.Linq.dll"
    "C:\Documents and Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\TurboDroidConnector.dll"
      MonoDroid.Utils.CommandFailedException: Operation is not valid
    due to
    the current state of the object
        at
    MonoDroid.Utils.ProcessRocks+<ReadStandardOutput>c__Iterator6.MoveNext
    () [0x00000] in <filename unknown>:0
        at Monodroid.Toolbox.InvokeCommand (IEnumerable`1 commandLine)
    [0x00000] in <filename unknown>:0
        at Monodroid.Toolbox.InvokeAapt (System.String packageName)
    [0x00000] in <filename unknown>:0
        at Monodroid.Droidinator.CreatePackagedResources
    (System.Collections.Generic.List`1 javaTypes) [0x00000] in <filename
    unknown>:0
        at Monodroid.Droidinator.CreateApk () [0x00000] in <filename
    unknown>:0
        at Monodroid.MainClass.Main (System.String[] argv) [0x00000] in
    <filename unknown>:0

    C:\Program
    Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(399,2):
    error MSB6006: "mandroid.exe" exited with code 1. [C:\Documents and
    Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\MapAppDroid.csproj]
    Done Building Project "C:\Documents and Settings\User\My
    Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\MapAppDroid.csproj"
    (SignAndroidPackage target(s)) -- FAILED.

    Build FAILED.

    "C:\Documents and Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\MapAppDroid.csproj"
    (SignAndroidPackage target) (1) ->
    (_CompileAndroidPackage target) ->
      C:\Program
    Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(399,2): error
    MSB6006: "mandroid.exe" exited with code 1. [C:\Documents and
    Settings\User\My Documents\Visual Studio
    2010\Projects\MapAppDroid\MapAppDroid\MapAppDroid.csproj]

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:02.73






    Error: Cancelled
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped
    ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========



_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to