Forum Libraries, Components, and Plugins

Cannot build with android support libraries

Richard_WRichard_W USMember ✭✭

I am trying to use the Android Support libraries but no matter what I do, I can't get the project to build. I have a load of errors like this:
error:package does not exist error:package does not exist error:package does not exist and many similar errors.

In NuGet Package Manager, I have the following packages installed:

Copying the SupportV7Toolbar sample project, I've added all the DLL's as references, except which causes more errors. Unfortunately, I can't get the sample project to build either.
I read in another post that you have to reference android-support-v4.jar in your binding project as a Reference JAR. I've tried this but when I create a binding project, I can't build that either, I get a lot of errors like this:
Error CS0234 The type or namespace name 'BaseFragmentActivityHoneycomb' does not exist in the namespace 'Android.Support.V4.App' (are you missing an assembly reference?) JarBinding Error CS0535 'FragmentActivity' does not implement interface member 'IJavaObject.Handle' JarBinding

I've tried all different combinations of references, and no files appear to be missing. What am I doing wrong? Surely it can't be that difficult to build the Support libraries into a project. I'm completely at a loss as what to do next, any help appreciated!

Sign In or Register to comment.