{"id":3077,"date":"2018-06-08T10:00:35","date_gmt":"2018-06-08T01:00:35","guid":{"rendered":"https:\/\/blog.timecrowd.net\/?p=3077"},"modified":"2018-06-05T16:17:49","modified_gmt":"2018-06-05T07:17:49","slug":"cant-run-android-after-install-latest","status":"publish","type":"post","link":"https:\/\/blog.timecrowd.net\/cant-run-android-after-install-latest\/","title":{"rendered":"React Native\u306e\u6700\u65b0\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u3001\u65e2\u5b58\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304crun-android\u3067\u304d\u306a\u304f\u306a\u3063\u305f"},"content":{"rendered":"<p><a href=\"https:\/\/blog.timecrowd.net\/react-native-android-empty-array\/\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3092\u66f8\u304f\u3068\u304d\u306b\u3001\u6700\u65b0\u7248\u306eReact Native\u3067\u3082\u52d5\u4f5c\u691c\u8a3c\u3057\u3066\u304a\u3053\u3046\u3068\u30010.55.3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d6\u30ed\u30b0\u3092\u66f8\u304d\u7d42\u3048\u3001\u3055\u3066\u4ed5\u4e8b\u3059\u308b\u305e\u3001\u3068\u65e2\u5b58\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067<code>$ react-native run-android<\/code>\u3059\u308b\u3068\u2026<\/p>\n<pre><code>Could not find react-native.jar (com.facebook.react:react-native:0.55.3).\r\n  Searched in the following locations:\r\n      https:\/\/jcenter.bintray.com\/com\/facebook\/react\/react-native\/0.55.3\/react-native-0.55.3.jar\r\n<\/code><\/pre>\n<p>\u306a\u3093\u3068build\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><code>build.gradle<\/code>\u3067<code>com.facebook.react:react-native:+<\/code>\u3068\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u7b87\u6240\u3067\u3001\u5148\u7a0b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u6700\u65b0\u7248\u3092\u53c2\u7167\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3057\u305f\u3002<br \/>\n\u3057\u304b\u3057\u3001\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e<code>node_modules<\/code>\u306b\u306f\u5f53\u7136\u6700\u65b0\u7248\u306ejar\u306f\u306a\u3044\u305f\u3081\u3001\u30d3\u30eb\u30c9\u304c\u5931\u6557\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>npm\u3084RN\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30af\u30ea\u30a2\u3067\u306f\u89e3\u6d88\u305b\u305a\u3002<br \/>\n<code>+<\/code>\u6307\u5b9a\u3092\u3084\u3081\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u56fa\u5b9a\u306b\u3059\u308b\u65b9\u6cd5\u306f\u3001node_modules\u914d\u4e0b\u3082\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u907f\u3051\u305f\u3044\u3068\u3053\u308d\u3002<\/p>\n<p>\u3042\u30fc\u3067\u3082\u306a\u3044\u3053\u30fc\u3067\u3082\u306a\u3044\u3068\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3046\u3061\u306b\u3001\u3075\u3068\u300cGradle\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304b\uff1f\u300d\u3068\u601d\u3044\u81f3\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre><code>$ rm -r ~\/.gradle\/caches\/modules-2\/metadata-2.16\/descriptors\/com.facebook.react\/react-native\/0.55.3\/\r\n$ rm -r ~\/.gradle\/caches\/modules-2\/files-2.1\/com.facebook.react\/react-native\/0.55.3\/\r\n<\/code><\/pre>\n<p>\u3053\u308c\u3067\u89e3\u6d88\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306e\u306fReact Native\u4e91\u3005\u3067\u306f\u306a\u304f\u3001\u50d5\u304cAndroid\u3092\u77e5\u3089\u306a\u3044\u305b\u3044\u3067\u8d77\u3053\u3063\u305f\u554f\u984c\u3060\u306a\u3001\u3068\u53cd\u7701\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u524d\u56de\u306e\u8a18\u4e8b\u3092\u66f8\u304f\u3068\u304d\u306b\u3001\u6700\u65b0\u7248\u306eReact Native\u3067\u3082\u52d5\u4f5c\u691c\u8a3c\u3057\u3066\u304a\u3053\u3046\u3068\u30010.55.3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 \u30d6\u30ed\u30b0\u3092\u66f8\u304d\u7d42\u3048\u3001\u3055&#8230;","protected":false},"author":4,"featured_media":3078,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":""},"categories":[5],"tags":[12],"_links":{"self":[{"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/posts\/3077"}],"collection":[{"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/comments?post=3077"}],"version-history":[{"count":7,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/posts\/3077\/revisions"}],"predecessor-version":[{"id":3085,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/posts\/3077\/revisions\/3085"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/media\/3078"}],"wp:attachment":[{"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/media?parent=3077"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/categories?post=3077"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.timecrowd.net\/wp-json\/wp\/v2\/tags?post=3077"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}