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.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b390b3-2c156.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b390b3-2c156.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?