-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
control == null #13
Comments
看看你是怎么使用的? |
按照步骤application初始化, |
不会是服务没起来吧,你看看有没有:musiclibrary进程,因为是在 ServiceConnection 里面赋值的 |
我看看 |
你断点一下第143行,看看ServiceConnection里面有没有赋值 |
这么神奇吗,你再断下137行,看看有没有bindService |
刚刚我在demo中试了一下,是没问题的。你这里很奇怪,它绑定了服务还不走 onServiceConnected 回调这么神奇 |
不需要自己注册,我里面都注册好了。 |
本地引用库,一样没回调,额(⊙﹏⊙) |
你的NiceMusic应该是用AndroidStudio3.0+开发的,我花了点功夫刚移植到AndroidStudio2.3,现在测试体体 |
现在都用3.0了吧,我用3.0.1的 |
用惯2.3.3,我个人不太喜欢3.0的调试器,还有一些项目都是2.3.3开发的,出问题麻烦,所以没用,不过我装了最新的as预览版 |
你的项目的确可以回调的,奇怪 |
不知道你是不是设置了什么其他东西影响到了…… |
吖,用不了 |
我刚刚开了一个新demo,也不可以,没有回调,你也试试创建一个新的demo,引用,然后application断init里面的回调 |
我创建一个试试 |
qq1023509177 |
implementation 'com.android.support:appcompat-v7:26.1.0' |
27+, 需要额外引用 |
control == null
无法正常使用
The text was updated successfully, but these errors were encountered: