{"id":495,"date":"2018-04-04T00:20:59","date_gmt":"2018-04-03T15:20:59","guid":{"rendered":"http:\/\/www.code-magagine.com\/?p=495"},"modified":"2018-04-04T00:27:34","modified_gmt":"2018-04-03T15:27:34","slug":"%e3%80%90android%e3%80%91hello-world%e3%82%92%e8%a9%a6%e3%81%97%e3%81%a6%e3%81%bf%e3%82%8b%e3%80%82","status":"publish","type":"post","link":"http:\/\/www.code-magagine.com\/?p=495","title":{"rendered":"\u3010Android\u3011Hello World\u3092\u8a66\u3057\u3066\u307f\u308b\u3002"},"content":{"rendered":"<p>Android\u306e\u3001\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u6642\u306b\u300cEmpty Activity\u300d\u3092\u9078\u3093\u3060\u5834\u5408\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u300cHello World\u300d\u3068\u8868\u793a\u3059\u308b\u30a2\u30d7\u30ea\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Activity\u306b\u3064\u3044\u3066\u5206\u304b\u3089\u306a\u3044\u65b9\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u4e0b\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"vqRKvyL3Kp\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=394\">\u3010Android\u3011Activity\u306e\u7a2e\u985e(Android Studio3.1\u306b\u3066\u78ba\u8a8d)<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=394&#038;embed=true#?secret=vqRKvyL3Kp\" data-secret=\"vqRKvyL3Kp\" width=\"500\" height=\"282\" title=\"&#8220;\u3010Android\u3011Activity\u306e\u7a2e\u985e(Android Studio3.1\u306b\u3066\u78ba\u8a8d)&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h2>Hello World\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3059\u308b\u3002<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001Hello World\u30a2\u30d7\u30ea\u3092\u8d77\u52d5\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Android Studio\u3092\u958b\u3044\u3066\u4e0a\u306e\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u4e0b\u8a18\u306e\u77e2\u5370\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-497\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/HelloWorld1.png\" alt=\"\" width=\"340\" height=\"25\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/HelloWorld1.png 340w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/HelloWorld1-300x22.png 300w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/p>\n<p>\u3042\u3089\u304b\u3058\u3081\u4f5c\u6210\u3057\u3066\u304a\u3044\u305f\uff21\uff36\uff24\u3092\u9078\u629e\u3057\u3066\u3001\u300c\uff2f\uff2b\u300d\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-498\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/Hello-World2.png\" alt=\"\" width=\"470\" height=\"380\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/Hello-World2.png 470w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/Hello-World2-300x243.png 300w\" sizes=\"(max-width: 470px) 100vw, 470px\" \/><\/p>\n<p>AVD\u306e\u4f5c\u6210\u304c\u307e\u3060\u306e\u65b9\u306f\u4e0b\u8a18\u306e\u624b\u9806\u3067\u4f5c\u6210\u4e0b\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"cXvv39Opz4\"><p><a href=\"http:\/\/www.code-magagine.com\/?p=401\">\u3010Android\u3011AVD(Android Virtual Device)\u3092\u4f5c\u6210\u3059\u308b\u3002(Android Studio3.1\u306b\u3066\uff09<\/a><\/p><\/blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"http:\/\/www.code-magagine.com\/?p=401&#038;embed=true#?secret=cXvv39Opz4\" data-secret=\"cXvv39Opz4\" width=\"500\" height=\"282\" title=\"&#8220;\u3010Android\u3011AVD(Android Virtual Device)\u3092\u4f5c\u6210\u3059\u308b\u3002(Android Studio3.1\u306b\u3066\uff09&#8221; &#8212; \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30de\u30ac\u30b8\u30f3\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306bHello World\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u30a2\u30d7\u30ea\u306e\u8d77\u52d5\u306f\u6210\u529f\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-499\" src=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/Hello-World3.png\" alt=\"\" width=\"295\" height=\"558\" srcset=\"http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/Hello-World3.png 295w, http:\/\/www.code-magagine.com\/wp-content\/uploads\/2018\/04\/Hello-World3-159x300.png 159w\" sizes=\"(max-width: 295px) 100vw, 295px\" \/><\/p>\n<h2>\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408\u306b\u3064\u3044\u3066<\/h2>\n<p>\u8457\u8005\u306e\u74b0\u5883\u3067\u306f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002<\/p>\n<div class=\"graybox\">---------------------------<br \/>\nGPU Driver Issue<br \/>\n---------------------------<br \/>\nYour GPU driver information:GPU #1<br \/>\nMake: 8086<br \/>\nModel: Intel(R) HD Graphics 4000<br \/>\nDevice ID: 0166Some users have experienced emulator stability issues with this driver version.<br \/>\nAs a result, we're selecting a compatibility renderer. Please check with your manufacturer to see if there is an updated driver available.<\/p>\n<\/div>\n<p>\u3061\u306a\u307f\u306b\u3001\u8457\u8005\u306e\u74b0\u5883\u306f\u4e0b\u8a18\u3067\u3059\u3002<\/p>\n<ul>\n<li>OS\uff1aWindows7 64bit<\/li>\n<li>\u30e1\u30e2\u30ea\uff1a8GB<\/li>\n<li>CPU\uff1aCore i 5<\/li>\n<\/ul>\n<p>\u8272\u3005\u8abf\u3079\u307e\u3057\u305f\u304c\u3001<strong>\u660e\u78ba\u306a\u539f\u56e0\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/strong><\/p>\n<p>\u4ed6\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u5bfe\u51e6\u3067\u76f4\u308b\u3068\u304a\u3063\u3057\u3083\u3063\u3066\u3044\u308b\u65b9\u3082\u3044\u307e\u3057\u305f\u304c\u3001<span style=\"color: #ff0000;\"><strong>\u79c1\u306e\u74b0\u5883\u3067\u306f\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u8d77\u52d5\u6642\u306b\u4e0a\u8a18\u8868\u793a\u304c\u6d88\u3048\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/strong><\/span><\/p>\n<div class=\"graybox\">\n<p>\u30fb\u300cSettings\u300d\u306e\u300cOpenGL ES renderer\u300d\u3092\u300cDesktop native OpenGL\u300d\u306b\u3059\u308c\u3070\u76f4\u308b\u3002<\/p>\n<p>\u30fb\u4e0b\u8a18\u306e\u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30eb\u30c0\u306b\u3042\u308b\u300cemulator.exe\u300d\u3092\u300cemulator -avd &lt;avd_name&gt; -gpu host\u300d\u3068\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u53e9\u3051\u3070\u76f4\u308b\u3002<\/p>\n<p>C:\\\u30e6\u30fc\u30b6\u30fc\u30d5\u30a9\u30eb\u30c0\\AppData\\Local\\Android\\Sdk\\emulator<\/p>\n<\/div>\n<p>\u305f\u3060\u3001\u5f85\u3066\u3070\u30a2\u30d7\u30ea\u306f\u8d77\u52d5\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u304a\u305d\u3089\u304f\u3001\u30e1\u30e2\u30ea\u304c\u304b\u306a\u308a\u903c\u8feb\u3057\u3066\u3044\u3066\u3001GPU\u306e\u52d5\u4f5c\u304c\u963b\u5bb3\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u539f\u56e0\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/strong><\/p>\n<p>A\uff36\uff24\u3092\u4f7f\u7528\u3059\u308b\uff30\uff23\u306e\u30e1\u30e2\u30ea\u306f\u4f59\u88d5\u3092\u6301\u305f\u305b\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u2026\u3002\uff08\u63a8\u596816GB\u4ee5\u4e0a\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"Android\u306e\u3001\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u6642\u306b\u300cEmpty Activity\u300d\u3092\u9078\u3093\u3060\u5834\u5408\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u300cHello World\u300d\u3068\u8868\u793a\u3059\u308b\u30a2\u30d7\u30ea\u304c\u3042\u308a\u307e\u3059\u3002 Activity\u306b\u3064\u3044\u3066\u5206\u304b\u3089\u306a\u3044\u65b9\u306f\u3053\u3061\u3089\u3092\u3054\u89a7\u4e0b\u3055\u3044\u3002 \u3010 [&hellip;]","protected":false},"author":1,"featured_media":501,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/495"}],"collection":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=495"}],"version-history":[{"count":5,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":505,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/posts\/495\/revisions\/505"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=\/wp\/v2\/media\/501"}],"wp:attachment":[{"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.code-magagine.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}