java.io.IOException: Cannot set SELinux context for /data/app-lib/asd.vector.sensor-1

GitHub | chenxiaolong | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 174#244638005

    GitHub | 6 months ago | chenxiaolong
    java.io.IOException: Cannot set SELinux context for /data/app-lib/asd.vector.sensor-1

    Root Cause Analysis

    1. java.io.IOException

      Cannot set SELinux context for /data/app-lib/asd.vector.sensor-1

      at com.android.server.pm.PackageManagerService.copyNativeLibrariesForInternalApp()
    2. Android
      SystemServer.main
      1. com.android.server.pm.PackageManagerService.copyNativeLibrariesForInternalApp(PackageManagerService.java:5496)
      2. com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:4945)
      3. com.android.server.pm.PackageManagerService.scanPackageLI(PackageManagerService.java:4049)
      4. com.android.server.pm.PackageManagerService.scanDirLI(PackageManagerService.java:3766)
      5. com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1539)
      6. com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1108)
      7. com.android.server.ServerThread.initAndLoop(SystemServer.java:281)
      8. com.android.server.SystemServer.main(SystemServer.java:1289)
      8 frames
    3. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    4. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:814)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:630)
      2 frames
    5. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame