{"id":236,"date":"2014-05-14T16:21:58","date_gmt":"2014-05-14T08:21:58","guid":{"rendered":"http:\/\/www.linangran.com\/?p=236"},"modified":"2015-02-08T12:26:28","modified_gmt":"2015-02-08T04:26:28","slug":"android%e5%bc%80%e5%8f%91%e4%b8%adjava%e5%ba%93%e4%be%9d%e8%b5%96%e5%87%ba%e7%8e%b0classdefnotfound%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"https:\/\/www.linangran.com\/?p=236","title":{"rendered":"Android\u5f00\u53d1\u4e2dJava\u5e93\u4f9d\u8d56\u51fa\u73b0ClassDefNotFound\u95ee\u9898"},"content":{"rendered":"<p>\u6628\u5929\u5728\u505a\u4e00\u4e2aAndroid\u7684\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u51fa\u73b0\u4e86\u6211\u4ece\u6765\u6ca1\u9047\u5230\u8fc7\u7684\u5e93\u4f9d\u8d56\u95ee\u9898\uff0c\u7f51\u4e0a\u641c\u7d22\u4e86\u534a\u5929\u4e5f\u6ca1\u6709\u7b54\u6848\uff0c\u6700\u540e\u53d1\u73b0\u539f\u56e0\u7adf\u7136\u975e\u5e38\u7b80\u5355\uff0c\u8bb0\u5f55\u4e8e\u6b64\u3002<\/p>\n<p>\u6211\u7684Android\u5e94\u7528Project1\uff0c\u4f9d\u8d56\u4e8e\u53e6\u5916\u4e00\u4e2a\u7eafJava\u7684\u9879\u76eeProject2\uff0c\u6211\u5728Build Path\u91cc\u914d\u7f6e\u597d\u4e86\u9879\u76ee\u4f9d\u8d56\uff0cEclipse\u672c\u8eab\u4e5f\u6ca1\u6709\u62a5\u4ec0\u4e48\u5f02\u5e38\uff0c\u4f46\u662f\u4e00\u5230\u771f\u673a\u4e0a\u8c03\u8bd5\u7684\u65f6\u5019\uff0c\u5c31\u51faClassDefNotFound\u7684\u95ee\u9898\uff0c\u770b\u4e0a\u53bb\u662f\u4f9d\u8d56\u51fa\u4e86\u95ee\u9898\u3002<\/p>\n<p>StackOverflow\u4e0a\u7684\u7b54\u6848\u6ca1\u6709\u4e00\u4e2a\u80fd\u89e3\u51b3\u6211\u7684\u95ee\u9898\u3002\u6211\u7a81\u7136\u60f3\u5230\uff0cEclipse\u80fd\u6b63\u5e38\u8fdb\u884c\u4ee3\u7801\u63d0\u793a\uff0c\u8bf4\u660e\u4f9d\u8d56\u662f\u5bf9\u7684\uff0c\u53ea\u662f\u5728Android\u4e0a\u8dd1\u4e0d\u8d77\u6765\u800c\u5df2\u3002\u6211\u7acb\u9a6c\u53bb\u68c0\u67e5Project\u7684Java Level\uff0c\u679c\u7136\u662fJava 7\u7684\u7f18\u6545\u3002\u628aCompile Level\u8c03\u6574\u5230Java 6\u4e4b\u540e\uff0c\u4e00\u5207\u6b63\u5e38\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6628\u5929\u5728\u505a\u4e00\u4e2aAndroid\u7684\u5f00\u53d1\u7684\u65f6\u5019\uff0c\u51fa\u73b0\u4e86\u6211\u4ece\u6765\u6ca1\u9047\u5230\u8fc7\u7684\u5e93\u4f9d\u8d56\u95ee\u9898\uff0c\u7f51\u4e0a\u641c\u7d22\u4e86\u534a\u5929\u4e5f\u6ca1\u6709\u7b54\u6848\uff0c\u6700\u540e\u53d1\u73b0\u539f\u56e0\u7adf\u7136\u975e\u5e38\u7b80\u5355\uff0c\u8bb0\u5f55\u4e8e\u6b64\u3002 \u6211\u7684Android\u5e94\u7528Project1\uff0c\u4f9d\u8d56\u4e8e\u53e6\u5916\u4e00\u4e2a\u7eafJava\u7684\u9879\u76eeProject2\uff0c\u6211\u5728Build Path\u91cc\u914d\u7f6e\u597d\u4e86\u9879\u76ee\u4f9d\u8d56\uff0cEclipse\u672c\u8eab\u4e5f\u6ca1\u6709\u62a5\u4ec0\u4e48\u5f02\u5e38\uff0c\u4f46\u662f\u4e00\u5230\u771f\u673a\u4e0a\u8c03\u8bd5\u7684\u65f6\u5019\uff0c\u5c31\u51faClassDefNotFound\u7684\u95ee\u9898\uff0c\u770b\u4e0a\u53bb\u662f\u4f9d\u8d56\u51fa\u4e86\u95ee\u9898\u3002 StackOverflow\u4e0a\u7684\u7b54\u6848\u6ca1\u6709\u4e00\u4e2a\u80fd\u89e3\u51b3\u6211\u7684\u95ee\u9898\u3002\u6211\u7a81\u7136\u60f3\u5230\uff0cEclipse\u80fd\u6b63\u5e38\u8fdb\u884c\u4ee3\u7801\u63d0\u793a\uff0c\u8bf4\u660e\u4f9d\u8d56\u662f\u5bf9\u7684\uff0c\u53ea\u662f\u5728Android\u4e0a\u8dd1\u4e0d\u8d77\u6765\u800c\u5df2\u3002\u6211\u7acb\u9a6c\u53bb\u68c0\u67e5Project\u7684Java Level\uff0c\u679c\u7136\u662fJava 7\u7684\u7f18\u6545\u3002\u628aCompile Level\u8c03\u6574\u5230Java 6\u4e4b\u540e\uff0c\u4e00\u5207\u6b63\u5e38\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-android"],"_links":{"self":[{"href":"https:\/\/www.linangran.com\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linangran.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linangran.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linangran.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linangran.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":1,"href":"https:\/\/www.linangran.com\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":409,"href":"https:\/\/www.linangran.com\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/409"}],"wp:attachment":[{"href":"https:\/\/www.linangran.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linangran.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linangran.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}