我正在尝试构建一个带有表盘磨损的应用程序。我的应用程序运行良好,但是当我创建表盘磨损并设置 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$2.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)