Tuesday 15 December 2020

Setup Android SDK for Appcelerator Titanium

appc ti setup check tells me that Android SDK not found. appc ti info suggested to tell Titanium where the Android SDK is located. The Android SDK is intalled in /usr/lib/android-sdk. If I try to setup Android SDK, then I run into the following error:

$ appc titanium setup android
Appcelerator Command-Line Interface, version 8.1.1
Copyright (c) 2014-2020, Appcelerator, Inc.  All Rights Reserved.

Enter ctrl-c at any time to quit.

───────────────────┤ Android Settings ├───────────────────

Path to the Android SDK
Enter "none" if you don't want to build for Android.
: /usr/lib/android-sdk
[ERROR] Invalid Android SDK path
Required file does not exist: "/usr/lib/android-sdk/tools/android"

I found this issue documented here. I tried to follow the solution under section "manual way":

  1. install cmdline-tools, how to do it properly is documented here.

  2. then I used sdkmanager to update packages as it mentioned.

    /usr/lib/android-sdk
     ├── build-tools
     │   ├── 27.0.1 -> debian
     │   └── debian
     │       └── lib
     ├── cmdline-tools
     │   └── tools
     │       ├── bin
     │       └── lib
     ├── extras
     │   └── android
     │       └── m2repository
     ├── licenses
     ├── platforms
     │   ├── android-23
     │   └── android-29
     │       ├── data
     │       ├── optional
     │       ├── skins
     │       └── templates
     ├── platform-tools
     │   ├── api
     │   ├── lib64
     │   └── systrace
     │       └── catapult
     └── tools
         ├── bin
         └── proguard
             ├── bin
             └── lib
     

But the issue still exists. Can someone please explain me what this issue is about exactly?



from Setup Android SDK for Appcelerator Titanium

No comments:

Post a Comment