{"id":10386,"date":"2014-10-10T11:28:04","date_gmt":"2014-10-10T09:28:04","guid":{"rendered":"http:\/\/flaven.fr\/?p=10386"},"modified":"2014-10-10T12:48:58","modified_gmt":"2014-10-10T10:48:58","slug":"android-genymotion-apk-installer-un-environnement-de-recette-et-de-developpement-pour-android","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2014\/10\/android-genymotion-apk-installer-un-environnement-de-recette-et-de-developpement-pour-android\/","title":{"rendered":"Android, Genymotion, APK &#8211; Installer un environnement de recette et de d\u00e9veloppement pour Android"},"content":{"rendered":"<p><!--  Android, Genymotion, APK - Installer un environnement de recette et de d\u00e9veloppement pour Android --><br \/>\n<!--  Android, Genymotion, APK, environnement, recette, d\u00e9veloppement, VirtualBox --><\/p>\n<p>On avait d\u00e9j\u00e0 abord\u00e9 la n\u00e9cessit\u00e9 d&#8217;avoir un environnement de d\u00e9veloppement voir tout bonnement environnement de recette pour l&#8217;\u00e9cosyst\u00e8me Android ou iOS. Lorsque on ne souhaite pas pass\u00e9 du temps \u00e0 faire l&#8217;installation du SDK Android qui est parfois compliqu\u00e9 et extr\u00eamement chronophage.<\/p>\n<p><b>Il est donc souvent recommander de ne pas r\u00e9inventer la roue et de saisir toutes les solutions qui s&#8217;offrent \u00e0 vous afin d&#8217;acc\u00e9l\u00e9rer l&#8217;obtention du r\u00e9sultat. J&#8217;ai donc, comme beaucoup, jet\u00e9 mon d\u00e9volu sur la solution combin\u00e9e Virtualbox et Genymotion<\/b><\/p>\n<h4>Les indispensables<\/h4>\n<p>Voil\u00e0 tous les softs n\u00e9cessaires pour faire une installation compl\u00e8te. <\/p>\n<ul>\n<li><a href=\"https:\/\/cloud.genymotion.com\/page\/launchpad\/download\/\" target=\"_blank\">Genymotion (soumis \u00e0 une inscription)<\/a><\/li>\n<li><a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">VirtualBox-4.3.16-95972-OSX.dmg<\/a><\/li>\n<li><a href=\"https:\/\/drive.google.com\/folderview?id=0B2wWmrj0WBZ0SGF2T29ZSzhIbWM&#038;usp=sharing\" target=\"_blank\">Genymotion-ARM-Translation_v1.1.zip<\/a><\/li>\n<\/ul>\n<p><b>Logiquement, si vous vous inscrivez sur Genymotion (c&#8217;est gratuit), vous obtiendrez le logiciel n\u00e9cessaire. Lors de l&#8217;installation de Genymotion, en l&#8217;absence de VirtualBox, il vous sera demander de le t\u00e9l\u00e9charger<\/b><\/p>\n<p><b>Une ressource vid\u00e9o pour d\u00e9couvrir plus etape par etape la marche \u00e0 suivre pour installer Genymotion et VirtualBox.<\/b><\/p>\n<p>Source : <a href=\"https:\/\/www.youtube.com\/watch?v=PoS2Vzt395I\" target=\"_blank\">https:\/\/www.youtube.com\/watch?v=PoS2Vzt395I<\/a><\/p>\n<p><b>Le tableau de bord de Genymotion avec quelques emulateurs<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2014\/10\/genymotion_dashboard_a_s.png\" width=\"620\" height=\"531\" alt=\"Android, Genymotion, APK - Installer un environnement de recette et de d\u00e9veloppement pour Android\"><br \/>\n<\/p>\n<p><b>Le pendant dans VirtualBox de l&#8217;installation via le tableau de bord de Genymotion des &#8220;virtual machines&#8221;<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2014\/10\/genymotion_virtualbox_b_s.png\" width=\"620\" height=\"607\" alt=\"Android, Genymotion, APK - Installer un environnement de recette et de d\u00e9veloppement pour Android\"><\/p>\n<p><\/p>\n<h4>Installation d&#8217;un <code>.apk<\/code> via la console<\/h4>\n<p>Voil\u00e0 dans les grandes lignes, comment installer un fichier <code>.apk<\/code> via des commandes dans la console<\/p>\n<p><b>D\u00e9marrer le SDK<\/b><br \/>\n<code>cd [your-path]\/android-sdk-macosx\/tools\/<\/code><br \/>\n<code>.\/android<\/code><\/p>\n<p><b>Lister les &#8220;devices&#8221; disponibles<\/b><br \/>\n<code>[your-path]\/android-sdk-macosx\/platform-tools\/adb devices<\/code><\/p>\n<p><b>Installer un fichier <code>.apk<\/code><\/b><br \/>\n[your-path]\/android-sdk-macosx\/platform-tools\/adb install [your-path]\/mon_apk_android.apk<\/p>\n<h4>Installation d&#8217;un <code>.apk<\/code> via un glisser-d\u00e9poser sur l&#8217;\u00e9mulateur lanc\u00e9 Genymotion<\/h4>\n<p>L&#8217;id\u00e9e est d&#8217;\u00e9viter de faire des installations via la console d&#8217;un apk mais de faire un glisser-d\u00e9poser sur l&#8217;\u00e9mulateur lanc\u00e9 Genymotion.<\/p>\n<p>Voil\u00e0 les \u00e9tapes \u00e0 suivre :<\/p>\n<ol>\n<li>T\u00e9l\u00e9charger le fichier zip suivant : ARM Traduction Installer v1.1 &#8211; <a href=\"https:\/\/dl.dropboxusercontent.com\/u\/14700716\/XDA-Shares\/Genymotion-ARM-Translation_v1.1.zip\" target=\"_blank\">https:\/\/dl.dropboxusercontent.com\/u\/14700716\/XDA-Shares\/Genymotion-ARM-Translation_v1.1.zip<\/a><\/li>\n<li>Ouvrir la VM via Genymotion et aller sur l&#8217;\u00e9cran d&#8217;accueil<\/li>\n<li>Faire un simple glisser-d\u00e9poser vers la machine virtuelle Genymotion bref l&#8217;\u00e9mulateur.<\/li>\n<li>Il faut ensuite red\u00e9marrer la VM et vous pouvez ensuite installer des <code>.apk<\/code> sign\u00e9s en faisant un glisser-d\u00e9poser.<\/li>\n<\/ol>\n<p><b>Faire un glisser-d\u00e9poser du fichier (Genymotion-ARM-Translation_v1.1.zip) vers la machine virtuelle Genymotion bref l&#8217;\u00e9mulateur.<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2014\/10\/genymotion_0.png\" width=\"443\" height=\"772\" alt=\"Android, Genymotion, APK - Installer un environnement de recette et de d\u00e9veloppement pour Android\"><\/p>\n<p><b>Cliquez sur Oui pour installer le fichier (Genymotion-ARM-Translation_v1.1.zip)<\/b><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2014\/10\/genymotion_1.png\" width=\"516\" height=\"770\" alt=\"Android, Genymotion, APK - Installer un environnement de recette et de d\u00e9veloppement pour Android\"><\/p>\n<h4>Si votre VM ne poss\u00e8de pas toutes les librairies n\u00e9cessaires<\/h4>\n<p>L\u00e0, le mieux est d&#8217;install\u00e9 l&#8217;<code>.apk<\/code> via la console<code>.apk<\/code> avec les lignes de commande cit\u00e9es plus haut.<\/p>\n<h4>Une remarque utile sur le maniement de l&#8217;\u00e9mulateur<\/h4>\n<p>Pour information, une petite commande qui peut se r\u00e9v\u00e9ler utile afin de faire passer l&#8217;\u00e9mulateur Android de l&#8217;affichage portrait \u00e0 l&#8217;affichage paysage donc d&#8217;effectuer une rotation de l&#8217;\u00e9mulateur.<\/p>\n<p>Sous Mac : <code>Fn + Left CTRL + F12<\/code><br \/>\nSous Windows : <code>Left CTRL + F11 or Left CTRL + F12<\/code><\/p>\n<ul>\n<li>Oracle VM VirtualBox<br \/><a href=\"https:\/\/www.virtualbox.org\/\" target=\"_blank\">https:\/\/www.virtualbox.org\/\t\t<\/a><\/li>\n<li>Genymotion, sans bouillir<br \/><a href=\"http:\/\/www.genymotion.com\/\" target=\"_blank\">http:\/\/www.genymotion.com\/<\/a><\/li>\n<li>Using the Android Debug Bridge (adb) &#8211; Tutorial<br \/><a href=\"http:\/\/www.vogella.com\/tutorials\/AndroidCommandLine\/article.html\" target=\"_blank\">http:\/\/www.vogella.com\/tutorials\/AndroidCommandLine\/article.html<\/a><\/li>\n<li>How to use adb uninstall (PC)<br \/><a href=\"http:\/\/adbshell.com\/commands\/adb-uninstall\/how-to-use-adb-uninstall.html\" target=\"_blank\">http:\/\/adbshell.com\/commands\/adb-uninstall\/how-to-use-adb-uninstall.html<\/a><\/li>\n<li>Android: Unable to install release build onto emulator; getting Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION]<br \/><a href=\"http:\/\/stackoverflow.com\/questions\/8799689\/android-unable-to-install-release-build-onto-emulator-getting-failure-install\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/8799689\/android-unable-to-install-release-build-onto-emulator-getting-failure-install<\/a><\/li>\n<li>Weird error while installing Android app?<br \/><a href=\"http:\/\/stackoverflow.com\/questions\/4797444\/weird-error-while-installing-android-app\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/4797444\/weird-error-while-installing-android-app<\/a><\/li>\n<li>HOW TO INSTALL APK FILES ON ANDROID EMULATOR<br \/><a href=\"http:\/\/transparatech.com\/blog\/how-install-apk-files-android-emulator\" target=\"_blank\">http:\/\/transparatech.com\/blog\/how-install-apk-files-android-emulator<\/a><\/li>\n<li>How To Install and Use ADB, the Android Debug Bridge Utility<br \/><a href=\"http:\/\/www.howtogeek.com\/125769\/\" target=\"_blank\">http:\/\/www.howtogeek.com\/125769\/<\/a><\/li>\n<li>Ten basic Android terminal commands you should know<br \/><a href=\"http:\/\/www.androidcentral.com\/android-201-10-basic-terminal-commands-you-should-know\" target=\"_blank\">http:\/\/www.androidcentral.com\/android-201-10-basic-terminal-commands-you-should-know<\/a><\/li>\n<li>STEPS TO INSTALL AND UNINSTALL .APK FILE ON ANDROID G1 DEVICE<br \/><a href=\"http:\/\/www.androidkit.com\/steps-to-install-and-uninstall-apk-file-on-android-g1-device\" target=\"_blank\">http:\/\/www.androidkit.com\/steps-to-install-and-uninstall-apk-file-on-android-g1-device<\/a><\/li>\n<li>Android Debug Bridge<br \/><a href=\"http:\/\/developer.android.com\/tools\/help\/adb.html\" target=\"_blank\">http:\/\/developer.android.com\/tools\/help\/adb.html<\/a><\/li>\n<li>Using the Emulator<br \/><a href=\"http:\/\/developer.android.com\/tools\/devices\/emulator.html\" target=\"_blank\">http:\/\/developer.android.com\/tools\/devices\/emulator.html<\/a><\/li>\n<li>Android, Application, Emulateur \u2013 Installer Android SDK sur un Mac et utiliser l\u2019\u00e9mulateur<br \/><a href=\"https:\/\/flaven.fr\/2013\/03\/android-application-emulateur-installer-android-sdk-sur-un-mac-et-utiliser-lemulateur\/\" target=\"_blank\">https:\/\/flaven.fr\/2013\/03\/android-application-emulateur-installer-android-sdk-sur-un-mac-et-utiliser-lemulateur\/<\/a><\/li>\n<li>Managing AVDs from the Command Line<br \/><a href=\"http:\/\/developer.android.com\/tools\/devices\/managing-avds-cmdline.html\" target=\"_blank\">http:\/\/developer.android.com\/tools\/devices\/managing-avds-cmdline.html<\/a><\/li>\n<li>Tutos Android &#8211; Tutoriels pour d\u00e9velopper des applications Android<br \/><a href=\"http:\/\/www.tutos-android.com\/\" target=\"_blank\">http:\/\/www.tutos-android.com\/<\/a><\/li>\n<li>Le blog de genymobile, merci \u00e0 Bastien Wirtz<br \/><a href=\"http:\/\/blog.genymobile.com\/\" target=\"_blank\">http:\/\/blog.genymobile.com\/<\/a>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>On avait d\u00e9j\u00e0 abord\u00e9 la n\u00e9cessit\u00e9 d&#8217;avoir un environnement de d\u00e9veloppement voir tout bonnement environnement de recette pour l&#8217;\u00e9cosyst\u00e8me Android ou iOS. Lorsque on ne&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2014\/10\/android-genymotion-apk-installer-un-environnement-de-recette-et-de-developpement-pour-android\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">Android, Genymotion, APK &#8211; Installer un environnement de recette et de d\u00e9veloppement pour Android<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":10394,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"Genymotion et VirtualBox permettent d'installer un environnement de recette et de d\u00e9veloppement Android. Voici les outils et les \u00e9tapes pour y parvenir.","bf_ai_og_title":"Installer Android avec Genymotion","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3442,3444,3448,3449,3435],"tags":[2238,2112,138,2113,2111,2114,2115],"class_list":["post-10386","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile-devices","category-programming-databases","category-tools-productivity","category-tutorials-how-to","category-web-development","tag-android","tag-apk","tag-developpement","tag-environnement","tag-genymotion","tag-recette","tag-virtualbox"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-2Hw","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2014\/10\/using_genymotion_bf.jpg","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/10386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=10386"}],"version-history":[{"count":8,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/10386\/revisions"}],"predecessor-version":[{"id":10403,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/10386\/revisions\/10403"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/10394"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=10386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=10386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=10386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}