title: NoClassDefFoundError: android/support/v4/content/LocalBroadcastManager
body: <ul>
  <li>Platform: MonoDroid v4.2.4  </li>
  <li>IDE: Visual Studio 2012 </li>
  <li>Minimum SDK version: API 12</li>
  </ul>
  
  <p>I'm having runtime issues when trying to utilize the LocalBroadcastManager class included in the Android.Support.v4.Content namespace. In my IDE, I've explicitly added the reference and can scope the namespace/class fine, and, after writing some code, compiles as expected. However, upon application deployment and launch, I'm prompted with the error: <em>"NoClassDefFoundError: android/support/v4/content/LocalBroadcastManager"</em></p>
  
  <p>Here's the code that prompts the runtime error (DSC_Discconected_From_Device is a class that inherits from BroadcastReceiver). It stops execution at the last line. </p>
  
  <pre><code>        IntentFilter filter = new IntentFilter(UsbManager.ActionUsbDeviceDetached);
  
          DSC_Disconnected_From_Device Receiver = new DSC_Disconnected_From_Device();
  
          LocalBroadcastManager.GetInstance(this).RegisterReceiver(Receiver, filter);
  </code></pre>
  
  <p>Under the SDK manager, all the API packages are installed, as well as the "Support Library" package under extras. </p>
  
  <p>Where is it looking for the definition of the class? I've presumably copied the source, LocalBroadcastManager.java, to paths in the android-sdk framework where it "might" be looking. For example: ..\android-sdk\extras\android\support\v4\src\honeycomb\android\support\v4\content\LocalBroadcastManager.java</p>
  
  <p>Ideas?</p>
  
  <p>Edit: Forgot to mention that my project already references the support library, android-support-v4, in the folder "libs", located in the root of my project. I had to create the directory and add it through Visual Studio.</p>