更新时间:2023-09-30 13:17:40
最常见的无提示绑定失败源可能是清单中没有列出服务.这不会引发异常,因此您的应用程序不会崩溃,但是LogCat中应该有一条消息(警告,IIRC)指出您的问题.
Probably the most common source of binding silently failing is not having the service listed in the manifest. This does not raise an exception, so your app does not crash, but there should be a message (warning, IIRC) in LogCat pointing out your issue.