Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1001] [ERROR] Application Installer abnormal process termination. Process exit value was 8

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2014-07-29T07:05:33.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsandroid
ReporterThanh Long
AssigneeMauro Parra-Miranda
Created2014-06-30T02:47:35.000+0000
Updated2016-03-08T07:37:19.000+0000

Description

Comments

  1. Mauro Parra-Miranda 2014-06-30

    Hello, looks like a problem with your Android setup. The error number 8 is an error of memory (i.e., you don't have enough memory to run the emulator). Check your AVD manager and see how much memory is the emulator using. If possible, test your android project with an actual device. Best Regards,
  2. Thanh Long 2014-06-30

    Thank you for quick response. However, Emulator "titanium_1_WVGA800" was default setting with 512MiB while my computer is 8GiB RAM. I think it is OK! Secondly, while I connected device (Galaxy S), the device seemed not be recognized. Do you have any ideas about this? Thanks and best regards!
  3. Mauro Parra-Miranda 2014-06-30

    Hello! Some things to check when a device is not recognized: 1. Did you enable the developer feature in the device? http://developer.android.com/tools/device.html 2. Did you press ok in the "trust this machine" dialog? 3. Can you check if your usb cable is transmitting data as well? (Some USB Cables only provide power, but they don't have the wiring for the data). 4. Press "refresh devices" in the Ti Studio 5. Unlock your device when testing. 6. Install the USB drivers for your device (in the case of Samsung, you have to search for "Samsung Galaxy USB Developer drivers". Best Regards,
  4. Thanh Long 2014-06-30

    Thanks. I've done those steps above but... Actually, I used adb devices to check device. It appeared, but in Ti Studio list device is still empty. Unbelivable! What wrong with this? ========================================== C:\android-sdk-win\platform-tools>adb devices List of devices attached 0b9b9171 device ==========================================
  5. Thanh Long 2014-06-30

    I wondered what go wrong with longjohn.js as below. Now it appeared as a new bug. ========================================================================= C:\Users\n0267\AppData\Roaming\npm\node_modules\titanium\node_modules\longjohn\d ist\longjohn.js:185 throw e; ^ Error: EPERM, operation not permitted 'C:\Program Files\Windows NT\繧「繧ッ繧サ繧オ 繝ェ' at fs.readdirSync (fs.js:654:18) at scan (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titan ium-sdk\lib\emulators\genymotion.js:138:25) at scan (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titan ium-sdk\lib\emulators\genymotion.js:150:26) at scan (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titan ium-sdk\lib\emulators\genymotion.js:150:26) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sd k\lib\emulators\genymotion.js:156:10 at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sd k\lib\emulators\genymotion.js:113:8 at q.process (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\ async\lib\async.js:731:21) at processImmediate (timers.js:336:15) --------------------------------------------- at async.setImmediate (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node _modules\async\lib\async.js:96:15) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\a sync.js:696:21 at Array.forEach (native) at _each (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\asyn c\lib\async.js:32:24) at _insert (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\as ync\lib\async.js:681:11) at q.push (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\asy nc\lib\async.js:708:15) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sd k\lib\emulators\genymotion.js:129:12 at queue.drain (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_module s\node-appc\lib\subprocess.js:108:3) --------------------------------------------- at async.setImmediate (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node _modules\async\lib\async.js:96:15) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\a sync.js:696:21 at Array.forEach (native) at _each (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\asyn c\lib\async.js:32:24) at _insert (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\as ync\lib\async.js:681:11) at q.push (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\asy nc\lib\async.js:708:15) at Object.findExecutable (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\n ode_modules\node-appc\lib\subprocess.js:113:8) at async.parallel.virtualbox (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3. GA\node_modules\titanium-sdk\lib\emulators\genymotion.js:99:20) --------------------------------------------- at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_mo dules\titanium-sdk\lib\adb.js:213:9) at conn.exec.dontWaitForData (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3. GA\node_modules\titanium-sdk\lib\adb.js:440:9) at Connection. (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\ node_modules\titanium-sdk\lib\adb.js:154:15) at EventEmitter.emit (events.js:95:17) at Socket. (_stream_readable.js:745:14) at EventEmitter.emit (events.js:92:17) --------------------------------------------- at Readable.on (_stream_readable.js:688:33) at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_mo dules\titanium-sdk\lib\adb.js:114:9) at ADB.shell (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\ titanium-sdk\lib\adb.js:436:7) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sd k\lib\adb.js:312:8 at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\a sync.js:551:21 at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\async\lib\a sync.js:227:13 at iterate (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\as ync\lib\async.js:134:13) at async.eachSeries (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_m odules\async\lib\async.js:150:9) --------------------------------------------- at Readable.on (_stream_readable.js:688:33) at Connection.exec (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_mo dules\titanium-sdk\lib\adb.js:114:9) at ADB.devices (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_module s\titanium-sdk\lib\adb.js:362:23) at Object.detectDevices (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\an droid\cli\lib\detect.js:60:18) at Section. (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\and roid\cli\lib\info.js:25:7) at finalize (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\t itanium-sdk\lib\android.js:313:4) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sd k\lib\android.js:704:5 at ChildProcess. (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.G A\node_modules\node-appc\lib\subprocess.js:60:3) --------------------------------------------- at run (C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-a ppc\lib\subprocess.js:59:8) at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\titanium-sd k\lib\android.js:453:4 at C:\ProgramData\Titanium\mobilesdk\win32\3.2.3.GA\node_modules\node-appc\l ib\subprocess.js:129:3 at exithandler (child_process.js:645:7) at EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:753:16) at Socket. (child_process.js:966:11)
  6. Mauro Parra-Miranda 2014-07-09

    Hello! Looks like that issue only happens when you have your Antivirus software on (it will analyze the file before running it, therefore generates a race condition). Please shut down the antivirus software and then try again. Best Regards
  7. Mauro Parra-Miranda 2014-07-29

    Tried with a clean machine without antivirus. The issue didn't appear. Tested with 3.3.0.GA.

JSON Source