Android Studio中E/USNET: USNET: appName:日志含义咨询
问题:Logcat中E/USNET日志的含义咨询
我正在使用Android Studio开发应用,应用运行一切正常,但启动时会在Logcat中输出日志:E/USNET: USNET: appName: fr.apgames.veuja。我想咨询该日志的具体含义,我认为这并非故障,但在网络上无法找到相关信息,特此请教。
补充完整启动栈迹
$ adb shell am start -n "fr.apgames.veuja/fr.apgames.veuja.SplashScreenActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 28166 on device 'samsung'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. I/r.apgames.veuj: Late-enabling -Xcheck:jni E/USNET: USNET: appName: fr.apgames.veuja D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument D/ActivityThread: setConscryptValidator D/ActivityThread: setConscryptValidator - put D/ActivityThread: handleBindApplication()++ app=fr.apgames.veuja D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10564; state: ENABLED W/ziparchive: Unable to open '/data/app/~~YFkivQlevnQ42gxYdE4UFg==/fr.apgames.veuja-m2_7QeRBzBPIP4mOIK91dQ==/base.dm': No such file or directory W/ziparchive: Unable to open '/data/app/~~YFkivQlevnQ42gxYdE4UFg==/fr.apgames.veuja-m2_7QeRBzBPIP4mOIK91dQ==/base.dm': No such file or directory D/nativeloader: Configuring classloader-namespace for other apk /data/app/~~YFkivQlevnQ42gxYdE4UFg==/fr.apgames.veuja-m2_7QeRBzBPIP4mOIK91dQ==/base.apk. target_sdk_version=33, uses_libraries=, library_path=/data/app/~~YFkivQlevnQ42gxYdE4UFg==/fr.apgames.veuja-m2_7QeRBzBPIP4mOIK91dQ==/lib/arm64, permitted_path=/data:/mnt/expand:/data/user/0/fr.apgames.veuja V/GraphicsEnvironment: ANGLE Developer option for 'fr.apgames.veuja' set to: 'default' V/GraphicsEnvironment: App is not on the allowlist for updatable production driver. D/LoadedApk: LoadedApk::makeApplication() appContext.mOpPackageName=fr.apgames.veuja appContext.mBasePackageName=fr.apgames.veuja D/NetworkSecurityConfig: No Network Security Config specified, using platform default D/NetworkSecurityConfig: No Network Security Config specified, using platform default D/ActivityThread: handleBindApplication() -- D/OpenGLRenderer: RenderThread::requireGlContext() D/AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found I/DecorView: [INFO] isPopOver=false, config=true I/DecorView: updateCaptionType >> DecorView@2ca0824[], isFloating=false, isApplication=true, hasWindowControllerCallback=true, hasWindowDecorCaption=false D/DecorView: setCaptionType = 0, this = DecorView@2ca0824[] I/DecorView: getCurrentDensityDpi: from real metrics. densityDpi=640 msg=resources_loaded W/r.apgames.veuj: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed) W/r.apgames.veuj: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed) D/OpenGLRenderer: RenderThread::setGrContext() I/MSHandlerLifeCycle: isMultiSplitHandlerRequested: ignored. pkg=fr.apgames.veuja parent=null callers=com.android.internal.policy.DecorView.setVisibility:4295 android.app.ActivityThread.handleResumeActivity:5301 android.app.servertransaction.ResumeActivityItem.execute:54 android.app.servertransaction.ActivityTransactionItem.execute:45 android.app.servertransaction.TransactionExecutor.executeLifecycleState:176 I/MSHandlerLifeCycle: removeMultiSplitHandler: no exist. decor=DecorView@2ca0824[] I/DecorView: notifyKeepScreenOnChanged: keepScreenOn=false
... 后续内容为应用正常运行日志
回答
这条E/USNET日志并非应用自身代码或标准Android系统组件输出的内容,大概率是你所用的三星设备自带的系统服务/组件输出的——USNET通常是三星设备中负责网络相关监测或统计的内部模块,它在应用启动时记录当前启动的应用包名,属于设备系统层面的日志,和你的应用逻辑完全无关。
从完整栈迹来看,这条日志出现在应用进程初始化的早期阶段,且后续应用正常运行,没有任何关联的错误或异常,完全不会影响应用功能,你可以直接忽略这条日志。
另外,栈迹中其他的警告(比如ziparchive找不到base.dm文件、访问隐藏方法)也都是Android系统启动过程中的常见信息,不会影响应用运行,无需处理。
内容的提问来源于stack exchange,提问作者Thewhyap
相关产品推荐
相关产品推荐

