public static String getToken(Element element, PsiFile psiFile) { try { String token = getHistoryConfig(element, psiFile, MooncakeConstant.HistoryToken); if (token.equals("")) { ... 得物技术通过搭建私有仓库方式,最终实现了插件更新方案,如图所示:![picture.image](https://p6-volc-community-sign.byteimg.com/tos-cn-i-tlddhu82om/5a33bc00940f426783c4e58494b42e46~tplv-tlddhu82om-image....
方法中将 assets 目录下的资源文件复制到外部存储中应用的私有目录 storage/xx/"$packageName"/assets/resource/。 java package com.ttsdk.quickstart.helper;import android.content.Context;import android.t... public class VeLiveEffectHelper { /** * 获取证书文件路径 */ public static String getLicensePath(String name) { return Env.getApplicationContext().getExternalFilesDir("assets").g...