What is the “Android Private Libraries” folder in Eclipse?

后端 未结 3 1182
夕颜
夕颜 2021-02-07 05:39

I initially thought it was exclusively for official libraries like the support library. However any time I add a custom JAR using the \"Add to build path\" menu item, it automat

相关标签:
3条回答
  • 2021-02-07 06:22

    I don't have any problem with custom jars. They are only in Reference Libraries in my case. I suggest you to look at Order and Export tab in java build path properties.Just check all the custom jars and uncheck all the Android specific libraries. If you want all jars in Reference Libraries then check all jars and clean your project.

    enter image description here

    0 讨论(0)
  • 2021-02-07 06:27

    you just need to put jar and jardoc to a folder but not the folder "libs". Then there will be a 'Reference Library', Then you can add jardoc to jar by properties of jar in Reference Library.

    1: New a Folder named sth but not "libs" like folder named 'lib'. 2: Put your .jar and .jardoc in the new folder the folder 'lib' in this tutorial 3: Add the jar and jardoc to project. Then, a 'Reference Libraries' will appear 4: Delete original jar/jardoc.jar in libs (if you've imported them to libs before). 5: add XXXjavadoc.jar to XXX.jar as doc location.

    0 讨论(0)
  • 2021-02-07 06:37

    In my case i always add libraries to libs folder.

    According to my understanding thats the way its suppose to be. Android Private Library folder references these jars in libs folder. The Android Private Library is used during the creation of apk (probably during the conversion of your java code into dex file).

    0 讨论(0)
提交回复
热议问题