[AC-6275] Android problem
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Done |
Resolution Date | 2019-06-04T09:59:49.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Giorgio Tassistro |
Assignee | Shak Hossain |
Created | 2019-06-03T07:34:13.000+0000 |
Updated | 2019-06-04T09:59:49.000+0000 |
Description
Steps to Reproduce
I installed last version of Axway Appcelerator studio on Windows.
After, i have this problem with Android.
2019-06-03T07:32:05.405Z | DEBUG | Titanium Downloads Last Checked: 1559547123099
[ERROR] Application Installer abnormal process termination. Process exit value was 1
[ERROR] : Android Build Tools null are not supported by Titanium
[ERROR] : Current installed Android SDK tools:
[ERROR] : Android SDK Tools: 25.2.5 (Supported: <=26.x)
[ERROR] : Android SDK Platform Tools: 28.0.3 (Supported: 28.x)
[ERROR] : Android SDK Build Tools: not installed (Supported: >=25.x <=28.x)
[ERROR] :
[ERROR] : Make sure you have the latest Android SDK Tools, Platform Tools, and Build Tools installed.
[ERROR] :
Actual Result
Axway doesn't work.
Expected Result
That work.
Attachments
Hi [~gtassistro], Please refer to the link below and update your android packages. https://docs.appcelerator.com/platform/latest/#!/guide/Installing_the_Android_SDK-section-src-29004851_InstallingtheAndroidSDK-InstallingAndroidpackageswithAndroidSDKManager Restart studio and try to run your project. Let me know the update. Thanks!
Hi Jebun, I followed the instructions to the letter. I installed everything, how can I generate a report, to verify that it is correct? Thanks!
[~gtassistro] you can run this command: appc ti info -t android
Well Jebun, location of android Sdk is wrong! I have this on another unit. F:\android-sdk-win How can i update it ? ---------------- Appcelerator Command-Line Interface, version 7.0.11 Copyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved. Android SDK Android Executable = not found ADB Executable = C:\android-sdk-win\platform-tools\adb.exe SDK Path = C:\android-sdk-win Android NDK NDK Path = F:\android-sdk-win\ndk-bundle NDK Version = 19.2.5345600 Android Platforms 1) android-28 Name = Android 9 API Level = 28 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = Path = C:\android-sdk-win\platforms\android-28 Android Add-Ons None Android Emulators Nexus 5X API 27 ID = Nexus_5X_API_27 SDK Version = not installed ABI = x86 Skin = 1080x1920 Path = C:\Users\giorgio\.android\avd\Nexus_5X_API_27.avd SD Card = C:\Users\giorgio\.android\avd\Nexus_5X_API_27.avd\sdcard.img Google APIs = no Genymotion Emulators Google Pixel 0 ID = Google Pixel SDK Version = 8.0.0 ABI = x86 Genymotion Version = 2.13.0 Display = 1080x1920-16 DPI = 420 OpenGL Acceleration = yes Google APIs = unknown, emulator not running Google Pixel 2 0 ID = Google Pixel 2 SDK Version = 9.0.0 ABI = x86 Genymotion Version = 2.13.0 Display = 1080x1920-16 DPI = 420 OpenGL Acceleration = yes Google APIs = unknown, emulator not running Connected Android Devices None Android Issues × Android Build Tools null are not supported by Titanium Current installed Android SDK tools: Android SDK Tools: 25.2.5 (Supported: <=26.x) Android SDK Platform Tools: 28.0.3 (Supported: 28.x) Android SDK Build Tools: not installed (Supported: >=25.x <=28.x) Make sure you have the latest Android SDK Tools, Platform Tools, and Build Tools installed. c:\comFerra>
You can setup android sdk path using this command: appc ti config android.sdk
Ok, I tried appc ti config android.sdk f:\ but it doesn't change it always stays on c:\ ... ------------------------- c:\comFerra>*appc ti config android.sdk f:\android-sdk-win* Appcelerator Command-Line Interface, version 7.0.11 Copyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved. * android.sdk saved* c:\comFerra>*appc ti info -t android* Appcelerator Command-Line Interface, version 7.0.11 Copyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved. Android SDK Android Executable = not found ADB Executable = C:\android-sdk-win\platform-tools\adb.exe SDK Path = *C:\android-sdk-win* Android NDK NDK Path = F:\android-sdk-win\ndk-bundle NDK Version = 19.2.5345600 Android Platforms 1) android-28 Name = Android 9 API Level = 28 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = Path = C:\android-sdk-win\platforms\android-28 Android Add-Ons None
Hi Jebun, I solved.! I had two situations like this: 1. An installation of the android-sdk in *C:\* (I think made by axway) and other in *F\:* , executed with the android studio before. I copy all c:\android-sdk in f:\android-sdk I had to change the path inside the studio Perhaps new installation of Studio changes directory (of default) ? 2. I had to forcibly change directory here: *Windows> Preference> Platforms> Android SDK Home.* With appc command line, does'nt work Thanks
Is the issue resolved for you? If not, Can you share the "appc ti setup check" log in here? Thanks.
Yes, I solved, Thanks. Regards