Search code examples
androidappceleratortitanium-alloygenymotion

"Android SDK version not found" error when running Genymotion Android emulator from Appcelerator Studio


When I try to run my Alloy app in the Genymotion Android emulator from Appcelerator Studio, I get the error "Android SDK version Android M (Preview) not found". As far as I can tell, I have that SDK version installed.

Here is how I attempt to run it:

Run it

Here is the error I get:

Error message

It seems like I have the right SDK installed:

Installed SDKs

Update #1

This is the <android/> element of my tiapp.xml:

<android xmlns:android="http://schemas.android.com/apk/res/android">
    <tool-api-level>21</tool-api-level>
    <manifest>
        <uses-sdk android:minSdkVersion="10" android:targetSdkVersion="21"/>
        <!-- other manifest entries -->
    </manifest>
</android>

Solution

  • Try to install build tools from Tools folder and platform tools from Tools (Preview Channel) folder.