title: add prebuilt jar to AOSP
body: <p>I am trying to add a prebuilt jar to Android when I compile AOSP.
  The name of the jar is "nxpnfclib.jar" and I put it to AOSP/prebuilts/misc/common/nxp. I also write a Android.mk:</p>
  
  <pre><code>LOCAL_PATH:= $(call my-dir)
  
  include $(CLEAR_VARS)
  
  LOCAL_PREBUILT_JAVA_LIBRARIES := \
      nxpnfclib$(COMMON_JAVA_PACKAGE_SUFFIX)
  
  LOCAL_MODULE_TAGS := optional
  
  include $(BUILD_HOST_PREBUILT)
  </code></pre>
  
  <p>I want to use this jar in AOSP/packages/apps/Settings, so I add nxpnfclib to AOSP/packages/apps/Settings/Android.mk</p>
  
  <pre><code>LOCAL_STATIC_JAVA_LIBRARIES := guava android-support-v4 jsr305 nxpnfclib
  </code></pre>
  
  <p>However, when I compile the whole AOSP, some errors occur:</p>
  
  <blockquote>
    <p>Warning: class [com/nxp/nfclib/ntag/╦К.class] unexpectedly contains
    class [com.nxp.nfclib.ntag.ˊ] Warning: there were 30 classes in
    incorrectly named files.
             You should make sure all file names correspond to their class names.
             The directory hierarchies must correspond to the package hierarchies.
             If you don't mind the mentioned classes not being written out,
             you could try your luck using the '-ignorewarnings' option. Error: Please correct the above warnings first. make: ***
    [out/target/common/obj/APPS/Settings_intermediates/proguard.classes.jar]
    Error 1</p>
  </blockquote>
  
  <p>How can I fix this error? It may come from proguard.</p>
  
  <p>Is there some other way to add the jar?</p>