On Jul 19, 2011, at 4:42 AM, Narcís Calvet wrote: > After having added the “uses-library” tag in the manifest,
Aside: <uses-library/> is to make use of Dalvik libraries that are already present on the device, such as Google Maps. You should _not_ use <uses-library/> for any other purpose. > having “decorated” the activty as Greg Shackles suggested at SO and tried > everything I could think of I get this error now when deploying the > application: > > Build FAILED. > > "C:\Monodroid\TestProject\MonoDroidDemo.csproj" (SignAndroidPackage target) > (1) -> > (_CompileAndroidPackage target) -> > AndroidManifest.xml : error 1: Unable to find library > 'Steema.Test.MyCustomActivity'. > [C:\Monodroid\TestProject\MonoDroidDemo.csproj] > monodroid : error 1: System.InvalidOperationException: AndroidManifest.xml > : error 1: Unable to find library 'Steema.TeeChart.TChart'. > [C:\Monodroid\TestProject\MonoDroidDemo.csproj] > > Any idea on what may be missing or wrong? This is where I'm confused. The stackoverflow issue was that you were getting a java.lang.NoClassDefFoundError; the above suggests an error within mandroid. Based on the above error message, it looks like mandroid can't find a dependent assembly, e.g it's processing A.dll, A.dll references B.dll, and B.dll can't be found. (In the above case, B.dll would be Steema.TeeChart.TChart.dll.) If that is the problem, the solution is to add an assembly reference in your project to Steema.TeeChart.TChart.dll, so that mandroid can find it. If that isn't the solution, I'm afraid that you'll need to file a bug report, attaching your project, so that I can investigate further. :-( Thanks, - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid