{"id":966,"date":"2018-09-26T20:04:04","date_gmt":"2018-09-26T20:04:04","guid":{"rendered":"http:\/\/www.netexl.com\/blog\/?p=966"},"modified":"2026-04-02T09:45:03","modified_gmt":"2026-04-02T09:45:03","slug":"error-android-sdk-not-found-make-sure-that-it-is-installed","status":"publish","type":"post","link":"https:\/\/www.netexl.com\/blog\/error-android-sdk-not-found-make-sure-that-it-is-installed\/","title":{"rendered":"Cordova Error: Android SDK not found. Make sure that it is installed"},"content":{"rendered":"<p>I recently tried to upgrade Cordova app which was last compiled almost an year back and got the following error<\/p>\n<blockquote><p>Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.<\/p><\/blockquote>\n<p>I turns out that I had updated Android SDK version on my PC during that time and all I needed to do was to update the platform version in the app as well.<\/p>\n<p>Using Node.js Command Prompt and cordova commands, check the installed platform in the app using the following command<\/p>\n<pre class=\"lang:default decode:true \">cordova platform version android<\/pre>\n<p>Update the installed platform version in the app using the following command<\/p>\n<pre class=\"lang:default decode:true\">cordova platform update android<\/pre>\n<p>While upgrading the app additional issues I faced were related to plugins not being compatible with the new platform version which were fixed by simply removing the plugins and re-adding it which in some cases also involved code changes.<\/p>\n<p>Commands to remove and add cordova plugins<\/p>\n<pre class=\"lang:default decode:true \">cordova plugin remove &lt;plugin&gt;\r\n\r\ncordova plugin add &lt;plugin&gt;<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently tried to upgrade Cordova app which was last compiled almost an year back and got the following error Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable. I turns out that I had updated Android SDK version on my PC during that time and all I needed to do was to update the platform version in the app as well. Using Node.js Command Prompt and cordova commands, check the installed platform in the app using the following command cordova platform version android Update the installed platform version in the app using the following command cordova platform update android While upgrading the app additional issues I faced were related to plugins not being compatible with the new platform version which were fixed by simply removing the plugins and re-adding it which in some cases[&#8230;]<\/p>\n","protected":false},"author":5,"featured_media":1541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,28,29,19,6],"tags":[],"class_list":["post-966","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-cordova","category-issue","category-mobile","category-plugin"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/comments?post=966"}],"version-history":[{"count":2,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/966\/revisions"}],"predecessor-version":[{"id":970,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/posts\/966\/revisions\/970"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media\/1541"}],"wp:attachment":[{"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/media?parent=966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/categories?post=966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.netexl.com\/blog\/wp-json\/wp\/v2\/tags?post=966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}