{"id":844,"date":"2013-02-17T15:54:50","date_gmt":"2013-02-17T14:54:50","guid":{"rendered":"http:\/\/www.aymericlamboley.fr\/blog\/?p=844"},"modified":"2013-02-17T16:58:11","modified_gmt":"2013-02-17T15:58:11","slug":"android-4-2-2-resolve-problem-with-air-mobile-deployment","status":"publish","type":"post","link":"http:\/\/www.aymericlamboley.fr\/blog\/android-4-2-2-resolve-problem-with-air-mobile-deployment\/","title":{"rendered":"Android 4.2.2. resolve problem with AIR mobile deployment"},"content":{"rendered":"<p>Google has recently pushed a new Android version: 4.2.2. Concerning the new features, this update brings about a new security feature in regards to USB debugging: now there is a gatekeeper on your phone! You will have to accept the RSA key before being able to deploy on your device. More information concerning this update <a target=\"_blank\" href=\"http:\/\/www.androidpolice.com\/2013\/02\/12\/new-android-4-2-2-feature-usb-debug-whitelist-prevents-adb-savvy-thieves-from-stealing-your-data-in-some-situations\/\">there<\/a>.<\/p>\n<p>If you have made this update on your device, you won&#8217;t be able to deploy your application, even if you&#8217;ve accepted the RSA key. Your IDE won&#8217;t success to connect to the device and push on it.<br \/>\nWhen I tried to resolve the problem, it quickly appears it wasn&#8217;t related to the IDE but directly from the AIR SDK. Then I tried to deploy on my tablet with a <a href=\"http:\/\/unity3d.com\/\" target=\"_blank\">Unity<\/a> project: same problem. Using Unity, you work directly with the <a href=\"http:\/\/developer.android.com\/sdk\/index.html\" target=\"_blank\">Android SDK<\/a>. I just needed to download its latest version and replace the previous one, and it works!<\/p>\n<p>Concerning AIR, we also use the Android SDK but not with its original structure. You need to replace some files on this folder: <em>YourSDK\/lib\/android\/bin<\/em>. Replace those files: aapt, adb and dx.jar with files coming from the latest Android SDK: <em>sdk\/platform-tools<\/em> aapt, adb and its <em>lib<\/em> folder with the dx.jar file. Using Windows you will also need to replace the dll files.<\/p>\n<p>That was easy! I hope Adobe will quickly deploy an AIR SDK update for everyone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google has recently pushed a new Android version: 4.2.2. Concerning the new features, this update brings about a new security feature in regards to USB debugging: now there is a gatekeeper on your phone! You will have to accept the RSA key before being able to deploy on your device. More information concerning this update &hellip; <a href=\"http:\/\/www.aymericlamboley.fr\/blog\/android-4-2-2-resolve-problem-with-air-mobile-deployment\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Android 4.2.2. resolve problem with AIR mobile deployment<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[161,162,4,33],"tags":[119,191,34,163],"_links":{"self":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/844"}],"collection":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":7,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/844\/revisions"}],"predecessor-version":[{"id":851,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/posts\/844\/revisions\/851"}],"wp:attachment":[{"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/media?parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/categories?post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.aymericlamboley.fr\/blog\/wp-json\/wp\/v2\/tags?post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}