-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi, I have flashed the host image into my Pixel successfully and it run perfectly before I push the container images into my device; But the container can not run correctly after I flash the container's images into Pixel and start the aSwitch app. The container is keep crashing and restarting, here is some log maybe useful to find out the problem:
1970-01-02 08:04:38.379 20201-20201/system_process E/AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.RuntimeException: Failed to create service com.android.server.wifi.WifiService: service constructor threw an exception
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:104)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:67)
at com.android.server.SystemServer.startOtherServices(SystemServer.java:849)
at com.android.server.SystemServer.run(SystemServer.java:340)
at com.android.server.SystemServer.main(SystemServer.java:222)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:93)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:67)
at com.android.server.SystemServer.startOtherServices(SystemServer.java:849)
at com.android.server.SystemServer.run(SystemServer.java:340)
at com.android.server.SystemServer.main(SystemServer.java:222)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.internal.app.IBatteryStats
at com.android.server.wifi.SupplicantStateTracker.(SupplicantStateTracker.java:95)
at com.android.server.wifi.FrameworkFacade.makeSupplicantStateTracker(FrameworkFacade.java:92)
at com.android.server.wifi.WifiStateMachine.(WifiStateMachine.java:1048)
at com.android.server.wifi.WifiServiceImpl.(WifiServiceImpl.java:335)
at com.android.server.wifi.WifiService.(WifiService.java:31)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:93)
at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:67)
at com.android.server.SystemServer.startOtherServices(SystemServer.java:849)
at com.android.server.SystemServer.run(SystemServer.java:340)
at com.android.server.SystemServer.main(SystemServer.java:222)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)