所以,整个项目位于github(https://github.com/Zarkopafilis/ZCycle) 我从android穿戴伴侣应用程序选择表面时遇到此错误,连接到模拟器(工作区:http://prntscr.com/5j21j5,是我使用最新的android工作室)...我不知道该怎么做,谢谢你提前。
顺便说一下,这会导致模拟器弹出一条消息,说“Android Wear已停止响应(此处为确定按钮)'
12-20 21:04:27.447 548-548/? E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.google.android.wearable.app, PID: 548
java.lang.IllegalArgumentException: org.xmlpull.v1.XmlPullParserException: No android.service.wallpaper meta-data
at android.os.Parcel.readException(Parcel.java:1544)
at android.os.Parcel.readException(Parcel.java:1493)
at android.app.IWallpaperManager$Stub$Proxy.setWallpaperComponent(IWallpaperManager.java:249)
at com.google.android.clockwork.home.stream.HomeView.setWallpaperComponent(HomeView.java:1546)
at com.google.android.clockwork.home.stream.HomeView.setWatchFaceWallpaper(HomeView.java:1540)
at com.google.android.clockwork.home.stream.HomeView.setWatchFace(HomeView.java:1426)
at com.google.android.clockwork.home.stream.HomeView.dismissPickerAndSetCurrentWatchFace(HomeView.java:508)
at com.google.android.clockwork.home.stream.HomeView$4.run(HomeView.java:487)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5221)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)