The problem of compiling errors in weex custom module JSCallback

  @JSMethod(uiThread = false)
  public void getIMEI(JSCallback  callback)
  {
    Map<String,String> data=new HashMap<>();
     data.put("x","x");
    callback.invoke(data);
  }

clipboard.png

I reported an error when compiling. Do you need to apply a java package? There is no description on the official website

.
Mar.12,2021

found the reason, ha, it is
import com.taobao.weex.bridge.JSCallback;

caused by not importing the jscallback package.
Menu