{"id":552,"date":"2013-05-12T20:20:58","date_gmt":"2013-05-12T23:20:58","guid":{"rendered":"https:\/\/www.semeru.com.br\/blog\/?p=552"},"modified":"2022-12-20T21:24:50","modified_gmt":"2022-12-21T00:24:50","slug":"configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android","status":"publish","type":"post","link":"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/","title":{"rendered":"Configurando o ambiente de desenvolvimento com o plugin m2e-android"},"content":{"rendered":"<p>Ol\u00e1 pessoal. Tentando voltar ao velho ritmo de postagens, vou postar algo sobre o desenvolvimento mobile com Android. Normalmente, principalmente para quem est\u00e1 iniciando, o processo de configura\u00e7\u00e3o do ambiente de desenvolvimento Android n\u00e3o \u00e9 muito f\u00e1cil. Al\u00e9m disso envolve uma s\u00e9rie de etapas e instala\u00e7\u00e3o de um certo n\u00famero de plugins. O fato \u00e9 que instalando apenas um plugin pode resolver 95% dos problemas relacionados a configura\u00e7\u00e3o de ambiente.<\/p>\n<p>O plugin respons\u00e1vel por essa m\u00e1gica \u00e9 o \u201cm2e-android\u201d ao instal\u00e1-lo voc\u00ea tem todo o kit necess\u00e1rio para come\u00e7ar a desenvolver em Android e de quebra o suporte ao Maven.<\/p>\n<p>Para instal\u00e1-lo voc\u00ea precisa apenas de um Eclipse rec\u00e9m instalado e reproduzir os passos a seguir.<\/p>\n<p>Primeiro v\u00e1 at\u00e9 a aba Help &#8211;&gt; Install New Software<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/8\/\" rel=\"attachment wp-att-553\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-553\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/8.png\" alt=\"8\" width=\"756\" height=\"378\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/8.png 756w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/8-300x150.png 300w\" sizes=\"(max-width: 756px) 100vw, 756px\" \/><\/a><\/p>\n<p>Na janela seguinte clique em Add .<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/8b\/\" rel=\"attachment wp-att-554\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-554\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/8b.png\" alt=\"8b\" width=\"708\" height=\"496\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/8b-300x210.png 300w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/8b-1024x719.png 1024w\" sizes=\"(max-width: 708px) 100vw, 708px\" \/><\/a><\/p>\n<p>Em name adicione os termos \u201cm2e Android\u201d e em location adicione a URL <a href=\"http:\/\/rgladwell.github.com\/m2e-android\/updates\/\">http:\/\/rgladwell.github.com\/m2e-android\/updates\/<\/a> clique em OK. Ap\u00f3s alguns segundos aparecer\u00e1 uma tela semelhante a imagem abaixo. Selecione todos e clique em Next.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/9\/\" rel=\"attachment wp-att-555\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-555\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/9.png\" alt=\"9\" width=\"786\" height=\"552\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/9.png 1045w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/9-300x210.png 300w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/9-1024x718.png 1024w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/a><\/p>\n<p>Clique novamente em Next.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/10\/\" rel=\"attachment wp-att-556\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-556\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/10.png\" alt=\"10\" width=\"786\" height=\"552\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/10-300x211.png 300w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/10-1024x721.png 1024w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/a><\/p>\n<p>Aceite os termos e clique em Finish.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/11\/\" rel=\"attachment wp-att-557\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-557\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/11.png\" alt=\"11\" width=\"786\" height=\"552\" \/><\/a><\/p>\n<p>Aparecer\u00e1 uma tela similar a imagem abaixo.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/5\/\" rel=\"attachment wp-att-558\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-558\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/5.png\" alt=\"5\" width=\"701\" height=\"300\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/5.png 701w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/5-300x128.png 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/a><\/p>\n<p>Alguns minutos depois aparecer\u00e1 a seguinte mensagem, clique novamente em OK.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/6\/\" rel=\"attachment wp-att-559\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-559\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/6.png\" alt=\"6\" width=\"725\" height=\"301\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/6.png 725w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/6-300x124.png 300w\" sizes=\"(max-width: 725px) 100vw, 725px\" \/><\/a><\/p>\n<p>Ao final aparecer\u00e1 uma mensagem perguntando se voc\u00ea quer restartar o Eclipse. Clique em OK e ao iniciar o Eclipse carregar\u00e1 as configura\u00e7\u00f5es do plugin.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/7\/\" rel=\"attachment wp-att-560\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-560\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/7.png\" alt=\"7\" width=\"707\" height=\"208\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/7.png 707w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/7-300x88.png 300w\" sizes=\"(max-width: 707px) 100vw, 707px\" \/><\/a><\/p>\n<p>Para verificar se tudo foi feito da forma correta tente importar um projeto Android de prefer\u00eancia um projeto usando Maven.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/13\/\" rel=\"attachment wp-att-562\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-562\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/13.png\" alt=\"13\" width=\"776\" height=\"716\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/13.png 863w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/13-300x276.png 300w\" sizes=\"(max-width: 776px) 100vw, 776px\" \/><\/a><\/p>\n<p>Se tudo acontecer como deveria voc\u00ea ver\u00e1 algo semelhante a imagem abaixo. A\u00ed basta voc\u00ea alternar para a perspectiva Java ou DDMS e come\u00e7ar a codificar.<\/p>\n<p><a href=\"https:\/\/www.semeru.com.br\/blog\/configurando-o-ambiente-de-desenvolvimento-com-o-plugin-m2e-android\/attachment\/14\/\" rel=\"attachment wp-att-563\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-563\" src=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/14.png\" alt=\"14\" width=\"956\" height=\"516\" srcset=\"https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/14.png 1913w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/14-300x161.png 300w, https:\/\/www.semeru.com.br\/blog\/wp-content\/uploads\/2013\/05\/14-1024x552.png 1024w\" sizes=\"(max-width: 956px) 100vw, 956px\" \/><\/a><\/p>\n<p>Voc\u00ea n\u00e3o deve tentar instalar este plugin pelo Eclipse Marketplace por que atrav\u00e9s dele a instala\u00e7\u00e3o n\u00e3o \u00e9 conclu\u00edda corretamente, pelo menos para a vers\u00e3o Juno.<\/p>\n<h2>Treinamentos relacionados com este post<\/h2>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_rest_spring_java\" target=\"_blank\" rel=\"noopener\"><br \/>\n<img decoding=\"async\" style=\"max-width: 100%;\" title=\"REST API's RESTFul do 0 \u00e0  AWS com Spring Boot 3, Java e Docker\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/07-rest-spring-java.png\" \/><br \/>\n<\/a><\/p>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_microservices_java\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" style=\"max-width: 100%;\" title=\"Microservices do 0 com Spring Cloud, Spring Boot e Docker\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/14-microservices-java.png\" \/><br \/>\n<\/a><\/p>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_rest_spring_kotlin\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" style=\"max-width: 100%;\" title=\"REST API's RESTFul do 0 \u00e0 AWS com Spring Boot 3, Kotlin e Docker\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/18-rest-spring-kotlin.png\" \/><br \/>\n<\/a><\/p>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_ms_kotlin\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" style=\"max-width: 100%;\" title=\"Microsservi\u00e7os do 0 com Spring Cloud, Kotlin e Docker\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/22-ms-kotlin.png\" \/><br \/>\n<\/a><\/p>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_docker\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" style=\"max-width: 100%;\" title=\"Docker do 0 \u00e0 Maestria: Cont\u00eaineres Desmistificados mais 3 B\u00d4NUS\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/09-docker.png\" \/><br \/>\n<\/a><\/p>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_docker_para_aws\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" style=\"max-width: 100%;\" title=\"Docker para Amazon AWS Implante Apps Java e .NET com Travis CI\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/10-docker-to-aws.png\" \/><br \/>\n<\/a><\/p>\n<p><a href=\"https:\/\/pub.erudio.com.br\/kr\/blog_kotlin\" target=\"_blank\" rel=\"noopener\"> <img decoding=\"async\" style=\"max-width: 100%;\" title=\"Kotlin para DEVs Java: Aprenda a Linguagem Padr\u00e3o do Android\" src=\"https:\/\/raw.githubusercontent.com\/leandrocgsi\/blog-images\/main\/20-kotlin.png\" \/><br \/>\n<\/a><\/p>\n<div align=\"right\"><div class=\"sharexyWidgetNoindexUniqueClassName\"><div id=\"shr_39655019\"><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Ol\u00e1 pessoal. Tentando voltar ao velho ritmo de postagens, vou postar algo sobre o desenvolvimento mobile com Android. Normalmente, principalmente para quem est\u00e1 iniciando, o processo de configura\u00e7\u00e3o do ambiente de desenvolvimento Android n\u00e3o \u00e9 muito f\u00e1cil. Al\u00e9m disso envolve uma s\u00e9rie de etapas e instala\u00e7\u00e3o de um certo n\u00famero de plugins. O fato \u00e9 [&#8230;]<\/p>\n<div align=\"right\">\n<div class=\"sharexyWidgetNoindexUniqueClassName\">\n<div id=\"shr_39655019\"><\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[106,86,108],"tags":[195,197,196],"_links":{"self":[{"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/posts\/552"}],"collection":[{"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/comments?post=552"}],"version-history":[{"count":20,"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/posts\/552\/revisions"}],"predecessor-version":[{"id":1438,"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/posts\/552\/revisions\/1438"}],"wp:attachment":[{"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/media?parent=552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/categories?post=552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.semeru.com.br\/blog\/wp-json\/wp\/v2\/tags?post=552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}