GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Done |
Resolution Date | 2018-12-10T22:44:21.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Appcelerator CLI, Titanium SDK & CLI |
Labels | Android, Compile, Publish, SDK |
Reporter | Abidhusain Chidi |
Assignee | Shak Hossain |
Created | 2018-11-30T06:42:11.000+0000 |
Updated | 2018-12-10T22:44:21.000+0000 |
I am facing issues while want to publish or test application in Android platform. I have Android SDK already selected in it. But that is not working in Appcelerator I think. In Android Studio that SDK works well as expected. So I am attaching every possible logs and screen-shot that help us.
Please give me guidence that any issue from my side still exists for implement.
I have also tried with downgrad and Upgrade CLI and SDK version but faced same issues in it.
Thanks & Best Regards,
Abidhusain.
$ appc info ========================================== Appcelerator Command-Line Interface, version 7.0.6 Copyright (c) 2014-2018, Appcelerator, Inc. All Rights Reserved. Operating System Name = Mac OS X Version = 10.14 Architecture = 64bit # CPUs = 4 Memory = 8.0GB Node.js Node.js Version = 8.14.0 npm Version = 6.4.1 Appcelerator CLI Installer = 4.2.13 Core Package = 7.0.6 Titanium CLI CLI Version = 5.1.1 node-appc Version = 0.2.44 Titanium SDKs 7.5.0.GA Version = 7.5.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.5.0.GA Platforms = iphone, android git Hash = 2e5a7423d0 git Timestamp = 11/15/2018 21:52 node-appc Version = 0.2.47 7.4.1.GA Version = 7.4.1 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.4.1.GA Platforms = iphone, android git Hash = f47cf79a83 git Timestamp = 10/8/2018 17:44 node-appc Version = 0.2.45 7.4.0.GA Version = 7.4.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.4.0.GA Platforms = iphone, android git Hash = c625ad446f git Timestamp = 9/13/2018 18:45 node-appc Version = 0.2.45 7.3.1.GA Version = 7.3.1 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.3.1.GA Platforms = iphone, android git Hash = 6164fa414d git Timestamp = 8/29/2018 07:23 node-appc Version = 0.2.45 7.3.0.GA Version = 7.3.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.3.0.GA Platforms = iphone, android git Hash = 35af917 git Timestamp = 8/16/2018 23:01 node-appc Version = 0.2.45 7.2.0.GA Version = 7.2.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.2.0.GA Platforms = iphone, android git Hash = ecae6740fe git Timestamp = 6/7/2018 12:25 node-appc Version = 0.2.45 7.1.1.GA Version = 7.1.1 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.1.1.GA Platforms = iphone, android git Hash = 1708b2d git Timestamp = 4/19/2018 18:20 node-appc Version = 0.2.45 7.1.0.GA Version = 7.1.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.1.0.GA Platforms = iphone, android git Hash = df92fbf git Timestamp = 3/14/2018 20:46 node-appc Version = 0.2.43 7.0.2.GA Version = 7.0.2 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.0.2.GA Platforms = iphone, android git Hash = 5ef0c56 git Timestamp = 2/9/2018 19:05 node-appc Version = 0.2.43 7.0.1.GA Version = 7.0.1 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.0.1.GA Platforms = iphone, android git Hash = f5ae7e5 git Timestamp = 12/18/2017 18:48 node-appc Version = 0.2.43 7.0.0.GA Version = 7.0.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/7.0.0.GA Platforms = iphone, android git Hash = f09dec4 git Timestamp = 12/5/2017 21:38 node-appc Version = 0.2.43 6.3.0.GA Version = 6.3.0 Install Location = /Users/qalbit/Library/Application Support/Titanium/mobilesdk/osx/6.3.0.GA Platforms = iphone, android, mobileweb git Hash = 3620088 git Timestamp = 11/1/2017 01:20 node-appc Version = 0.2.43 Mac OS X Command Line Tools = installed Intel® Hardware Accelerated Execution Manager (HAXM) Not installed Java Development Kit Version = 1.8.0_162 Java Home = /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home Genymotion Path = /Applications/Genymotion.app/Contents/MacOS Genymotion Executable = /Applications/Genymotion.app/Contents/MacOS/genymotion Genymotion Player = /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS/player Home = /Users/qalbit/.Genymobile/Genymotion VirtualBox Executable = /usr/local/bin/VBoxManage Version = 5.2.22r126460 Android SDK Android Executable = not found ADB Executable = /Volumes/Data/ANDROID/SDK/platform-tools/adb SDK Path = /Volumes/Data/ANDROID/SDK Android NDK NDK Path = /Volumes/Data/Backup-28-11-18/ANDROID-NDK NDK Version = 18.1.5063045 Android Platforms 1) android-23 Name = Android 6.0 API Level = 23 Revision = 3 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound400x400, AndroidWearRound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWearRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare240x240, AndroidWearSquare320x320 ABIs = armeabi-v7a, x86, x86_64 Path = /Volumes/Data/ANDROID/SDK/platforms/android-23 2) android-26 Name = Android 8.0.0 API Level = 26 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in, AndroidWearRound, AndroidWearRound360x360, AndroidWearRound390x390, AndroidWearRound400x400, AndroidWearRound454x454, AndroidWearRound480x480, AndroidWearRoundChin320x290, AndroidWearRoundChin320x300, AndroidWearRoundChin360x325, AndroidWearRoundChin360x326, AndroidWearRoundChin360x330, AndroidWearSquare, AndroidWearSquare240x240, AndroidWearSquare320x320 ABIs = x86, x86_64 Path = /Volumes/Data/ANDROID/SDK/platforms/android-26 3) android-27 Name = Android 8.1.0 API Level = 27 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = x86, x86_64 Path = /Volumes/Data/ANDROID/SDK/platforms/android-27 4) android-28 Name = Android 9 (not supported by Titanium SDK 7.4.1.GA, but may work) API Level = 28 Revision = 1 Skins = HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800, WVGA854, WXGA720, WXGA800, WXGA800-7in ABIs = x86 Path = /Volumes/Data/ANDROID/SDK/platforms/android-28 Android Add-Ons None Android Emulators Nexus-5-API-23 ID = Nexus-5-API-23 SDK Version = Android 6.0 (API level 23) ABI = x86_64 Skin = undefined Path = /Users/qalbit/.android/avd/Nexus-5-API-23.avd SD Card = no sd card Google APIs = no Nexus 5X API 27 ID = Nexus_5X_API_27 SDK Version = Android 8.1.0 (API level 27) ABI = x86 Skin = 1080x1920 Path = /Users/qalbit/.android/avd/Nexus_5X_API_27.avd SD Card = /Users/qalbit/.android/avd/Nexus_5X_API_27.avd/sdcard.img Google APIs = no Nexus 5 API 28 ID = Nexus_5_API_28 SDK Version = Android 9 (API level 28) ABI = x86 Skin = 1080x1920 Path = /Users/qalbit/.android/avd/Nexys-5-API-28.avd SD Card = /Users/qalbit/.android/avd/Nexys-5-API-28.avd/sdcard.img Google APIs = no Genymotion Emulators None Connected Android Devices None Xcode 10.1 (build 10B61) - Xcode default Install Location = /Applications/Xcode.app/Contents/Developer iOS SDKs = 12.1 iOS Simulators = 12.1 Watch SDKs = 5.1 Watch Simulators = 5.1 Supported by TiSDK 7.4.1.GA = yes EULA Accepted = yes Teams = none iOS Keychains login.keychain-db = /Users/qalbit/Library/Keychains/login.keychain-db System.keychain = /Library/Keychains/System.keychain iOS Development Certificates /Users/qalbit/Library/Keychains/login.keychain-db abidindia009@gmail.com (FL4HT2YS4R) Not valid before = 11/29/2018 4:54 PM Not valid after = 11/29/2019 4:54 PM iOS App Store Distribution Certificates None Apple WWDR Certificate Apple WWDR = installed Development iOS Provisioning Profiles iOS Team Provisioning Profile: com.qalbit.Test UUID = 9f2ca51c-d243-4282-8ca3-b49fb657aa0b App Prefix = 24UGPKBZWQ App Id = com.qalbit.Test Date Created = 11/29/2018 5:04 PM Date Expired = 12/6/2018 5:04 PM Managed = Yes and is NOT compatible with Titanium iOS Team Provisioning Profile: com.qalbit.TestUITests UUID = bea48259-a307-4848-b623-804aebacdda2 App Prefix = 24UGPKBZWQ App Id = com.qalbit.TestUITests Date Created = 11/29/2018 5:04 PM Date Expired = 12/6/2018 5:04 PM Managed = Yes and is NOT compatible with Titanium App Store Distribution iOS Provisioning Profiles None Ad Hoc iOS Provisioning Profiles None Enterprise Ad Hoc iOS Provisioning Profiles None iOS Simulators 12.1 iPad Air (ipad) UDID = 5130CC43-5AF0-4AA3-B5A3-0BF9431D26CA Supports Watch Apps = no iPad Air 2 (ipad) UDID = 85E5E89D-FF89-4E94-8E6F-2A09BBB44F72 Supports Watch Apps = no iPad (5th generation) (ipad) UDID = E46613D2-70C1-4C33-84BA-42F09BBEF977 Supports Watch Apps = no iPad Pro (9.7-inch) (ipad) UDID = 4DEBFCE6-7052-4416-83C1-C6E1E1548AC6 Supports Watch Apps = no iPad Pro (12.9-inch) (ipad) UDID = 0C17D8CE-F5B2-460F-A13E-2A448AA62FE4 Supports Watch Apps = no iPad Pro (12.9-inch) (2nd generation) (ipad) UDID = A41EE618-2278-4B26-8202-A38761375CFC Supports Watch Apps = no iPad Pro (10.5-inch) (ipad) UDID = 586C5599-8F8C-44E1-BEF1-3D24705A6BA2 Supports Watch Apps = no iPad (6th generation) (ipad) UDID = B65B9351-528D-4B80-8C26-8943C01F7E59 Supports Watch Apps = no iPad Pro (11-inch) (ipad) UDID = A5DAFC31-6D8C-4C30-B2C2-55F3ED88F62B Supports Watch Apps = no iPad Pro (12.9-inch) (3rd generation) (ipad) UDID = 357EFE1B-22EA-4A87-9026-F5F5ED80F615 Supports Watch Apps = no iPhone 8 (iphone) UDID = F743C762-990D-4B13-9D95-0EEF4A818A72 Supports Watch Apps = yes iPhone 8 Plus (iphone) UDID = 1F1C09A8-3ECF-47B2-9778-8EA44DA53C47 Supports Watch Apps = yes iPhone X (iphone) UDID = D1A3FD17-0070-42AF-B72F-259C4AAD7761 Supports Watch Apps = yes iPhone XS (iPhone Xs) (iphone) UDID = D82179EA-2210-495D-B54C-601A49209A4B Supports Watch Apps = yes iPhone XS Max (iPhone Xs Max) (iphone) UDID = 042DF948-96E4-4786-9CE8-9505546547C0 Supports Watch Apps = yes iPhone XR (iPhone Xʀ) (iphone) UDID = 9C795967-6E16-4CEB-8947-E56BA3A9B34E Supports Watch Apps = yes iPhone 5s (iphone) UDID = CC85A98E-24E3-4AE2-8250-03A0052D7114 Supports Watch Apps = yes iPhone 6 Plus (iphone) UDID = 5C8E6D28-CE8E-4A62-9760-FD0811A57607 Supports Watch Apps = yes iPhone 6 (iphone) UDID = 54EBB482-A56A-498B-9670-CEF5209414BF Supports Watch Apps = yes iPhone 6s (iphone) UDID = 25742424-B923-4E5B-954E-EF175820ADA9 Supports Watch Apps = yes iPhone 6s Plus (iphone) UDID = EEF5A0F0-51AE-4BFC-825C-C5BDB19B08CA Supports Watch Apps = yes iPhone SE (iphone) UDID = B9B12A05-F06E-408E-AB60-8D8EAE27E22D Supports Watch Apps = yes iPhone 7 (iphone) UDID = 775E37EC-128E-4C1C-BB55-913C2AD03053 Supports Watch Apps = yes iPhone 7 Plus (iphone) UDID = 6490D6DC-DCFB-4AA9-8872-81032C82EE4B Supports Watch Apps = yes WatchOS Simulators 5.1 Apple Watch Series 2 - 38mm (watch) UDID = 3EF6216A-3109-43A2-A00A-3E421AD5B977 Apple Watch Series 2 - 42mm (watch) UDID = 29E30DC0-2605-4453-A853-FD991D9DE4CC Apple Watch Series 3 - 38mm (watch) UDID = 65698AD2-0A67-4317-BD16-713636DB8948 Apple Watch Series 3 - 42mm (watch) UDID = 0228B7A1-9902-458D-8239-7C707BD4B0C8 Apple Watch Series 4 - 40mm (watch) UDID = 9C1FD3CF-285D-49F4-99C3-722BD0718CB8 Apple Watch Series 4 - 44mm (watch) UDID = F6A7C29B-7336-4F65-83EB-EB89FDAB4CC9 Connected iOS Devices None Android Issues ! Android API Android 9 (android-28) is too new and may or may not work with Titanium SDK 7.4.1. The maximum supported Android API level by Titanium SDK 7.4.1 is API level 27. iOS Issues ! Unable to find any valid iOS adhoc provisioning profiles. This will prevent you from packaging apps for adhoc distribution. You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer account, then create, download, and install a profile. ! Unable to find any valid iOS distribution provisioning profiles. This will prevent you from packaging apps for AppStore distribution. You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer account, then create, download, and install a profile. ! Unable to find any valid iOS production distribution certificates. This will prevent you from packaging apps for distribution. You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer account, then create, download, and install a certificate.
$ti config ========================================== android.buildTools.selectedVersion = "27.0.3" android.ndkPath = "/Volumes/Data/Backup-28-11-18/ANDROID-NDK" android.sdkPath = "/Volumes/Data/ANDROID/SDK" app.workspace = "/Users/qalbit/Documents/axway_ws" cli.colors = true cli.completion = false cli.failOnWrongSDK = false cli.httpProxyServer = "" cli.ignoreDirs = "^(\\.svn|_svn|\\.git|\\.hg|\\.?[Cc][Vv][Ss]|\\.bzr|\\$RECYCLE\\.BIN)$" cli.ignoreFiles = "^(\\.gitignore|\\.npmignore|\\.cvsignore|\\.DS_Store|\\._.*|[Tt]humbs.db|\\.vspscc|\\.vssscc|\\.sublime-project|\\.sublime-workspace|\\.project|\\.tmproj)$" cli.logLevel = "trace" cli.progressBars = true cli.prompt = true cli.rejectUnauthorized = true cli.width = 100 paths.commands = [] paths.hooks = ["/Applications/AppceleratorStudio.app/Contents/Eclipse/plugins/com.appcelerator.titanium.liveview.core_1.1.0.201806130730/node_modules/liveview/hook"] paths.modules = [] paths.plugins = [] paths.sdks = [] paths.templates = [] sdk.selected = "7.4.1.GA" user.email = "qalbit.sol@gmail.com" user.locale = "en_US" user.name = "Abidhusain"
When I try to update the Android SDK then at last I got such error like we have the image as name "Screenshot 2018-11-30 at 4.51.59 PM.png".
Hello, Sometimes when you install Android SDK through studio this type of issue occurs. You can download the Android SDK package in here http://dl.google.com/android/android-sdk_r21.1-macosx.zip. Now, put the unzip folder in a root directory and configure the directory in your studio by studio/preference/studio/platforms/android/ Android SDK home. Close studio. Go to your Android SDK folder/tools/android. This will open the Android SDK manager. Download and install the recommended SDK tools and build tools. Now restart the pc after the installation is done. Now check again in the studio. Android SDK should be configured. Let us know. Thanks.
I tried several time with replacing tools that you provide and steps that you mentioned. But not working currently. It worked for single time when I placed initially after that not working yet.
Hello, Can you run a project through terminal? Try to run with terminal from the project directory "appc run -p android", check the log. Send it here is the issue still there. Thanks.
Hello @Sharif, Thank you for your comments. Actually, I forgot to make that on Root user location. After that it is working fine for me. Thanks & Best regards, Abidhusain.