{"id":4186,"date":"2013-05-17T08:59:42","date_gmt":"2013-05-17T12:59:42","guid":{"rendered":"https:\/\/pitss.org\/us\/2013\/05\/17\/jdeveloperadf-mobile-and-android-sdk-rev-22-incompatibility\/"},"modified":"2017-10-13T14:24:27","modified_gmt":"2017-10-13T18:24:27","slug":"jdeveloperadf-mobile-and-android-sdk-rev-22-incompatibility","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2013\/05\/17\/jdeveloperadf-mobile-and-android-sdk-rev-22-incompatibility\/","title":{"rendered":"JDeveloper\/ADF Mobile and Android SDK (Rev 22) Incompatibility"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221; _builder_version=&#8221;3.0.47&#8243;][et_pb_row admin_label=&#8221;row&#8221; _builder_version=&#8221;3.0.47&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; _i=&#8221;0&#8243; _address=&#8221;0.0&#8243;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.0.47&#8243; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221;][et_pb_text admin_label=&#8221;Text&#8221; _builder_version=&#8221;3.0.47&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221; _i=&#8221;0&#8243; _address=&#8221;0.0.0.0&#8243;]<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>You might run into an ADF Mobile deployment error below:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\">Cannot run program &#8220;&#8230; platform-toolsaapt&#8221;<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\">CreateProcess error=2, The system cannot find the file specified.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>The cause of the error was that the \u201cAndroid SDK Tools\u201d was updated from Rev. 21.1 to Rev 22.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>The reason Rev. 22 causes the error is more on the side of JDeveloper. It moved appt.exe to a different directory, however you can\u2019t configure JDeveloper where to find this executable.<\/p>\n<p>&nbsp;<\/p>\n<p>To fix the issue, take your SDK version back to Rev. 21.1, by extracting the Rev 21.1 zip. You will have to re-install the Android APIs, but it shouldn\u2019t take long to get re-setup. However, if you want use Rev 22, copy the contents of <b>%SDK_Home%\/build-tools\/android-4.2.2<\/b> to<b>%SDK_Home%\/platform-tools<\/b>.<\/p>\n<p>&nbsp;<\/p>\n<p>Until Oracle changes how JDeveloper can find the binary, you can use this workaround!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Update (05\/21\/2013): Per Chris Muir, ADF Product Manager, this issue has been officially logged at Oracle as a bug 168376554. You can monitor the status of this bug in My Oracle Support (<a href=\"http:\/\/support.oracle.com\">http:\/\/support.oracle.com<\/a>) \u2013 as long as you have access to viewing Oracle Bugs.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; You might run into an ADF Mobile deployment error below: &nbsp; Cannot run program &#8220;&#8230; platform-toolsaapt&#8221; &nbsp; CreateProcess error=2, The system cannot find the file specified. &nbsp; The cause of the error was that the \u201cAndroid SDK Tools\u201d was updated from Rev. 21.1 to Rev 22. &nbsp; &nbsp; The reason Rev. 22 causes [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"&nbsp;\r\n\r\nYou might run into an ADF Mobile deployment error below:\r\n\r\n<span style=\"color: #ff0000\">Cannot run program \"... platform-toolsaapt\"<\/span>\r\n\r\n<span style=\"color: #ff0000\">CreateProcess error=2, The system cannot find the file specified.<\/span>\r\n\r\nThe cause of the error was that the \u201cAndroid SDK Tools\u201d was updated from Rev. 21.1 to Rev 22.\r\n\r\n&lt;\r\n\r\n&nbsp;\r\n\r\nThe reason Rev. 22 causes the error is more on the side of JDeveloper. It moved appt.exe to a different directory, however you can\u2019t configure JDeveloper where to find this executable.\r\n\r\nTo fix the issue, take your SDK version back to Rev. 21.1, by extracting the Rev 21.1 zip. You will have to re-install the Android APIs, but it shouldn\u2019t take long to get re-setup. However, if you want use Rev 22, copy the contents of <b>%SDK_Home%\/build-tools\/android-4.2.2<\/b> to<b>%SDK_Home%\/platform-tools<\/b>.\r\n\r\nUntil Oracle changes how JDeveloper can find the binary, you can use this workaround!\r\n\r\n&nbsp;\r\n\r\nUpdate (05\/21\/2013): Per Chris Muir, ADF Product Manager, this issue has been officially logged at Oracle as a bug 168376554. You can monitor the status of this bug in My Oracle Support (<a href=\"http:\/\/support.oracle.com\">http:\/\/support.oracle.com<\/a>) \u2013 as long as you have access to viewing Oracle Bugs.\r\n","_et_gb_content_width":"","footnotes":""},"categories":[49,26,14],"tags":[16,48,12,57],"class_list":["post-4186","post","type-post","status-publish","format-standard","hentry","category-adf-jdeveloper","category-development","category-resolve-issues","tag-11gr2","tag-adf","tag-error","tag-jdeveloper"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=4186"}],"version-history":[{"count":9,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4186\/revisions"}],"predecessor-version":[{"id":10360,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4186\/revisions\/10360"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=4186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=4186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=4186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}