小编Bil*_*_NZ的帖子

Android Studio static = libcore.io.Posix ENOENT异常

我想在模拟器上运行我的应用程序.它曾经工作,但现在它没有正确加载.我得到的调试错误是:

static = libcore.io.Posix
  Exception = {android.system.ErrnoException@3564}
Run Code Online (Sandbox Code Playgroud)

当我右键单击Exception行和Copy Value时,我得到:

  android.system.ErrnoException: stat failed: ENOENT (No such file or directory)
Run Code Online (Sandbox Code Playgroud)

我的应用程序没有任何编程的文件,因此异常必须与系统所需的内容相关.

回顾一下LogCat,我得到了ENOENT的匹配,以前的几行是:

com.google.process.location W/art? Suspending all threads took: 7.795ms
com.google.process.location I/art? Background partial concurrent mark sweep GC freed 2094(165KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 3MB/5MB, paused 9.486ms total 274.854ms
com.google.process.location I/GCoreUlr? DispatchingService.onCreate()
com.google.process.location I/GCoreUlr? WorldUpdater received intent Intent { act=com.google.android.location.reporting.ACTION_UPDATE_WORLD cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) } with receiverAction android.location.PROVIDERS_CHANGED
com.google.process.location E/copresGcore? Couldn't load settings: /data/data/com.google.android.gms/files/copresence_settings: open failed: ENOENT (No such file or …
Run Code Online (Sandbox Code Playgroud)

android android-debug

12
推荐指数
1
解决办法
3810
查看次数

标签 统计

android ×1

android-debug ×1