The invention provides a method and a device for realizing log file output / far-end output of an Android log and
electronic equipment, in the method, a service program LogColletor can convert the Android log into an AP log and further write the AP log into an
AUTOSAR AP log module, and finally, the AP log is stored as a log file or sent to a far end through a network by virtue of the function of the
AUTOSAR AP log module, so that the Android log can be output or output from the far end through the
AUTOSAR AP log module. According to the method, log file output / remote output of the Android log can be realized through a service program LogColletor transformed by an AUTOSAR AP log module, a developer of the
Android application does not need to perform
secondary development, a technical threshold does not exist, the process is non-perceived for the developer of the
Android application, the user experience is good, and in addition, the method can be applied to the development of the
Android application. According to the method, the Android Log and the AP log are stored or sent to the far end in the form of the AP log, the
data format is uniform, the method is convenient to use, a user can check and analyze the Android Log and the AP log in a unified mode and check vehicle faults, the log analysis efficiency is greatly improved, and the overall vehicle problem checking efficiency is improved.