解決方式-在Mac系統中,Eclipse無法導入含有中文路徑的project
阿新 • • 發佈:2017-08-11
導入 pan support cati 一行 oct tracking -a ctype
1、改動eclipse.app/
<key>CFBundleExecutable<key>在其上方加入下面代碼
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>LSEnvironment</key> <dict> <key>JAVA_TOOL_OPTIONS</key> <string>-Dfile.encoding=UTF-8</string> <key>LANG</key> <string>zh_CN.UTF-8</string> </dict> <key>CFBundleExecutable<key>
2、改動eclipse.app/
3、關閉eclipse,又一次啟動,並退出
4、打開命令終端,運行例如以下命令
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -v -f /Applications/eclipse/eclipse.app
5 又一次啟動Eclipse
解決方式-在Mac系統中,Eclipse無法導入含有中文路徑的project