Sequencia para instalacao e criacao de um novo APP hibrido para android usando Phonega/Cordova em ambiente Android Studio com interface onseui!Todos os comandos aqui descritos devem ser executados no prompt do windows:Primeira parte ("tks to Patrick Gidich") https://github.com/simnova/webdevdocs/wiki/Installing-PhoneGap-and-Android-Studio-on-WindowsDownload JDK- Java SE Development Kit - Windows x64 - (latest edition) and Install using default optionsAdd a system variable JAVA_HOME and point it to the directory containing the contents of the JDK (example C:\Program Files\Java\jdk1.7.0_51)Add ;%JAVA_HOME%\bin; to the Path system variable.If you have a Proxy Server, note proxy server settings and:Start --> Type Java Control PanelGeneral Tab --> Click Network Settings...Choose the appropriate settings, "use browser settings" may work for you.Validate Java Install:From a command prompt enter the followingjava -versionYou should see something like :java version "1.7.0_51"Download Apache Ant and extract to a directory on your computer. (example C:\util\ant\)Add a system variable ANT_HOME and point it to the directory containing the contents of the ANT directoryAdd ;%ANT_HOME%\bin; to the Path system variable.Validate Ant Install:From a command prompt enter the followingant -versionYou should see something like :Apache Ant(TM) version 1.9.3 compiled on December 23 2013Troubleshooting: Unable to locate tools.jar (check to see if JAVA_HOME is set properly)Download Android Studio and Install using default settings. If you have a Proxy Server, note proxy server settings and open Android Studio:File --> Settings --> (IDE Settings Section) --> HTTP ProxyMake the appropriate selection for your environment.Add a system variable ANDROID_HOME and point it to the directory containing the android sdk that's installed with Android Studio (example: C:\Users\jdoe\AppData\Local\Android\android-studio\sdk)Add the following to your Path system variable:;%ANDROID_HOME%\platform-tools;%ANDROID_HOME%\tools;Download Node and Install (if you already have it installed, download and install again to update it)Clear your NPM cache (this may save some headaches):npm cache cleanIf behind a firewall, configure node to speak to the firewall by issuing the following commands:npm config set proxy http://domain%5Cusername:password@ipaddress:portnpm config set https-proxy http://domain%5Cusername:password@ipaddress:portValidate Node Install:From a command prompt enter the followingnode --versionYou should see something like :v0.10.26Update Node & Global PackagesUpdate Node:npm update -g nUpdate Global Packages:npm update -gInstall Cordovanpm install -g cordovaInstall Plugmannpm install -g plugmanIf behind a firewall, configure plugman to speak to the firewall by issuing the following commands:plugman config set proxy http://domain%5Cusername:password@ipaddress:portplugman config set https-proxy http://domain%5Cusername:password@ipaddress:portSegunda parte (retirado da documentacao original Cordova mais algumas horas de tentativas e erros...)http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html#Android%20Platform%20GuideCriar um projeto na pasta de aplicativos (va para pasta via prompt)cordova create meuapp com.jaca.meuapp meuappIr para pasta de projetocd meuappCriar framework android para aplicativocordova platform add androidGerar aplicativo e seus arquivos e bibliotecas correspondentescordova buildLancar o Android Studio (AS)Selecionar opcao "Import[..]"Selecionar pasta ..\meuapp\platforms\androidPressionar OK. (Na primeira vez que testei o Gradle foi montado apos ~5 min, na segunda houveram msgs pedindo para fazer um "wrapper", aceitar. AS abriu o projeto!!Conectar o celular via USB, toda a parte do Android ADB ja deve estar funcionando e o celular deve ser reconhecido pelo AS.Compilar/rodar!Feito, o app basico cordova vai ser lancado no seu dispositivo movel com a frase "DEVICE JACA IS READY", editei o arquivo index.html acrescentando a famosa marca "JACA"....Terceira parte, instalando IHM onsenui no novo ambiente AS:Baixar o template sliding menu http://onsen.io/download.html#download-templates e descompactar.Criar a