我刚从这里直接下载了主Java Jar文件:http://loopj.com/android-async-http/ 双击jar文件并弹出此错误消息:
"The Java JAR file "android-async-http-1.4.9.jar" could not be launched.
Check the Console for possible error messages."
在控制台中,弹出以下4条消息:
4/23/16 7:34:40.805 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.domain.pid.quicklookd.2848) Path not allowed in target domain: type = pid, path = /Library/Frameworks/iTunesLibrary.framework/Versions/A/XPCServices/com.apple.iTunesLibraryService.xpc error = 147: The specified service did not ship in the requestor's bundle, origin = /System/Library/Frameworks/QuickLook.framework/Versions/A/Resources/quicklookd.app
4/23/16 7:34:53.261 AM QuickLookSatellite[2861]: [QL] Using too much memory (127 MB), hit critical threshold (120 MB), exiting immediately to clean up.
4/23/16 7:34:53.280 AM com.apple.xpc.launchd[1]: (com.apple.quicklook.satellite.2CBCE90F-159F-4B12-83D8-1859B1F39063[2861]) Service exited due to signal: Killed: 9
4/23/16 7:34:53.597 AM QuickLookSatellite[2879]: ImageIO: JPEG Corrupt JPEG data: 1502 extraneous bytes before marker 0xfe
4/23/16 7:34:53.600 AM QuickLookSatellite[2879]: ImageIO: JPEG JPEG datastream contains no image
作为参考,我已经确认在我的mac安全性中,我已将其切换为“允许从任何地方下载的应用程序”,因此这应该不是问题。
另外,我怀疑最后两个与弹出错误的实际图像有关(我报告的第一件事)......所以一旦根本原因得到解决,就不需要了错误信息,一切都应该是花花公子。
我该如何解决这个问题?
答案 0 :(得分:1)
这个jar文件是Android库,它不是应用程序文件==>您无法运行此文件。