I\'m trying to do phonegap build android
and I have this message :
[phonegap] detecting Android SDK environment...
[phonegap] using the local en
I have face the same issue, then i corrected my application path, afterthat it is worked out for me.
If you are using win 7 then add the Android ADK path in open the mycomputer -> Properties -> Change Settings-> Advanced -> Environment Variable -> User variable for ....-> path add the Android ADK path here like as following
C:\AndroidDev\adt-bundle-windows-x86-20131030\sdk\tools; C:\AndroidDev\adt-bundle-windows-x86-20131030\sdk\platform-tools
also add JAVA_HOME and ANT_HOME. - Abdul Jabbar
What solved the issue for me was having 2 directories on my PATH, the android platform-tools and tools. In my pc those folders were at C:\Program Files (x86)\Android\android-sdk\tools C:\Program Files (x86)\Android\android-sdk\platform-tools
Also make sure you have the following environment variables
I removed the .cordova folder under my user folder but I'm not quite sure if that helped as well.
These links may help you