对于这个问题:
Attempt to read from field 'android.os.VibrationEffect com.android.server.VibratorService$Vibration.mEffect' on a null object reference
com.fw315relate.client.core.RawPlayer.play(RawPlayer.java:142)
之前一直以为没有初始化,导致出现为空的状态。
最后才发现这个功能需要申请权限的,具体的可以看这篇文章