Titanium Android Can't find Android SDK API while building

I am trying to build a Titanium Android app but it constantly complains about

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

      

After making sure I have Android API level 23 (Marshmallow) installed:

Installed API levels

Titan still keeps giving the above error. This happens when trying to build .apk and when trying to debug build on my android device. Attempting to run a debug build on the emulator results in it complaining that no emulators were found, although emulators exist and are currently running.

Here is the complete output of the build command: Create exit

Here is the result of the Titanium Environment Check: Checking the environment I have installed compatible versions of the tools and tools, but the environment check seems to only report the latest installed version.

What am I missing?

Any help is appreciated.

+3


source to share


2 answers


I had the same problem a few days ago. The solution was to download the SDK toolkit version 24 and replace it in "/ Users / nicolascantod / Library / android-sdk-macosx / tools"



link: https://android-sdk.en.uptodown.com/mac/download

+2


source


Google has abandoned its team android

in updating platform tools 25.3.0

, this change causes Titanium SDK issues lower than 6.x.x

what you need to do is update the Appc Titanium SDK project to at least 6.0.4 or newer. You can update its access to your tiapp.xml and change the line like this:

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

      



I hope this information helps you solve this problem.

You can find here https://jira.appcelerator.org/browse/TIMOB-24555 for more information on this issue.

+1


source







All Articles