Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23379] Windows OS: Appcelerator is not compatible with McAfee antivirus.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2019-11-11T17:02:14.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsCLI
Labelsn/a
ReporterSharif AbuDarda
AssigneeSharif AbuDarda
Created2016-05-14T06:47:02.000+0000
Updated2019-11-11T17:02:14.000+0000

Description

When Appcelerator is running in a PC with McAfee antivirus installed, Running a project leads to "An uncaught exception was thrown! EPERM, operation not permitted" error.

Comments

  1. Christopher Williams 2016-05-16

    Sounds like this is a file/folder permissions issue, unlikely to be related to McAfee Antivirus. It'd be helpful to have more details here: - What version of Titanium SDK? - What version of Appcelerator CLI? - Was this through Studio or the CLI? If Studio, what version Studio? - What version of Windows OS? - Where is the project path? Do you have the exact error log/output to trace what section of code complained and what path it was referring to?
  2. Sharif AbuDarda 2016-06-17

    Hello, Here is the details of one of our user, who was facing the issue. He was trying to build for Android. He overcomes the error by completely uninstalling the MacAfee antivirus.
       $ appc ti build -p android -C "Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920"
       Appcelerator Command-Line Interface, version 5.2.2
       Copyright (c) 2014-2016, Appcelerator, Inc. All Rights Reserved.
       
       2016-05-04 07:29:27
       
       Operating System
       Name = Microsoft Windows 8 Single Language
       Version = 6.2.9200
       Architecture = 32bit
       

    CPUs = 4

    Memory = 8394137600 Node.js Node.js Version = 0.12.7 npm Version = 2.11.3 Titanium CLI CLI Version = 5.0.6 Titanium SDK SDK Version = 5.2.2.GA SDK Path = C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA Target Platform = android Command c:\Program Files (x86)\nodejs\node.exe c:\Users\Andreas\.appcelerator\install\5.2.2\package\node_modules\titanium\lib\titanium.js build -p android - C Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920 --config-file C:\Users\Andreas\AppData\Local\Temp\build-1462321740135.json --log-level info --no-bann er --project-dir D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc [INFO] Found Titanium module id=ti.cloud version=3.2.9 platform=commonjs deploy-type=development path=C:\ProgramData\Application Data\Titanium\module s\commonjs\ti.cloud\3.2.9 [INFO] Found better matching module id=ti.cloud version=latest platform=commonjs deploy-type=development path=C:\ProgramData\Application Data\Titaniu m\modules\commonjs\ti.cloud\3.2.10 [INFO] Found Titanium plugin id=ti.alloy version=1.0 [INFO] Deploy type: development [INFO] Building for target: emulator [INFO] Building for emulator: Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920 [INFO] Targeting Android SDK API: 23 [INFO] Building for the following architectures: armeabi, armeabi-v7a, x86 [INFO] Signing with keystore: C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\android\dev_keystore (tidev) [INFO] Debugging disabled [INFO] Profiler disabled [INFO] Forcing rebuild: D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\build-manifest.json does not exist [INFO] Found Alloy app in D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\app [INFO] Executing Alloy compile: c:\Program Files (x86)\nodejs\node.exe c:\Users\Andreas\.appcelerator\install\5.2.2\package\node_modules\alloy\bin\al loy compile D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\app --config platform=android,version=0,simtype=none,devicefamily=none,de ploytype=development,target=emulator [WARN] Generated "/i18n" directory is not ignored by Git, please add it to your .gitignore [WARN] Generated "/platform" directory is not ignored by Git, please add it to your .gitignore [INFO] [config.json] config.json unchanged, using cached config.json... [INFO] ----- MVC GENERATION ----- [INFO] [global style] loading from cache... [INFO] [models/Account.js] model processing... [INFO] [home.xml] view processing... [INFO] style: "home.tss" [INFO] view: "home.xml" [INFO] created: "Resources\android\alloy\controllers\home.js" [INFO] created: "Resources\android\alloy\styles\home.js" [INFO] [index.xml] view processing... [INFO] style: "index.tss" [INFO] view: "index.xml" [INFO] controller: "index.js" [INFO] created: "Resources\android\alloy\controllers\index.js" [INFO] created: "Resources\android\alloy\styles\index.js" [INFO] [INFO] [app.js] using cached app.js... [INFO] [INFO] ----- OPTIMIZING ----- [INFO] - alloy\CFG.js [INFO] - android\alloy.js [INFO] - android\alloy\models\Account.js [INFO] - android\alloy\sync\localStorage.js [INFO] - android\alloy\sync\properties.js [INFO] - android\alloy\sync\sql.js [INFO] [INFO] Alloy compiled in 2.29576s [INFO] Alloy compiler completed successfully [INFO] Launching emulator: Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920 [INFO] Running: D:\Application\Android\Genymobile\Genymotion\player.exe --vm-name "Samsung Galaxy S5 - 4.4.4 - API 19 - 1080x1920" [INFO] JavaScript files need to be encrypted [WARN] Overwriting file D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\bin\assets\Resources\appicon.png [WARN] Overwriting file D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\alloy_generated [INFO] Processing JavaScript files [INFO] Encrypting JavaScript files: C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\android\titanium_prep.win32.exe "com.tvip.sc" "D:\Application\Ap pcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\assets" "alloy/CFG.js" "app.js" "alloy/backbone.js" "alloy/constants.js" "alloy/controll ers/BaseController.js" "alloy/controllers/home.js" "alloy/controllers/index.js" "alloy/models/Account.js" "alloy/styles/home.js" "alloy/styles/index.j s" "alloy/sync/localStorage.js" "alloy/sync/properties.js" "alloy/sync/sql.js" "alloy/underscore.js" "alloy/widget.js" "alloy.js" "ti.cloud.js" "_app_ props_.json" [INFO] Writing D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\bin\assets\app.json [INFO] Extracting module resources: C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\android\modules\titanium-analytics.res.zip [INFO] Extracting module resources: C:\ProgramData\Titanium\mobilesdk\win32\5.2.2.GA\android\modules\titanium-android.res.zip An uncaught exception was thrown! EPERM, operation not permitted 'D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\res\values\strings.xml' EPERM, operation not permitted 'D:\Application\Appcelerator\Appcelerator_Studio_Workspace_New\sc\build\android\res\values\strings.xml'
    So, This might have something to do with the McAfee antivirus. Closed intercom ticket: https://app.intercom.io/a/apps/k9rdlb68/inbox/conversation/4625097754. Sorry for the late responce. Regards, Sharif.

JSON Source