Wednesday, December 14, 2016

Setup Android SDK to the Appcelerator Studio for windows PC

At first, download the Android SDK then place it inside the"C:" directory and show the location to the
Axway Appcelerator Studio>>Preferences>>Studio>>Platforms>Android>Android SDK Home
Then click on Install SDKs>> Now select all android 8.X.X, v7.X.X  and install those packages. 
If you face any issue then try to setup android SDK via the command prompt
  • appc ti config android.sdk  <SDK location>
  • appc ti setup android
  • And restart PC 
Also, take a look android SDK installation guide -
Hope this helps.

2 comments:

  1. I'm having problems running app developed in appcelerator on an Ubuntu server. I install all the necessary software (node, npp, appcelerator, android sdk, java) bun when I run appc run and select android, I receive this error: [ERROR] Unable to find platform configuration for "android". This is the result of the ti config command (the ones conerning android):

    android.ndkPath = "/home/user/android-ndk-r10c-linux-x86_64.bin/android-ndk-r13b"
    android.sdkPath = "/home/user/android-sdk"
    app.workspace = "/home/user"
    If I run ti setup and check the environment all the tests are passed, marked with a green check mark. Did anyone encounter the same problem, or can anyone point me into the right direction.

    Cheers

    ReplyDelete
  2. Can you run on the device? Actually, officially Appcelerator do not have Linux support. So I can not say you sure it will work. But I know someone who can run.

    1. Make sure your node version according to this link
    - https://platform.appcelerator.com/#/product/cli
    2. JDK 8 64 bit
    3. Make sure all necessary package is installed on your Android SDK

    Also, maybe the CLI and android SDK is not be installed properly. So try to install the CLI manually via the terminal respectively.

    sudo appc logout
    sudo npm install -g appcelerator
    appc use latest
    appc setup

    Then go to the android SDK >>tools >> click on android and select all tools, Android6 and Extra folder then install those packages. Finally setup Android SDK through the terminal

    appc ti config android.sdk /SDK location/
    appc ti setup android
    And restart PC

    Please take a look android SDK installation guide -
    http://docs.appcelerator.com/platform/latest/#!/guide/Installing_the_Android_SDK

    Hope this helps.

    ReplyDelete