无法在 Windows 7 上的 Titanium Studio 中创建新项目
我已经在 Windows 7(64 位)中安装了 Titanium Studio,但我无法创建新项目。在创建新项目时,我遇到以下错误,
Traceback (most recent call last):
File "C:\Users\Karthi\AppData\Roaming\Titanium\mobilesdk\win32\1.7.5\project.py", line 100, in <module>
main(sys.argv,len(sys.argv))
File "C:\Users\Karthi\AppData\Roaming\Titanium\mobilesdk\win32\1.7.5\project.py", line 91, in main
shutil.copy(os.path.join(all_dir,file),os.path.join(resources_dir,file))
File "C:\Users\Karthi\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1313011725\python\lib\shutil.py", line 85, in copy
copyfile(src, dst)
File "C:\Users\Karthi\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1313011725\python\lib\shutil.py", line 51, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Karthi\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.7.5\\all\\app.js
我无法理解为什么会发生这种情况,我还尝试卸载工作室并再次重新安装。但同样的错误再次发生。
任何人都可以帮我解决这个问题
I have installed Titanium Studio in windows 7 (64 bit), but I cant able to create new projects. While creating new project I am getting following error
Traceback (most recent call last):
File "C:\Users\Karthi\AppData\Roaming\Titanium\mobilesdk\win32\1.7.5\project.py", line 100, in <module>
main(sys.argv,len(sys.argv))
File "C:\Users\Karthi\AppData\Roaming\Titanium\mobilesdk\win32\1.7.5\project.py", line 91, in main
shutil.copy(os.path.join(all_dir,file),os.path.join(resources_dir,file))
File "C:\Users\Karthi\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1313011725\python\lib\shutil.py", line 85, in copy
copyfile(src, dst)
File "C:\Users\Karthi\AppData\Local\Titanium Studio\plugins\com.appcelerator.titanium.python.win32_1.0.0.1313011725\python\lib\shutil.py", line 51, in copyfile
fsrc = open(src, 'rb')
IOError: [Errno 2] No such file or directory: 'C:\\Users\\Karthi\\AppData\\Roaming\\Titanium\\mobilesdk\\win32\\1.7.5\\all\\app.js
I cant able to understand why this is happening, Also I tried Uninstall the studio and reinstall again. But same error happening again.
Anyone help me to solve this issue
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我有与 zk 相同的问题/解决方案。您是否将目录更改为建议的默认位置? (例如我的文档)您还可以尝试以管理员身份运行Titanium Studio(右键单击桌面上的快捷方式并以管理员身份运行)。
如果失败,请确保您已为要添加的项目类型配置了所有内容。
I had the same problem/solution as zk. Did you change the directory to the suggested default location? (e.g. My Documents) You can also try running Titanium Studio as Administrator (right click the shortcut on your desktop and Run as Administrator).
If that fails, make sure you have everything configured for the project type you are trying to add.
在 Windows 7 虚拟机上安装时我遇到了类似的问题。 Titanium 在使用默认工作区目录时遇到问题。
尝试更改 Preferences\Startup and Shutdown\Workspaces 下的默认工作区。
应用此更改并重新启动 Titanium Studio 后,我能够创建项目。
希望这有帮助
I had a similar issue when installing on a Windows 7 VM. Titanium was having trouble with the default workspace directory.
Try changing you default Workspace under Preferences\Startup and Shutdown\Workspaces.
After applying this change and restarting Titanium Studio, I was able to create projects.
Hope this helps