Error: Android source build in eclipse

前端 未结 3 1458
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 21:21

While trying to add android source to eclipse, I am getting the following errors.

Project \'android\' is missing required library: \'out/target/common/obj/J         


        
相关标签:
3条回答
  • 2020-12-31 21:37

    A more comprehensive answer at here: https://groups.google.com/forum/?fromgroups=#!topic/android-platform/XIbR8ZKe7Tw

    0 讨论(0)
  • 2020-12-31 21:42

    I would not recommend using eclipse for android source. Android is not a single project and it too big for an IDE like eclipse to handle.

    Use simpler plain text editors like vim, emacs to browse the code

    0 讨论(0)
  • 2020-12-31 21:54

    You should go to Project -> Properties -> Java Build Path.

    There open tab Libraries.

    In this tab out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates/javalib.jar should be changed to out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar by selecting javalib.jar from google-common_intermediates, pressing Edit and selecting instead android-common_intermediates.

    Entry with gsf-client_intermediates javalib.jar can be simply deleted.

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