{"id":309,"date":"2015-11-15T16:56:44","date_gmt":"2015-11-15T07:56:44","guid":{"rendered":"http:\/\/www.cotegg.com\/blog\/?p=309"},"modified":"2015-11-15T16:59:51","modified_gmt":"2015-11-15T07:59:51","slug":"%e3%80%90ionic%e3%80%91android%e3%83%93%e3%83%ab%e3%83%89%e5%a4%b1%e6%95%97%ef%bc%81multiple-dex-files-define","status":"publish","type":"post","link":"https:\/\/www.cotegg.com\/blog\/?p=309","title":{"rendered":"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define"},"content":{"rendered":"<p>\u3069\u3046\u3082\u3001\u4e2d\u7530\u3067\u3059\u3002<\/p>\n<p>\u4e45\u3057\u3076\u308a\u306bionic\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089Android\u30d3\u30eb\u30c9\u306b\u5931\u6557\u3057\u3066\u3057\u307e\u3063\u305f\uff01<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nUNEXPECTED TOP-LEVEL EXCEPTION:\ncom.android.dex.DexException: Multiple dex files define Landroid\/support\/annotation\/AnimRes;\n    at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)\n    at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)\n    at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)\n    at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)\n    at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)\n    at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)\n    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)\n    at com.android.dx.command.dexer.Main.run(Main.java:246)\n    at com.android.dx.command.dexer.Main.main(Main.java:215)\n    at com.android.dx.command.Main.main(Main.java:106)\n\n FAILED\n\nFAILURE: Build failed with an exception.\n...\n<\/pre>\n<p>PushNotification\u3092\u5165\u308c\u3088\u3046\u3068\u3001<\/p>\n<p><code>ionic plugin add https:\/\/github.com\/phonegap-build\/PushPlugin.git<\/code><\/p>\n<p>\u3092\u3084\u3063\u305f\u5f8c\u306b\u767a\u751f\u3057\u3061\u3083\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u8272\u3005\u8abf\u3079\u305f\u3068\u3053\u308d <em>android-support-v4.jar<\/em> \u304c\u8907\u6570\u5165\u3063\u305f\u3053\u3068\u306b\u3088\u308b\u30a8\u30e9\u30fc\u3063\u307d\u3044<br \/>\n\u5143\u3005\u3001Facebook\u30d7\u30e9\u30b0\u30a4\u30f3\u4f7f\u3063\u3066\u305f\u306e\u3067\u3001\u305d\u306e\u6642\u306b\u65e2\u306b\u5165\u3063\u3066\u305f\u3088\u3046\u3067\u3059\u306d\u3002<\/p>\n<h2>\u89e3\u6c7a\uff01<\/h2>\n<ul>\n<li>\u4e0b\u8a18\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n(\u30a2\u30d7\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea)\/platforms\/android\/build-extras.gradle\n<\/pre>\n<ul>\n<li>\u3053\u306e\u5185\u5bb9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002\n<p>configurations {<br \/>\nall*.exclude group: &#8216;com.android.support&#8217;, module: &#8216;support-v4&#8217;<br \/>\n}\n<\/p>\n<\/li>\n<li>\n<p>\u518d\u5ea6\u30d3\u30eb\u30c9\u3067OK<\/p>\n<\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u3063\u305f\u3093\u3060<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3069\u3046\u3082\u3001\u4e2d\u7530\u3067\u3059\u3002 \u4e45\u3057\u3076\u308a\u306bionic\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089Android\u30d3\u30eb\u30c9\u306b\u5931\u6557 &#8230; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[7],"tags":[21,11],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cotegg.com\/blog\/?p=309\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"og:description\" content=\"\u3069\u3046\u3082\u3001\u4e2d\u7530\u3067\u3059\u3002 \u4e45\u3057\u3076\u308a\u306bionic\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089Android\u30d3\u30eb\u30c9\u306b\u5931\u6557 ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cotegg.com\/blog\/?p=309\" \/>\n<meta property=\"og:site_name\" content=\"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/COTegg.japan\/\" \/>\n<meta property=\"article:published_time\" content=\"2015-11-15T07:56:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-11-15T07:59:51+00:00\" \/>\n<meta name=\"author\" content=\"\u4e2d\u7530 \u6b69\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:site\" content=\"@cotegg_japan\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u4e2d\u7530 \u6b69\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=309#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=309\"},\"author\":{\"name\":\"\u4e2d\u7530 \u6b69\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef\"},\"headline\":\"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define\",\"datePublished\":\"2015-11-15T07:56:44+00:00\",\"dateModified\":\"2015-11-15T07:59:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=309\"},\"wordCount\":155,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"keywords\":[\"android\",\"ionic\"],\"articleSection\":[\"\u6280\u8853\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=309#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=309\",\"url\":\"https:\/\/www.cotegg.com\/blog\/?p=309\",\"name\":\"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4\",\"isPartOf\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\"},\"datePublished\":\"2015-11-15T07:56:44+00:00\",\"dateModified\":\"2015-11-15T07:59:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=309#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cotegg.com\/blog\/?p=309\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/?p=309#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cotegg.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#website\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"name\":\"COTegg\u306e\u30d0\u30b1\u30c4\",\"description\":\"- Bucket of cotegg -\",\"publisher\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#organization\",\"name\":\"COTegg Inc.\",\"url\":\"https:\/\/www.cotegg.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"contentUrl\":\"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png\",\"width\":176,\"height\":60,\"caption\":\"COTegg Inc.\"},\"image\":{\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/COTegg.japan\/\",\"https:\/\/twitter.com\/cotegg_japan\",\"https:\/\/www.instagram.com\/cotegg_japan\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef\",\"name\":\"\u4e2d\u7530 \u6b69\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g\",\"caption\":\"\u4e2d\u7530 \u6b69\"},\"sameAs\":[\"http:\/\/www.cotegg.com\"],\"url\":\"https:\/\/www.cotegg.com\/blog\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cotegg.com\/blog\/?p=309","og_locale":"ja_JP","og_type":"article","og_title":"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","og_description":"\u3069\u3046\u3082\u3001\u4e2d\u7530\u3067\u3059\u3002 \u4e45\u3057\u3076\u308a\u306bionic\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3089Android\u30d3\u30eb\u30c9\u306b\u5931\u6557 ...","og_url":"https:\/\/www.cotegg.com\/blog\/?p=309","og_site_name":"\u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","article_publisher":"https:\/\/www.facebook.com\/COTegg.japan\/","article_published_time":"2015-11-15T07:56:44+00:00","article_modified_time":"2015-11-15T07:59:51+00:00","author":"\u4e2d\u7530 \u6b69","twitter_card":"summary_large_image","twitter_creator":"@cotegg_japan","twitter_site":"@cotegg_japan","twitter_misc":{"\u57f7\u7b46\u8005":"\u4e2d\u7530 \u6b69","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cotegg.com\/blog\/?p=309#article","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=309"},"author":{"name":"\u4e2d\u7530 \u6b69","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef"},"headline":"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define","datePublished":"2015-11-15T07:56:44+00:00","dateModified":"2015-11-15T07:59:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=309"},"wordCount":155,"commentCount":0,"publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"keywords":["android","ionic"],"articleSection":["\u6280\u8853"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cotegg.com\/blog\/?p=309#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cotegg.com\/blog\/?p=309","url":"https:\/\/www.cotegg.com\/blog\/?p=309","name":"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define | \u30b3\u30fc\u30c6\u30c3\u30b0\u306e\u30d0\u30b1\u30c4","isPartOf":{"@id":"https:\/\/www.cotegg.com\/blog\/#website"},"datePublished":"2015-11-15T07:56:44+00:00","dateModified":"2015-11-15T07:59:51+00:00","breadcrumb":{"@id":"https:\/\/www.cotegg.com\/blog\/?p=309#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cotegg.com\/blog\/?p=309"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cotegg.com\/blog\/?p=309#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cotegg.com\/blog"},{"@type":"ListItem","position":2,"name":"\u3010ionic\u3011Android\u30d3\u30eb\u30c9\u5931\u6557\uff01Multiple dex files define"}]},{"@type":"WebSite","@id":"https:\/\/www.cotegg.com\/blog\/#website","url":"https:\/\/www.cotegg.com\/blog\/","name":"COTegg\u306e\u30d0\u30b1\u30c4","description":"- Bucket of cotegg -","publisher":{"@id":"https:\/\/www.cotegg.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cotegg.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.cotegg.com\/blog\/#organization","name":"COTegg Inc.","url":"https:\/\/www.cotegg.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","contentUrl":"https:\/\/www.cotegg.com\/blog\/wp-content\/uploads\/2015\/07\/logo_color1_yoko-e1436354651882.png","width":176,"height":60,"caption":"COTegg Inc."},"image":{"@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/COTegg.japan\/","https:\/\/twitter.com\/cotegg_japan","https:\/\/www.instagram.com\/cotegg_japan\/"]},{"@type":"Person","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/bee6afc3e5cc03652345976570794aef","name":"\u4e2d\u7530 \u6b69","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.cotegg.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce4d0b00ef87081854562ad73f762659?s=96&d=mm&r=g","caption":"\u4e2d\u7530 \u6b69"},"sameAs":["http:\/\/www.cotegg.com"],"url":"https:\/\/www.cotegg.com\/blog\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/309"}],"collection":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=309"}],"version-history":[{"count":3,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions"}],"predecessor-version":[{"id":312,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/309\/revisions\/312"}],"wp:attachment":[{"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cotegg.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}