Error recognizing SDK Path - Cocos Tools > Package to APK for Android

When I attempt, in the Cocos IDE to build my app into an android apk with “Package to APK for Android” I get a message that says: “Cannot find anything folder about Android sdks in the Android sdk path.”

This would seem to indicate a problem with the SDK path variable, but I have triple checked that it is correct. My environment variable ANDROID_SDK_ROOT is definitely set to a valid sdk.

What else might be the cause of this error?

When compiling from within the Cocos2d Code IDE, the system environment variables are not used. A setting inside the IDE must be configured to point to a valid Android SDK. This setting is not in the same place as is it in the regular eclipse ADT. It is under window > preferences > cocos.