Titanium JIRA Archive
Appcelerator Community (AC)

[AC-4568] Debugger failed to connect

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2016-10-21T21:07:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterNilmar Castro
AssigneeShak Hossain
Created2016-10-20T09:45:04.000+0000
Updated2016-10-21T21:39:12.000+0000

Description

Steps to Reproduce

Hot an error on installing on device or emulator. Below The Console log: On device: Appcelerator Command-Line Interface, version 5.5.1 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-10-20T09:35:09.280Z | TRACE | set environment to {'registry':'https://software.appcelerator.com','security':'https://security.appcelerator.com','baseurl':'https://platform.appcelerator.com'} 2016-10-20T09:35:09.282Z | TRACE | checking credentials for existing session 2016-10-20T09:35:09.938Z | TRACE | Attempting to load session info from config file 2016-10-20T09:35:09.946Z | TRACE | check if session is invalidated 2016-10-20T09:35:41.415Z | TRACE | registry result 500 application/json false undefined false undefined 2016-10-20T09:35:41.434Z | TRACE | registry returned { message: 'ETIMEDOUT', code: 'ETIMEDOUT', success: false, 'request-id': 'fd50db4e-494a-4ca6-8170-0e024c874ff4' } 2016-10-20T09:35:41.436Z | TRACE | session expiry 1477513612169 false 2016-10-20T09:35:41.437Z | TRACE | Arrow Cloud config file: /Users/nilmarpublio/.acs 2016-10-20T09:35:41.454Z | TRACE | found Arrow Cloud login { mid: 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'nilmarpublio@gmail.com', cookie: [ 'connect.sid=s%3AFoMGiGxjaVrRbgOSpzoggLDR.RDNHn4dv%2BFzas1TOXxZjscKC96nRjZLLmAlNzsXc964; Path=/; Expires=Tue, 01 Nov 2016 18:48:04 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-10-20T09:35:41.455Z | TRACE | Arrow Cloud cookie expiry [ 1478026084000 ] 2016-10-20T09:35:41.455Z | TRACE | session already loaded in opts.session 2016-10-20T09:35:41.458Z | TRACE | getCredentials() session: { 'ipaddress': '192.168.0.100', 'username': 'nilmarpublio@gmail.com', 'password': '', 'session': '', 'nonce': '', 'environment': { 'name': 'production', 'isProduction': true, 'acsBaseUrl': 'https://api.cloud.appcelerator.com', 'acsAuthBaseUrl': 'https://secure-identity.cloud.appcelerator.com', 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com' }, 'token': '', 'fingerprint': 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e', 'fingerprint_description': 'Mac OSX Serial Number: W80432QEDAS', 'org_id': 100001238, 'expiry': 1477513612169 } 2016-10-20T09:35:41.459Z | TRACE | loading plugins for command 'run' 2016-10-20T09:35:41.592Z | TRACE | run search paths: [ '/Users/nilmarpublio/.appcelerator/install/5.5.1/package', '/Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules', '/Applications/Appcelerator Studio/node_modules', '/Applications/node_modules', '/node_modules', '/Users/nilmarpublio/.appcelerator/.npm/lib/node_modules' ] 2016-10-20T09:35:41.593Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/nilmarpublio/.appcelerator/install/5.5.1/package/appc.js 2016-10-20T09:35:42.429Z | DEBUG | [PLUGIN-LOAD] 828ms /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium/appc.js 2016-10-20T09:35:42.429Z | DEBUG | run plugin: /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium 2016-10-20T09:35:42.446Z | DEBUG | [PLUGIN-LOAD] 4ms /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/arrow/appc.js 2016-10-20T09:35:42.451Z | DEBUG | run plugin: /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/arrow 2016-10-20T09:35:42.470Z | TRACE | plugin 'arrow' failed its 'when' function check, skipping... 2016-10-20T09:35:42.471Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via function 2016-10-20T09:35:42.486Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via array 2016-10-20T09:35:42.491Z | TRACE | executing command 'run' with the following plugins: ['titanium'] 2016-10-20T09:35:42.494Z | TRACE | Attempting to load session info from config file 2016-10-20T09:35:42.498Z | TRACE | check if session is invalidated 2016-10-20T09:35:43.415Z | TRACE | registry result 200 application/json undefined undefined false undefined 2016-10-20T09:35:43.416Z | TRACE | registry returned { expiry: 1477560943203 } 2016-10-20T09:35:43.416Z | TRACE | refresh session expiry to: 1477560943203 2016-10-20T09:35:43.418Z | TRACE | session expiry 1477560943203 false 2016-10-20T09:35:43.419Z | TRACE | session already loaded in opts.session 2016-10-20T09:35:43.454Z | DEBUG | Titanium Downloads Last Checked: 1476905663478 2016-10-20T09:35:43.721Z | TRACE | No project alloy hook; skipping update to 1.0.0 10/20/2016, 7:35:50 AM Operating System Name = Mac OS X Version = 10.12 Architecture = 64bit # CPUs = 4 Memory = 4294967296 Node.js Node.js Version = 4.6.0 npm Version = 2.15.9 Titanium CLI CLI Version = 5.0.9 Titanium SDK SDK Version = 5.5.1.GA SDK Path = /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA Target Platform = android Command /usr/local/bin/node /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/titanium/lib/titanium.js build run --platform android --log-level trace --sdk 5.5.1.GA --project-dir /Applications/Appcelerator Studio/myWskp/Test --target device --android-sdk /Users/nilmarpublio/Library/android-sdk-macosx --device-id 323007ce34d9109d --debug-host adb:53289 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 50478 --config-file /var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/build-1476956143419.json --no-banner --project-dir /Applications/Appcelerator Studio/myWskp/Test [INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=test path=/Users/nilmarpublio/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9 [INFO] : Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=test path=/Users/nilmarpublio/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.11 [INFO] : Deploy type: test [INFO] : Building for target: device [INFO] : Building for device: 323007ce34d9109d [INFO] : Targeting Android SDK API: 23 [INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86 [INFO] : Signing with keystore: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/dev_keystore (tidev) [INFO] : Debugging enabled via debug port: 53289 [INFO] : Profiler disabled [INFO] : Forcing rebuild: JavaScript files need to be re-encrypted [INFO] : JavaScript files need to be encrypted [WARN] : Overwriting file /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/Resources/KS_nav_ui.png [WARN] : Overwriting file /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/Resources/KS_nav_views.png [WARN] : Overwriting file /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/Resources/appicon.png [INFO] : Processing JavaScript files [INFO] : Encrypting JavaScript files: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium_prep.macos 'com.npctech.test' '/Applications/Appcelerator Studio/myWskp/Test/build/android/assets' 'app.js' 'ti.cloud.js' '_app_props_.json' [INFO] : Writing /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/app.json [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.res.zip [INFO] : No aidl files to compile, continuing [INFO] : Generating i18n files [INFO] : Generating /Applications/Appcelerator Studio/myWskp/Test/build/android/res/values/theme.xml [INFO] : Packaging application: /Users/nilmarpublio/Library/android-sdk-macosx/build-tools/23.0.1/aapt 'package' '-f' '-m' '-J' '/Applications/Appcelerator Studio/myWskp/Test/build/android/gen' '-M' '/Applications/Appcelerator Studio/myWskp/Test/build/android/AndroidManifest.xml' '-A' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets' '-S' '/Applications/Appcelerator Studio/myWskp/Test/build/android/res' '-I' '/Users/nilmarpublio/Library/android-sdk-macosx/platforms/android-23/android.jar' '-F' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/app.ap_' '--auto-add-overlay' '--extra-packages' 'ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview' '-S' '/var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/116920-40801-8izp7c/res' '-S' '/var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/116920-40801-15ra6ev/res' '-S' '/var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/116920-40801-u90wmq/res' [INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/javac '-J-Xmx1024M' '-encoding' 'utf8' '-bootclasspath' '/Users/nilmarpublio/Library/android-sdk-macosx/platforms/android-23/android.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-v8.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/aps-analytics.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/jaxen-1.1.1.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/ti-commons-codec-1.3.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-common.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-ui.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-appcompat.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v4.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v7-appcompat.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-cardview.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cardview-v7-23.0.1.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-verify.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-debug.jar:R.class:AssetCryptImpl.class:TestActivity.class:TestAppInfo.class:TestApplication.class' '-d' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/classes' '-proc:none' '-target' '1.6' '-source' '1.6' '@/Applications/Appcelerator Studio/myWskp/Test/build/android/java-sources.txt' [INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java '-Xmx1024M' '-XX:-UseGCOverheadLimit' '-Djava.ext.dirs=/Users/nilmarpublio/Library/android-sdk-macosx/platform-tools' '-jar' '/Users/nilmarpublio/Library/android-sdk-macosx/build-tools/23.0.1/lib/dx.jar' '--dex' '--output=/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/classes.dex' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/classes' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-verify.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-v8.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/aps-analytics.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/jaxen-1.1.1.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/ti-commons-codec-1.3.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-common.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-ui.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/nineoldandroids-appc-2.4.0.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-appcompat.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v4.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v7-appcompat.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-cardview.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cardview-v7-23.0.1.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-debug.jar' [INFO] : Creating unsigned apk [INFO] : Processing /Applications/Appcelerator Studio/myWskp/Test/build/android/src [INFO] : Writing unsigned apk: /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/app-unsigned-dev-debug.apk [INFO] : Using MD5withRSA signature algorithm [INFO] : Signing apk: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/jarsigner '-sigalg' 'MD5withRSA' '-digestalg' 'SHA1' '-keystore' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/dev_keystore' '-storepass' '*******' '-signedjar' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apk' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/app-unsigned-dev-debug.apk' 'tidev' [INFO] : Aligning zip file: /Users/nilmarpublio/Library/android-sdk-macosx/build-tools/23.0.1/zipalign '-v' '4' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apk' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apkz' [INFO] : Writing build manifest: /Applications/Appcelerator Studio/myWskp/Test/build/android/build-manifest.json [INFO] : Making sure the adb server is running [INFO] : Installing apk: /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apk [INFO] : Installing app on device: GT-I9300 [ERROR] : Failed to install apk on '323007ce34d9109d' ON Emulator: Appcelerator Command-Line Interface, version 5.5.1 Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved. 2016-10-20T09:39:53.856Z | TRACE | set environment to {'registry':'https://software.appcelerator.com','security':'https://security.appcelerator.com','baseurl':'https://platform.appcelerator.com'} 2016-10-20T09:39:53.858Z | TRACE | checking credentials for existing session 2016-10-20T09:39:54.338Z | TRACE | Attempting to load session info from config file 2016-10-20T09:39:54.346Z | TRACE | check if session is invalidated 2016-10-20T09:39:55.370Z | TRACE | registry result 200 application/json undefined undefined false undefined 2016-10-20T09:39:55.387Z | TRACE | registry returned { expiry: 1477561195227 } 2016-10-20T09:39:55.388Z | TRACE | refresh session expiry to: 1477561195227 2016-10-20T09:39:55.390Z | TRACE | session expiry 1477561195227 false 2016-10-20T09:39:55.391Z | TRACE | Arrow Cloud config file: /Users/nilmarpublio/.acs 2016-10-20T09:39:55.411Z | TRACE | found Arrow Cloud login { mid: 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e', publishPort: 443, publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', username: 'nilmarpublio@gmail.com', cookie: [ 'connect.sid=s%3AFoMGiGxjaVrRbgOSpzoggLDR.RDNHn4dv%2BFzas1TOXxZjscKC96nRjZLLmAlNzsXc964; Path=/; Expires=Tue, 01 Nov 2016 18:48:04 GMT; HttpOnly' ], defaultEP: { publishHost: 'https://admin.cloudapp-enterprise.appcelerator.com', publishPort: 443 } } , checking nodeACSEndpoint= https://admin.cloudapp-enterprise.appcelerator.com 2016-10-20T09:39:55.412Z | TRACE | Arrow Cloud cookie expiry [ 1478026084000 ] 2016-10-20T09:39:55.412Z | TRACE | session already loaded in opts.session 2016-10-20T09:39:55.414Z | TRACE | getCredentials() session: { 'ipaddress': '192.168.0.100', 'username': 'nilmarpublio@gmail.com', 'password': '', 'session': '', 'nonce': '', 'environment': { 'name': 'production', 'isProduction': true, 'acsBaseUrl': 'https://api.cloud.appcelerator.com', 'acsAuthBaseUrl': 'https://secure-identity.cloud.appcelerator.com', 'nodeACSEndpoint': 'https://admin.cloudapp-enterprise.appcelerator.com' }, 'token': '', 'fingerprint': 'fdefb89dfc069c4430771b3c9f1027fea1b70c0e', 'fingerprint_description': 'Mac OSX Serial Number: W80432QEDAS', 'org_id': 100001238, 'expiry': 1477561195227 } 2016-10-20T09:39:55.414Z | TRACE | loading plugins for command 'run' 2016-10-20T09:39:55.509Z | TRACE | run search paths: [ '/Users/nilmarpublio/.appcelerator/install/5.5.1/package', '/Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/MacOS/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/Contents/node_modules', '/Applications/Appcelerator Studio/AppceleratorStudio.app/node_modules', '/Applications/Appcelerator Studio/node_modules', '/Applications/node_modules', '/node_modules', '/Users/nilmarpublio/.appcelerator/.npm/lib/node_modules' ] 2016-10-20T09:39:55.510Z | DEBUG | [PLUGIN-LOAD] 0ms /Users/nilmarpublio/.appcelerator/install/5.5.1/package/appc.js 2016-10-20T09:39:56.349Z | DEBUG | [PLUGIN-LOAD] 825ms /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium/appc.js 2016-10-20T09:39:56.349Z | DEBUG | run plugin: /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/appc-cli-titanium 2016-10-20T09:39:56.360Z | DEBUG | [PLUGIN-LOAD] 3ms /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/arrow/appc.js 2016-10-20T09:39:56.365Z | DEBUG | run plugin: /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/arrow 2016-10-20T09:39:56.387Z | TRACE | plugin 'arrow' failed its 'when' function check, skipping... 2016-10-20T09:39:56.388Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via function 2016-10-20T09:39:56.401Z | TRACE | loading plugin 'titanium' for command 'run' CLI options via array 2016-10-20T09:39:56.403Z | TRACE | executing command 'run' with the following plugins: ['titanium'] 2016-10-20T09:39:56.406Z | TRACE | Attempting to load session info from config file 2016-10-20T09:39:56.409Z | TRACE | check if session is invalidated 2016-10-20T09:39:57.200Z | TRACE | registry result 200 application/json undefined undefined false undefined 2016-10-20T09:39:57.200Z | TRACE | registry returned { expiry: 1477561197062 } 2016-10-20T09:39:57.200Z | TRACE | refresh session expiry to: 1477561197062 2016-10-20T09:39:57.202Z | TRACE | session expiry 1477561197062 false 2016-10-20T09:39:57.203Z | TRACE | session already loaded in opts.session 2016-10-20T09:39:57.243Z | DEBUG | Titanium Downloads Last Checked: 1476905663478 2016-10-20T09:39:57.485Z | TRACE | No project alloy hook; skipping update to 1.0.0 10/20/2016, 7:40:03 AM Operating System Name = Mac OS X Version = 10.12 Architecture = 64bit # CPUs = 4 Memory = 4294967296 Node.js Node.js Version = 4.6.0 npm Version = 2.15.9 Titanium CLI CLI Version = 5.0.9 Titanium SDK SDK Version = 5.5.1.GA SDK Path = /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA Target Platform = android Command /usr/local/bin/node /Users/nilmarpublio/.appcelerator/install/5.5.1/package/node_modules/titanium/lib/titanium.js build run --platform android --log-level trace --sdk 5.5.1.GA --project-dir /Applications/Appcelerator Studio/myWskp/Test --target emulator --android-sdk /Users/nilmarpublio/Library/android-sdk-macosx --device-id Samsung Galaxy S3 - 4.1.1 - API 16 - 720x1280 --debug-host /127.0.0.1:54970 --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 50478 --config-file /var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/build-1476956397203.json --no-banner --project-dir /Applications/Appcelerator Studio/myWskp/Test [INFO] : Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=development path=/Users/nilmarpublio/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.9 [INFO] : Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=development path=/Users/nilmarpublio/Library/Application Support/Titanium/modules/commonjs/ti.cloud/3.2.11 [INFO] : Deploy type: development [INFO] : Building for target: emulator [INFO] : Building for emulator: Samsung Galaxy S3 - 4.1.1 - API 16 - 720x1280 [INFO] : Targeting Android SDK API: 23 [INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86 [INFO] : Signing with keystore: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/dev_keystore (tidev) [INFO] : Debugging enabled via debug port: 54970 [INFO] : Profiler disabled [INFO] : Forcing rebuild: target changed since last build [INFO] : Was: device [INFO] : Now: emulator [INFO] : Launching emulator: Samsung Galaxy S3 - 4.1.1 - API 16 - 720x1280 [INFO] : Emulator already running [WARN] : Overwriting file /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/Resources/KS_nav_ui.png [WARN] : Overwriting file /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/Resources/KS_nav_views.png [WARN] : Overwriting file /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/Resources/appicon.png [INFO] : Processing JavaScript files [INFO] : Encrypting JavaScript files: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium_prep.macos 'com.npctech.test' '/Applications/Appcelerator Studio/myWskp/Test/build/android/assets' 'app.js' 'ti.cloud.js' '_app_props_.json' [INFO] : Emulator is booted [INFO] : SD card not required, skipping mount check [INFO] : Emulator ready! [INFO] : Writing /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets/app.json [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-utils.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-geolocation.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-accelerometer.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-contacts.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-map.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-calendar.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-gesture.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.res.zip [INFO] : Extracting module resources: /Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-database.res.zip [INFO] : No aidl files to compile, continuing [INFO] : Generating i18n files [INFO] : Generating /Applications/Appcelerator Studio/myWskp/Test/build/android/res/values/theme.xml [INFO] : Packaging application: /Users/nilmarpublio/Library/android-sdk-macosx/build-tools/23.0.1/aapt 'package' '-f' '-m' '-J' '/Applications/Appcelerator Studio/myWskp/Test/build/android/gen' '-M' '/Applications/Appcelerator Studio/myWskp/Test/build/android/AndroidManifest.xml' '-A' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/assets' '-S' '/Applications/Appcelerator Studio/myWskp/Test/build/android/res' '-I' '/Users/nilmarpublio/Library/android-sdk-macosx/platforms/android-23/android.jar' '-F' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/app.ap_' '--auto-add-overlay' '--extra-packages' 'ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview' '-S' '/var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/116920-41365-1ak3ph1/res' '-S' '/var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/116920-41365-ao8u0c/res' '-S' '/var/folders/d3/8fb3lbxj5b15swv4v9nqpfqc0000gn/T/116920-41365-hk9q4h/res' [INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/javac '-J-Xmx1024M' '-encoding' 'utf8' '-bootclasspath' '/Users/nilmarpublio/Library/android-sdk-macosx/platforms/android-23/android.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-v8.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/aps-analytics.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/jaxen-1.1.1.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/ti-commons-codec-1.3.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-common.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-ui.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-appcompat.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v4.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v7-appcompat.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-cardview.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cardview-v7-23.0.1.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-utils.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-geolocation.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-accelerometer.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-contacts.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-map.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-calendar.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-gesture.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-database.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-verify.jar:/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-debug.jar:R.class:AssetCryptImpl.class:TestActivity.class:TestAppInfo.class:TestApplication.class' '-d' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/classes' '-proc:none' '-target' '1.6' '-source' '1.6' '@/Applications/Appcelerator Studio/myWskp/Test/build/android/java-sources.txt' [INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java '-Xmx1024M' '-XX:-UseGCOverheadLimit' '-Djava.ext.dirs=/Users/nilmarpublio/Library/android-sdk-macosx/platform-tools' '-jar' '/Users/nilmarpublio/Library/android-sdk-macosx/build-tools/23.0.1/lib/dx.jar' '--dex' '--output=/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/classes.dex' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/classes' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-verify.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-v8.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-analytics.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/aps-analytics.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-android.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/jaxen-1.1.1.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/ti-commons-codec-1.3.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/kroll-common.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/titanium.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-filesystem.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-app.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-ui.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/nineoldandroids-appc-2.4.0.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-media.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-appcompat.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v4.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/android-support-v7-appcompat.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-cardview.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/cardview-v7-23.0.1.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-locale.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-network.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-xml.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-utils.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-geolocation.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-accelerometer.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-contacts.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-map.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-calendar.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-gesture.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-platform.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/modules/titanium-database.jar' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/lib/titanium-debug.jar' [INFO] : Creating unsigned apk [INFO] : Processing /Applications/Appcelerator Studio/myWskp/Test/build/android/src [INFO] : Writing unsigned apk: /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/app-unsigned-dev-debug.apk [INFO] : Using MD5withRSA signature algorithm [INFO] : Signing apk: /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/jarsigner '-sigalg' 'MD5withRSA' '-digestalg' 'SHA1' '-keystore' '/Users/nilmarpublio/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA/android/dev_keystore' '-storepass' '*******' '-signedjar' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apk' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/app-unsigned-dev-debug.apk' 'tidev' [INFO] : Aligning zip file: /Users/nilmarpublio/Library/android-sdk-macosx/build-tools/23.0.1/zipalign '-v' '4' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apk' '/Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apkz' [INFO] : Writing build manifest: /Applications/Appcelerator Studio/myWskp/Test/build/android/build-manifest.json [INFO] : Making sure the adb server is running [INFO] : Installing apk: /Applications/Appcelerator Studio/myWskp/Test/build/android/bin/Test-dev-debug.apk [ERROR] : Failed to install apk on '192.168.56.101:5555' [ERROR] : Error: Unknown option: -d

Actual Result

Debugger failed to connect

Expected Result

Test my program on device because it is a bluetooth application. This application is only a test

Attachments

FileDateSize
.log2016-10-20T09:45:07.000+000016668
diagnostic5097867265802175176.log2016-10-20T09:45:18.000+000077034

Comments

  1. Nilmar Castro 2016-10-21

    Maybe I'm wrong, but had no answer to the solution. I would at least know what was the given solution.

JSON Source