{"id":259,"date":"2010-07-30T04:17:07","date_gmt":"2010-07-30T11:17:07","guid":{"rendered":"http:\/\/wiebe-elsinga.com\/blog\/?p=259"},"modified":"2011-10-20T21:12:56","modified_gmt":"2011-10-21T04:12:56","slug":"android-developement-environment","status":"publish","type":"post","link":"http:\/\/wiebe-elsinga.com\/blog\/android-developement-environment\/","title":{"rendered":"How-To: Android Development Environment"},"content":{"rendered":"<div class=\"wpsso-pinterest-pin-it-image\" style=\"display:none !important;\">\n<\/div><!-- .wpsso-pinterest-pin-it-image -->\n\n<p><a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/05\/android.jpg\"><img loading=\"lazy\" class=\"alignleft size-thumbnail wp-image-170\" style=\"padding-right: 10px;\" title=\"android\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/05\/android-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" srcset=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/05\/android-150x150.jpg 150w, http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/05\/android-300x300.jpg 300w, http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/05\/android-200x200-cropped.jpg 200w, http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/05\/android.jpg 500w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>Several of my colleges asked me how you must set-up a Android development environment. So because after multiple requests I will explain how. Basically it is a matter of<\/p>\n<ul>\n<li>Check if your development environment meets the requirements.<\/li>\n<li>Download and install the Android SDK<\/li>\n<li>Install the Android Development Tools (ADT) within Eclipse.<\/li>\n<li>Set-up a device.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h2>Check development environment<\/h2>\n<p>Before making your environment Android development ready, please check your current environment.<br \/>\n<a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/SysReq.gif\"><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-262\" title=\"SysReq\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/SysReq-150x150.gif\" alt=\"\" width=\"128\" height=\"128\" \/><\/a><\/p>\n<ol>\n<li>Go to <a href=\"http:\/\/developer.android.com\/sdk\/requirements.html\">http:\/\/developer.android.com\/sdk\/requirements.html<\/a> and ensure that your environment is Android ready.<\/li>\n<li>If you need the JDK (the JRE is not sufficient), download the latest from <a href=\"http:\/\/java.sun.com\/javase\/downloads\/index.jsp\">http:\/\/java.sun.com\/javase\/downloads\/index.jsp<\/a> and install it.<\/li>\n<\/ol>\n<h2>Install Android SDK<\/h2>\n<p><a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/ADT.gif\"><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-264\" title=\"ADT\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/ADT-150x150.gif\" alt=\"\" width=\"128\" height=\"128\" \/><\/a>So we are ready to install the Android SDK.<\/p>\n<ol>\n<li>Go to <a href=\"http:\/\/developer.android.com\/index.html\">http:\/\/developer.android.com\/index.html<\/a> and click on the upper right image named <strong>Download<\/strong><\/li>\n<li>Click the appropriate link to download the SDK for your host platform.<\/li>\n<li>Unzip the downloaded file to a directory (in my case <em>c:\\dev<\/em>)<\/li>\n<li>You do not need to setup the SDK because we will use Eclipse to complete the set-up.<\/li>\n<\/ol>\n<h2>Install Android Development Tools<a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/Pref.gif\"><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-265\" title=\"Pref\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/Pref-150x150.gif\" alt=\"\" width=\"128\" height=\"128\" \/><\/a><\/h2>\n<p>Now we are ready to configure Eclipse with de ADT plug-in.<\/p>\n<ol>\n<li>From within Eclipse select <strong>Install New Software<\/strong> from the <strong>Help menu<\/strong>.<\/li>\n<li>Click on the <strong>Add<\/strong> button and enter the following URL into the <em>Location<\/em> field and click <strong>OK<\/strong>.https:\/\/dl-ssl.google.com\/android\/eclipse\/<\/li>\n<li>Click the checkbox as shown in image, and then click <strong>Next<\/strong>.<\/li>\n<li>Complete the installation and restart Eclipse.<a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/AvPack.gif\"><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-266\" title=\"AvPack\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/AvPack-150x150.gif\" alt=\"\" width=\"128\" height=\"128\" \/><\/a><\/li>\n<li>Once Eclipse has restarted, you have one last task to perform: you need to tell Eclipse where the Android SDK is located.<\/li>\n<li>From within Eclipse select <strong>Preferences<\/strong> from the <strong>Window<\/strong> menu.<\/li>\n<li>Select Android and provide the location of the Android SDK (in my case <em>C:\\dev\\android-sdk-windows<\/em>) and click <strong>OK<\/strong>.<\/li>\n<li>Now select <strong>Android SDK and AVD Manager<\/strong> from the <strong>Window<\/strong> menu.<\/li>\n<li>Select available packages and select the latest version of the SDK.<\/li>\n<li>Click <strong>Installed selected<\/strong> and complete the installation, preferably by restarting Eclipse.<\/li>\n<\/ol>\n<h2>Set-up a device<\/h2>\n<p>The only thing left is to set-up a Android device. Of course you can use your own Android device, but a emulator is just as easy.<a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/Icon.gif\"><img loading=\"lazy\" class=\"alignright size-thumbnail wp-image-267\" title=\"Icon\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/Icon-150x81.gif\" alt=\"\" width=\"126\" height=\"68\" \/><\/a><\/p>\n<ol>\n<li>Press the Device Manager button and click on <strong>New<\/strong>.<\/li>\n<li>Create the device and click <strong>Create AVD<\/strong>.<\/li>\n<li>Finally run the freshly created Device by selecting the device and click <strong>Start<\/strong> and <strong>Launch<\/strong>. (please be patient it\u2019s not that fast)<\/li>\n<\/ol>\n<p><a href=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/DevIn.gif\"><img loading=\"lazy\" class=\"size-medium wp-image-268\" title=\"DevIn\" src=\"http:\/\/wiebe-elsinga.com\/blog\/wp-content\/uploads\/2010\/07\/DevIn-232x300.gif\" alt=\"\" width=\"128\" height=\"148\" \/><\/a><\/p>\n<p>Hope this helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Several of my colleges asked me how you must set-up a Android development environment. So because after multiple requests I will explain how. Basically it is a matter of Check if your development environment meets the requirements. Download and install the Android SDK Install the Android Development Tools (ADT) within Eclipse. Set-up a device.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,95],"tags":[154,30],"_links":{"self":[{"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/posts\/259"}],"collection":[{"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/comments?post=259"}],"version-history":[{"count":0,"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/posts\/259\/revisions"}],"wp:attachment":[{"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/media?parent=259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/categories?post=259"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/wiebe-elsinga.com\/blog\/wp-json\/wp\/v2\/tags?post=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}