无法在 Android 模拟器中安装应用程序 - Titanium

Not able to install app in Android emulator - Titanium

我试图在 Android 模拟器上安装应用程序。我没有安装 Genymotion 模拟器。但是我得到了这些错误。我无法确定其背后的原因。谁能帮我理解并删除它?

Titanium Command-Line Interface, CLI version 3.4.2, Titanium SDK version 3.5.1.GA
Copyright (c) 2012-2015, Appcelerator, Inc.  All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[ERROR] Application Installer abnormal process termination. Process exit value was 8
/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185
        throw e;
              ^
Error: EACCES, permission denied '/opt/local/scgi_temp'
    at fs.readdirSync (fs.js:666:18)
    at scan (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/titanium-sdk/lib/emulators/genymotion.js:136:25)
    at scan (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/titanium-sdk/lib/emulators/genymotion.js:148:26)
    at scan (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/titanium-sdk/lib/emulators/genymotion.js:148:26)
    at /Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/titanium-sdk/lib/emulators/genymotion.js:154:10
    at /Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/titanium-sdk/lib/emulators/genymotion.js:111:8
    at q.process (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/async/lib/async.js:731:21)
    at processImmediate (timers.js:354:15)
---------------------------------------------
    at async.setImmediate (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/async/lib/async.js:96:15)
    at /Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/async/lib/async.js:696:21
    at Array.forEach (native)
    at _each (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/async/lib/async.js:32:24)
    at _insert (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/async/lib/async.js:681:11)
    at q.push (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/async/lib/async.js:708:15)
    at /Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/titanium-sdk/lib/emulators/genymotion.js:127:12
    at queue.drain (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/node-appc/lib/subprocess.js:108:3)
---------------------------------------------
    at Object.run (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/node-appc/lib/subprocess.js:59:8)
    at find (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/node-appc/lib/subprocess.js:96:14)
    at q.process (/Users/sp/Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA/node_modules/node-appc/node_modules/async/lib/async.js:809:21)
    at processImmediate (timers.js:354:15)

提前致谢! :)

您可以使用 adb install 命令进行安装

示例 - adb install <path to apk file>

这看起来像是权限错误。你可以试试

chmod 777 -R /opt/local/scgi_temp