gouqi icon indicating copy to clipboard operation
gouqi copied to clipboard

运行以后 报错红色的

Open fang1994042128 opened this issue 7 years ago • 5 comments

MusicControlManager.enableControl got 3 arguments, expected 2

fang1994042128 avatar Jun 08 '17 08:06 fang1994042128

试一下 npm link 会不会报错?

        On 6月 8 2017, at 4:40 下午, xiaofangN <[email protected]> wrote:
        
        
          MusicControlManager.enableControl got 3 arguments, expected 2

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

yuche avatar Jun 08 '17 16:06 yuche

先运行了 npm link 在yarn run android运行起以后还是报一摸一样的错误 b3304da2-4652-455e-9d1c-03e4befd0c70

fang1994042128 avatar Jun 09 '17 01:06 fang1994042128

这个在有用到MusicControl的地方, 把 import MusicControl from 'react-native-music-control/index.ios.js' 换成 import MusicControl from 'react-native-music-control/index.android.js' 就解决了..

hang333 avatar Oct 08 '17 04:10 hang333

@hang333 我修改之后还是会报错 求指点

_20180326141715

aspartame-wang avatar Mar 26 '18 06:03 aspartame-wang

@WangZiLuo 当时我修改了无数地方,一个一个报错接着来,我就放弃了

hang333 avatar Mar 26 '18 10:03 hang333