Starting the application on Mac does not work(拷贝platforms到不同的位置,才能解决问题),还可设置DYLD_PRINT_LIBRARIES=1 观察动态库
2016-05-27 15:40
507 查看
In some rare cases it can happen that the application does not launch and there is no reaction after double clicking on the application icon, not even the splash screen appears.
The following work-around might help in this case.
Verify issue
First please verify if the work-around applies to your issue:
Launch the Terminal.app (in Applications/Utilities)
Type the following and then hit enter:
/Applications/Dacuda\ PocketScan.app/Contents/MacOS/PocketScan
If the following message is displayed continue to the solution:
"This application failed to start because it could not find or load the Qt platform plugin "cocoa"."
If you do not see the message mentioned above the work-around will not be useful.
Apply work-around
In the terminal type the following command:
sudo cp -r /Applications/Dacuda\ PocketScan.app/Contents/PlugIns/platforms /Applications/Dacuda\ PocketScan.app/Contents/MacOS/
Enter your password
Now the application should start normally
https://dac.zendesk.com/hc/en-us/articles/205023259-Starting-the-application-on-Mac-does-not-work
另外,设置
export DYLD_PRINT_LIBRARIES=1
可以观察命令行所需的动态库
The following work-around might help in this case.
Verify issue
First please verify if the work-around applies to your issue:
Launch the Terminal.app (in Applications/Utilities)
Type the following and then hit enter:
/Applications/Dacuda\ PocketScan.app/Contents/MacOS/PocketScan
If the following message is displayed continue to the solution:
"This application failed to start because it could not find or load the Qt platform plugin "cocoa"."
If you do not see the message mentioned above the work-around will not be useful.
Apply work-around
In the terminal type the following command:
sudo cp -r /Applications/Dacuda\ PocketScan.app/Contents/PlugIns/platforms /Applications/Dacuda\ PocketScan.app/Contents/MacOS/
Enter your password
Now the application should start normally
https://dac.zendesk.com/hc/en-us/articles/205023259-Starting-the-application-on-Mac-does-not-work
另外,设置
export DYLD_PRINT_LIBRARIES=1
可以观察命令行所需的动态库
相关文章推荐
- 微信昵称乱码及mysql编码格式设置(utf8mb4)
- Windows下Cordova环境搭建及如何用android studio导入cordova项目生成apk
- iOS 后台运行程序
- PNG格式图片原理
- 【android随笔】工具类整理--两次点击BACK键,退出应用的实现
- Android视频播放器实现小窗口和全屏状态切换
- AndroidStudio 依赖 ButterKnife 出现的空指针异常
- Androin学习笔记五十七: Android 触摸手势基础 官方文档概览
- (2.2.8.5) Android proguard 详解和常见错误
- Android-PullToRefresh
- 史上最全APP推广渠道
- LruCache源码解析
- iOS 基于 MVC 的项目重构总结
- Android Dev Intro - Limits on setVisible of View
- Android开源项目分类汇总
- Android 设置头像——拍照获取图片保存图片进行广播
- Html5刮刮卡效果(移动端、PC端)
- Android的setVisibility(View.GONE)无效的问题及原因分析
- Android 状态保存 生命周期 onSaveInstanceState onRestoreInstanceState 方法
- Android学习系列(24)--App列表之下拉刷新