[AC-981] Using of SDK 3.5.1.GA with AppcStudio runs in auth issue
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-06-17T10:10:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | n/a |
Reporter | Rainer Schleevoigt |
Assignee | Radamantis Torres-Lechuga |
Created | 2015-06-12T11:22:23.000+0000 |
Updated | 2016-03-08T07:37:18.000+0000 |
Description
By using of older SDKs (<4.*) I run in this console output.
~~~
TRACE | /usr/local/bin/node [ '/Users/fuerst/.appcelerator/install/4.0.2/package/node_modules/appc-cli-titanium/node_modules/titanium/bin/titanium',
'build',
'--platform',
'android',
'--log-level',
'trace',
'--sdk',
'3.5.1.GA',
'--project-dir',
'/Users/fuerst/Documents/TitaniumStudioWorkspace/DLRmediathek',
'--target',
'device',
'--android-sdk',
'/Users/fuerst/Library/android-sdk',
'--device-id',
'0621ed32229928e7',
'--alias',
'googlekey',
'--keystore',
'/users/fuerst/.android.keystore',
'--store-password',
'MY_KEYSTORE_PW',
'--skip-js-minify',
'--no-colors',
'--no-progress-bars',
'--no-prompt',
'--prompt-type',
'socket-bundle',
'--prompt-port',
'63119',
'--username',
'MYLOGIN',
'--password',
'[HIDDEN]',
'--plugin-paths',
'/Users/fuerst/.appcelerator/install/4.0.2/package/node_modules',
'--config-file',
'/var/folders/25/yvdn9h053sv3htdkzq8558k40000gn/T/build-1434107707810.json',
'--no-banner' ]
[ERROR] : Invalid "--password" value "*****"
For help, run: titanium help build
TRACE | titanium exited with exit code 1
ERROR | Error: ti run exited with error code 1
at ChildProcess. (/Users/fuerst/.appcelerator/install/4.0.2/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)
at ChildProcess.emit (events.js:98:17)
at Process.ChildProcess._handle.onexit (child_process.js:820:12)
[ERROR] Application Installer abnormal process termination. Process exit value was 1
~~~
In the line with "********" I see my working password. With newer SDKs I have no problems.
[~titanium@webmasterei-hamburg.de] can you please send us steps to reproduce the issue? Thanks
1. Starting Appc-Studio with my Indi account 2. Configuring of a project to work with SDK 3.5.1.GA 3. starting compiling with green left button to start on NEXUS5 device 4. looking on console. Do you need more details? It is this app: https://play.google.com/store/apps/details?id=de.appwerft.dlrmediathek You can find sources here: https://github.com/AppWerft/DLRmediathek Here build log: https://gist.github.com/AppWerft/118e56c3a122ee8edb0b
Now I have recompiled, and it works. I have no changed anything! Sorry for my task. I think it is a issue with session.
[~titanium@webmasterei-hamburg.de] if it's working now, it's ok if we close this ticket?
Yes you can close. I'am wondering about this staff. I have only repeated the process. Only with other internet connection.
The issues is come back. I have logout and login in – same issue.
The issue comes only with Android stuff. Some times it work without problems and suddenly comes this issue. I have rebooted and reloggined: this doesn't solve the problem. If I try to change my tiapp.xml (changing sdk version), then comes an error (Saved failed For input string "MNC")
If I reinstall version 2.0.0 from studio it works like a charm and if I install newest version of studio then the issue comes back. Relogin don't help.
[~titanium@webmasterei-hamburg.de] can you please try from CLI ?
which command?
[~titanium@webmasterei-hamburg.de] http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_Command-Line_Interface_Reference-section-35619828_TitaniumCommand-LineInterfaceReference-Build
Do you mean? ~~~ ti build --platform android --log-level trace --sdk 3.5.1.GA --project-dir /Users/fuerst/Documents/TitaniumStudioWorkspace/DLRmediathek --target device --android-sdk /Users/fuerst/Library/android-sdk --device-id 0621ed32229928e7 --alias googlekey --keystore /users/fuerst/.android.keystore --store-password MY_KEYSTORE_PW --skip-js-minify --no-colors --no-progress-bars --no-prompt --prompt-type socket-bundle --prompt-port 63119 --username MYLOGIN --password [HIDDEN] --plugin-paths /Users/fuerst/.appcelerator/install/4.0.2/package/node_modules --config-file /var/folders/25/yvdn9h053sv3htdkzq8558k40000gn/T/build-1434107707810.json --no-banner ~~~ What is about ''/var/folders/25/yvdn9h053sv3htdkzq8558k40000gn/T/build-1434107707810.json ?
About this I'm amazed: if I change the studio in /Applications/AppceleratorStudio/ how it is in relation to CLI?