clearjsdcache清理jsd数据()
命令名称: `jsd.ClearJsdCache` 清理jsd服务缓存
语法格式: `jsd.ClearJsdCache() `
命令参数: `参数:无 `
返回值: 无。
脚本例子: 复制代码
```Import "jsd.luae"
Import "shanhai.lua"
ShanHai.execute "chmod -R 777 " & GetTempDir()
If Dir.Exist(GetTempDir() & "jsd.apk") = 0 Then
TracePrint "释放附件"
PutAttachment GetTempDir(),"jsd.apk"
End If
//只需执行一次
If jsd.StartServer() Then
TracePrint "恭喜你!!可以使用插件"
Else
TracePrint "很遗憾!!!你无法使用插件"
End If
jsd.ClearJsdCache
```
备注: 。