0

我是 Smartdevicelink 框架的新手,我正在尝试通过 tcp 连接我的 android 应用程序,当我尝试在本地系统中安装 SDL Core 时,我遇到了以下错误...

log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "SmartDeviceLinkCoreLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "ProtocolFordHandlingLogFile".
log4cxx: Could not instantiate class [SafeFileAppender].
log4cxx: Class not found: SafeFileAppender
log4cxx: Could not instantiate appender named "TransportManagerLogFile".
log4cxx: No appender could be found for logger (SDLMain).
log4cxx: Please initialize the log4cxx system properly.
4

1 回答 1

1

如果您想避免所有这些问题,我建议您使用Manticore Web 应用程序,它允许您通过 Web 浏览器使用 SDL Core。

否则,您的错误似乎与log4cxx系统上未正确安装有关。您可以查看 SDL Core README 的已知依赖问题部分了解更多详细信息。cmake要点是在尝试使用SDL Core之前,您可能必须删除系统上现有的 log4cxx 。

于 2017-07-12T12:33:07.047 回答