Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Titanium Android Unable to find Android SDK API when building

I am attempting to build my Titanium App for Android but it continuously complains about

[ERROR] Unable to find Android SDK API 23
[ERROR] Android SDK API 23 is required to build Android apps

Making sure that I have the Android API Level 23 (Marshmallow) installed:

Installed API Levels

Titanium still continues to output the above error. This happens when attempting to build an .apk and when attempting to run a debug build on my android device. Attempting to run a debug build on an emulator results in it complaining that no emulators were found even though emulators exist and are currently running.

Here is a full output from the build command: Build Output

Here is the output from a Titanium Environment Check: Environment Check I have installed compatible versions of tools and platform-tools but the environment check seems to only relay information about the latest installed version.

What am I missing?

Any help is appreciated.

like image 640
Shiri Avatar asked Feb 05 '26 17:02

Shiri


1 Answers

Google has deprecated its android command on the platform tools update 25.3.0, that change is causing troubles with the Titanium SDK lower that 6.x.x what you need to do is upgrade your Appc Titanium SDK project to at least version 6.0.4 or later. You can update it accessing to your tiapp.xml and change the line by the following one:

<sdk-version>6.0.4.GA</sdk-version>

I hope this information help you to fix this problem.

You can find here https://jira.appcelerator.org/browse/TIMOB-24555 additional information regarding this issue.

like image 122
ricardoorellana Avatar answered Feb 07 '26 17:02

ricardoorellana



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!