android L 添加 AIDL出现的奇怪错误!
时间:10-02
整理:3721RD
点击:
最近添加PPPoe的框架,出现这种错误,看看大神们指点
- I/SystEMServer( 825): PppoeService
- I/SystemServiceManager( 825): Starting com.android.server.pppoe.PppoeService
- E/System ( 825): ******************************************
- E/System ( 825): ************ Failure starting system services
- E/System ( 825): java.lang.RuntimeException: Failed to create service com.android.server.pppoe.PppoeService: service class not found, usually indicates that the caller should have called PackageManager.hasSystemFeature() to check whether the feature is available on this device before trying to start the services that implement it
- E/System ( 825): at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:59)
- E/System ( 825): at com.android.server.SystemServer.startOtherServices(SystemServer.java:699)
- E/System ( 825): at com.android.server.SystemServer.run(SystemServer.java:266)
- E/System ( 825): at com.android.server.SystemServer.main(SystemServer.java:180)
- E/System ( 825): at java.lang.reflect.Method.invoke(Native Method)
- E/System ( 825): at java.lang.reflect.Method.invoke(Method.java:372)
- E/System ( 825): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
- E/System ( 825): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
- E/System ( 825): Caused by: java.lang.ClassNotFoundException: com.android.server.pppoe.PppoeService
- E/System ( 825): at java.lang.Class.classForName(Native Method)
- E/System ( 825): at java.lang.Class.forName(Class.java:309)
- E/System ( 825): at java.lang.Class.forName(Class.java:273)
- E/System ( 825): at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:56)
- E/System ( 825): ... 7 more
- E/System ( 825): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.server.pppoe.PppoeService" on path: DexPathList[[zip file "/system/php?mod=tag&id=6090" target="_blank" class="relatedlink">Framework/services.jar", zip file "/system/framework/ethernet-service.jar", zip file "/system/framework/wifi-service.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
- E/System ( 825): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
- E/System ( 825): at java.lang.ClassLoader.loADClass(ClassLoader.java:511)
- E/System ( 825): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
- E/System ( 825): ... 11 more
- E/System ( 825): Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.android.server.pppoe.PppoeService" on path: DexPathList[[directory "."],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
- E/System ( 825): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
- E/System ( 825): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
- E/System ( 825): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
- E/System ( 825): ... 12 more
- E/System ( 825): Suppressed: java.lang.ClassNotFoundException: com.android.server.pppoe.PppoeService
- E/System ( 825): at java.lang.Class.classForName(Native Method)
- E/System ( 825): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
- E/System ( 825): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
- E/System ( 825): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
- E/System ( 825): ... 13 more
- E/System ( 825): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available