Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1732] After loading 3.1 candidate, cant get app to load on android phone if app id reset back to 3.0.2

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-04-15T17:18:27.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterPaul Ayling
AssigneeShak Hossain
Created2013-04-11T08:41:27.000+0000
Updated2016-03-08T07:40:37.000+0000

Description

Steps to Reproduce

test map app created app call only in app.js, saved as 3.0.2 reset app to use 3.1 loads ok on android 2.3.3 phone decided to go back 3.0.2 will no longer load onto phone error: [INFO] : ?? ? Launching appliation on device. execvp(): No such file or directory

Actual Result

doenst load onto phone

Expected Result

load to pjone

Comments

  1. Paul Ayling 2013-04-12

    Quick update on this, I just tried to build an app I'd previously setup using 3.0.2, onto the android phone and I get the same error, wont build onto the phone, noting this app has no map component. hope this helps :)
  2. Daniel Sefton 2013-04-12

    Hi Paul, Have you tried cleaning your project first? (Project -> Clean...) When switching between 3.1 and 3.0.2 I often have to clean my project. Failing that, please can you post your Studio log and diagnostic: Help -> Titanium Studio -> View Log File Help -> Titanium Studio -> Run Diagnostic Test... Thanks!
  3. Paul Ayling 2013-04-13

    Hi Daniel, Cleaned single project, still the same error, cleaned all projects still same error, logs follow

    Diag ##################

    Host OS: Mac OS X OS Version: 10.8.3 OS Arch: x86 JRE Version: 1.6.0_43 JRE Vendor: Apple Inc. JRE Home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Titanium Studio Version: 3.1.0.201304051530 Install Directory: file:/Applications/Titanium Studio/ Workspace Directory: file:/Users/paul/Documents/Titanium_Studio_Workspace/ VM Arguments: -Xms40m -Xmx1024m -Declipse.p2.unsignedPolicy=allow -Declipse.log.size.max=10000 -Declipse.log.backup.max=5 -Xdock:icon=../Resources/titanium.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Djava.class.path=/Applications/Titanium Studio/TitaniumStudio.app/Contents/MacOS//../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar Language: en_US Android SDK Version: Google TV Addon Android 3.2 Android NDK Version: Unknown/Uninstalled XCode Version: 4.6.1 Latest Titanium SDK: 3.1.0.v20130409124549 Titanium SDK Version: 2.1.3 SDK Modules API Version:2 SDK Timestamp: 10/02/12 16:16 SDK Build Number: 15997d0 SDK Location: /Users/paul/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.GA Titanium SDK Version: 3.0.0 SDK Modules API Version:2 SDK Timestamp: 12/12/12 18:49 SDK Build Number: a5894b3 SDK Location: /Users/paul/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA Titanium SDK Version: 3.0.2 SDK Modules API Version:2 SDK Timestamp: 02/15/13 19:02 SDK Build Number: 5a77fe7 SDK Location: /Users/paul/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA Titanium SDK Version: 3.1.0 SDK Modules API Version:2 SDK Timestamp: 04/09/13 12:45 SDK Build Number: 485b313 SDK Location: /Users/paul/Library/Application Support/Titanium/mobilesdk/osx/3.1.0.v20130409124549 Browsers - Default system web browser: null (null) - Firefox: 18.0.2 (/Applications/Firefox.app/Contents/MacOS/firefox-bin) - Camino: null (/Applications/Camino.app/Contents/MacOS/Camino) Titanium CLI Version: 3.0.24 Titanium CLI Enabled: true Alloy Version: 1.0.0 Node.ACS Version: 0.9.34 Node.JS Version: v0.8.22 NPM Path: /usr/local/bin/npm NPM Version: 1.2.14 Packages: /usr/local/lib ├─┬ acs@0.9.34 │ ├── acs-node@0.1.6 │ ├── colors@0.6.0-1 │ ├── commander@0.6.1 │ ├─┬ connect@2.3.5 │ │ ├── bytes@0.0.1 │ │ ├── cookie@0.0.4 │ │ ├── crc@0.2.0 │ │ ├── debug@0.7.2 │ │ ├── formidable@1.0.11 │ │ ├── fresh@0.0.1 │ │ ├── mime@1.2.4 │ │ ├── qs@0.4.2 │ │ └── range-parser@0.0.4 │ ├─┬ connect-mongo@0.1.9 │ │ └─┬ mongodb@0.9.9-8 │ │ └── bson@0.0.4 │ ├── ejs@0.8.0 │ ├── esprima@0.9.9 │ ├─┬ express@3.0.0 │ │ ├─┬ connect@2.6.0 │ │ │ ├── bytes@0.1.0 │ │ │ ├── formidable@1.0.11 │ │ │ ├── pause@0.0.1 │ │ │ ├── qs@0.5.1 │ │ │ └─┬ send@0.0.4 │ │ │ └── mime@1.2.6 │ │ ├── cookie@0.0.4 │ │ ├── crc@0.2.0 │ │ ├── debug@0.7.2 │ │ ├── fresh@0.1.0 │ │ ├── methods@0.0.1 │ │ ├── range-parser@0.0.4 │ │ └─┬ send@0.1.0 │ │ └── mime@1.2.6 │ ├─┬ fstream@0.1.18 │ │ ├── graceful-fs@1.1.14 │ │ ├── inherits@1.0.0 │ │ └── rimraf@2.1.4 │ ├─┬ jade@0.28.1 │ │ └── coffee-script@1.4.0 │ ├─┬ log4js@0.5.1 │ │ └── async@0.1.15 │ ├── longjohn@0.0.3 │ ├── mkdirp@0.3.3 │ ├── node-uuid@1.3.3 │ ├─┬ npm@1.2.1 │ │ ├── abbrev@1.0.3 │ │ ├── ansi@0.1.2 │ │ ├── archy@0.0.2 │ │ ├── block-stream@0.0.6 │ │ ├── chownr@0.0.1 │ │ ├── fstream@0.1.21 │ │ ├─┬ fstream-npm@0.1.3 │ │ │ └── fstream-ignore@0.0.5 │ │ ├── glob@3.1.14 │ │ ├── graceful-fs@1.1.14 │ │ ├── inherits@1.0.0 │ │ ├── ini@1.0.5 │ │ ├─┬ init-package-json@0.0.6 │ │ │ └── promzard@0.2.0 │ │ ├── lockfile@0.2.1 │ │ ├── lru-cache@2.0.4 │ │ ├─┬ minimatch@0.2.9 │ │ │ └── sigmund@1.0.0 │ │ ├── mkdirp@0.3.4 │ │ ├── node-gyp@0.8.2 │ │ ├── nopt@2.0.0 │ │ ├─┬ npm-registry-client@0.2.11 │ │ │ └── couch-login@0.1.15 │ │ ├─┬ npmconf@0.0.16 │ │ │ └─┬ config-chain@1.1.3 │ │ │ └── proto-list@1.2.2 │ │ ├── npmlog@0.0.2 │ │ ├── once@1.1.1 │ │ ├── opener@1.3.0 │ │ ├── osenv@0.0.3 │ │ ├─┬ read@1.0.4 │ │ │ └── mute-stream@0.0.3 │ │ ├── read-installed@0.0.4 │ │ ├── read-package-json@0.1.12 │ │ ├── request@2.9.203 │ │ ├── retry@0.6.0 │ │ ├── rimraf@2.1.1 │ │ ├── semver@1.1.2 │ │ ├── slide@1.1.3 │ │ ├── tar@0.1.14 │ │ ├── uid-number@0.0.3 │ │ └── which@1.0.5 │ ├── pkginfo@0.2.2 │ ├─┬ request@2.14.0 │ │ ├─┬ form-data@0.0.7 │ │ │ ├── async@0.1.22 │ │ │ └─┬ combined-stream@0.0.4 │ │ │ └── delayed-stream@0.0.5 │ │ └── mime@1.2.9 │ ├─┬ socket.io@0.9.10 │ │ ├── policyfile@0.0.4 │ │ ├─┬ redis@0.7.2 │ │ │ └─┬ hiredis@0.1.15 │ │ │ └── bindings@1.1.0 │ │ └─┬ socket.io-client@0.9.10 │ │ ├─┬ active-x-obfuscator@0.0.1 │ │ │ └── zeparser@0.0.5 │ │ ├── uglify-js@1.2.5 │ │ ├─┬ ws@0.4.25 │ │ │ ├── options@0.0.3 │ │ │ └── tinycolor@0.0.1 │ │ └── xmlhttprequest@1.4.2 │ ├── string@1.1.0 │ ├─┬ tar@0.1.13 │ │ ├── block-stream@0.0.6 │ │ └── inherits@1.0.0 │ ├── temp@0.4.0 │ ├── uglify-js@1.3.2 │ ├── underscore@1.3.3 │ └── wrench@1.3.9 ├─┬ alloy@1.0.0 │ ├── colors@0.6.0-1 │ ├── commander@0.6.1 │ ├─┬ jake@0.5.8 │ │ ├─┬ minimatch@0.2.9 │ │ │ ├── lru-cache@2.0.4 │ │ │ └── sigmund@1.0.0 │ │ └── utilities@0.0.19 │ ├─┬ jsonlint@1.5.1 │ │ ├── JSV@4.0.2 │ │ └─┬ nomnom@1.5.3 │ │ ├── colors@0.5.1 │ │ └── underscore@1.1.7 │ ├── pkginfo@0.2.2 │ ├── stripcolorcodes@0.1.0 │ ├── wrench@1.3.9 │ └── xmldom@0.1.13 ├─┬ npm@1.2.14 │ ├── abbrev@1.0.4 │ ├── ansi@0.1.2 │ ├── archy@0.0.2 │ ├── block-stream@0.0.6 │ ├── chmodr@0.1.0 │ ├── chownr@0.0.1 │ ├── fstream@0.1.22 │ ├─┬ fstream-npm@0.1.3 │ │ └── fstream-ignore@0.0.6 │ ├── glob@3.1.21 │ ├── graceful-fs@1.2.0 │ ├── inherits@1.0.0 │ ├── ini@1.1.0 │ ├─┬ init-package-json@0.0.6 │ │ └── promzard@0.2.0 │ ├── lockfile@0.3.0 │ ├── lru-cache@2.2.2 │ ├─┬ minimatch@0.2.11 │ │ └── sigmund@1.0.0 │ ├── mkdirp@0.3.5 │ ├── node-gyp@0.8.5 │ ├── nopt@2.1.1 │ ├─┬ npm-registry-client@0.2.18 │ │ └── couch-login@0.1.15 │ ├─┬ npmconf@0.0.23 │ │ └─┬ config-chain@1.1.5 │ │ └── proto-list@1.2.2 │ ├── npmlog@0.0.2 │ ├── once@1.1.1 │ ├── opener@1.3.0 │ ├── osenv@0.0.3 │ ├─┬ read@1.0.4 │ │ └── mute-stream@0.0.3 │ ├── read-installed@0.1.1 │ ├── read-package-json@0.2.2 │ ├── request@2.9.203 │ ├── retry@0.6.0 │ ├── rimraf@2.1.4 │ ├── semver@1.1.4 │ ├── slide@1.1.3 │ ├── tar@0.1.16 │ ├── uid-number@0.0.3 │ └── which@1.0.5 └─┬ titanium@3.0.24 ├── async@0.1.22 ├── colors@0.6.0-1 ├── longjohn@0.0.4 ├─┬ node-appc@0.1.28 │ ├── node-uuid@1.3.3 │ ├── uglify-js@1.3.4 │ └── xmldom@0.1.11 ├─┬ prompt@0.2.9 │ ├── pkginfo@0.3.0 │ ├─┬ read@1.0.4 │ │ └── mute-stream@0.0.3 │ └─┬ utile@0.1.7 │ ├── deep-equal@0.0.0 │ ├── i@0.3.1 │ ├── mkdirp@0.3.5 │ ├── ncp@0.2.6 │ └── rimraf@1.0.9 ├── request@2.9.203 ├── revalidator@0.1.5 ├── semver@1.1.3 ├── sprintf@0.1.1 ├── temp@0.4.0 ├─┬ winston@0.6.2 │ ├── cycle@1.0.2 │ ├── eyes@0.1.8 │ ├── pkginfo@0.2.3 │ └── stack-trace@0.0.6 └── wrench@1.3.9

    Log (note I cleared it and ran after the error) ##################

    !SESSION 2013-04-13 08:44:29.383 ----------------------------------------------- eclipse.buildId=3.1.0.201304051530 java.version=1.6.0_43 java.vendor=Apple Inc. BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US Framework arguments: -keyring /Users/paul/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws cocoa -arch x86 -keyring /Users/paul/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.core.net 1 0 2013-04-13 08:44:42.416 !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences !ENTRY com.appcelerator.titanium.mobile 4 0 2013-04-13 08:45:42.904 !MESSAGE (Build 3.1.0.201304051530) [ERROR] Error cleaning the project. A manual clean will be performed.

    console Log tail ##################

    [DEBUG] Waiting for device to be ready ... [TRACE] adb devices returned 1 devices/emulators [DEBUG] Device connected... (waited 0 seconds) [DEBUG] waited 0.171693 seconds on emulator to get ready [INFO] Installing application on device [DEBUG] /Users/paul/Documents/android-sdk-macosx/platform-tools/adb -d install -r /Users/paul/Documents/Titanium_Studio_Workspace/MySpy/build/android/bin/app.apk [INFO] Application installed. Launch from drawer on Home Screen [INFO] :   Launching appliation on device. execvp(): No such file or directory [ERROR] :  Project failed to build after 34s 133ms

    more ##################

    The project is on the phone now but it now crashed out where it worked before.
  4. Daniel Sefton 2013-04-15

    It seems this is a duplicate of TIMOB-13549, which has already been escalated. I'll update that issue. Cheers.
  5. Paul Ayling 2013-04-15

    thanks Daniel, one difference when creating the app at 3.0.2, reverting to 3.0.2 or using an app created at 3.0.2: 1. yes app writes to phone 2. no app is unusable hangs or crashes 3 apps tried back to 3.1 writes to phone and works fine unlike TIMOB-13549 which has no problem with the generated app cheers Paul
  6. Daniel Sefton 2013-04-15

    Hi Paul, Please add yourself as a watcher to TIMOB-13549. We'll probably check over this one as well. If TIMOB-13549 doesn't come to a suitable resolution, let me know and I'll re-open this. Cheers.

JSON Source