[Mono-bugs] [Bug 643202] monodroid+javac error when inheriting from an Activity that comes from a Class Library

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 1 13:02:08 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=643202#c3


--- Comment #3 from Jonathan Pryor <jpryor at novell.com> 2010-10-01 17:02:08 UTC ---
There are two underlying bugs here:

 1. Not all assemblies are being passed to monodroid.exe.  All non-framework
    assemblies that need to be bundled into the .apk need to provided as
    command-line arguments:

        monodroid.exe --args=...  assembly1.dll assembly2.dll

    This can be worked around by using <MonoDroidExtraArgs/> in the application
    .csproj, e.g.:

        <PropertyGroup>
          <MonoDroidExtraArgs>bin\Debug\HelloLibrary.dll</MonoDroidExtraArgs>
        </PropertyGroup>

    This workaround will allow the build to complete without error (yay),
    but the resulting .apk won't work properly (boo).

 2. monodroid.exe has a proxy-generation bug which prevents the resulting
    .apk from working as expected.

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