Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Container keep crashing after run aSwitch #2

Open
SummerOak opened this issue Dec 27, 2018 · 0 comments
Open

Container keep crashing after run aSwitch #2

SummerOak opened this issue Dec 27, 2018 · 0 comments

Comments

@SummerOak
Copy link

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) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant