我正在尝试使用表盘磨损构建一个应用程序.我的应用程序运行良好,但是当我创建表面磨损并设置NoActivity并运行磨损应用程序时,它在Run-Logcat中显示“客户端尚未准备好..”消息,如下所示:
$adb push F:\Advanced_AndroID_Development\watchface\build\outputs\apk\watchface-deBUG.apk /data/local/tmp/com.example.androID.sunshine.app$adb shell pm install -r "/data/local/tmp/com.example.androID.sunshine.app"Success"ClIEnt not ready yet.."
而且当我打开Error-Logcat时,它也会显示-
11-22 22:28:03.629 2782-4263/com.androID.vending E/Finsky: [157] com.Google.androID.vending.verifIEr.c.b.a(45): Unexpected exception on background thread androID.content.ActivityNotFoundException: Unable to find explicit activity class {com.androID.vending/com.Google.androID.vending.verifIEr.c}; have you declared this activity in your AndroIDManifest.xml? at androID.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1805) at androID.app.Instrumentation.execStartActivity(Instrumentation.java:1523) at androID.app.ContextImpl.startActivity(ContextImpl.java:791) at androID.app.ContextImpl.startActivity(ContextImpl.java:768) at androID.content.Contextwrapper.startActivity(Contextwrapper.java:356) at com.Google.androID.vending.verifIEr.c.a(Sourcefile:40) at com.Google.androID.vending.verifIEr.x.a(Sourcefile:2287) at com.Google.androID.vending.verifIEr.c.b.a(Sourcefile:43) at com.Google.androID.vending.verifIEr.c.b.doInBackground(Sourcefile:38) at androID.os.AsyncTask.call(AsyncTask.java:305) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:761)
解决方法:
即使安装成功,我仍然看到客户端未准备就绪的消息.长按表盘或从右向左滑动,然后单击项目符号点列表(以打开可用表盘的列表)并检查是否已安装.
我会寻找狗看的脸,因为它非常突出.
以上是内存溢出为你收集整理的客户端尚未准备好..在Android Wear Watchface应用中全部内容,希望文章能够帮你解决客户端尚未准备好..在Android Wear Watchface应用中所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)