添加log.
This commit is contained in:
@@ -161,7 +161,7 @@ public class CommonAppContext extends MultiDexApplication implements Applicatio
|
|||||||
//设置mqtt环境 false 测试环境 true 正式环境
|
//设置mqtt环境 false 测试环境 true 正式环境
|
||||||
// ExternalResConstants.INSTANCE.setIS_MQTT_RELEASE(false);
|
// ExternalResConstants.INSTANCE.setIS_MQTT_RELEASE(false);
|
||||||
//设置http环境 false 测试环境 true 正式环境
|
//设置http环境 false 测试环境 true 正式环境
|
||||||
ExternalResConstants.INSTANCE.setIS_HTTP_RELEASE(false);
|
ExternalResConstants.INSTANCE.setIS_HTTP_RELEASE(true);
|
||||||
currentEnvironment = ExternalResConstants.INSTANCE.HTTP_PATH();
|
currentEnvironment = ExternalResConstants.INSTANCE.HTTP_PATH();
|
||||||
|
|
||||||
initialization();
|
initialization();
|
||||||
|
|||||||
@@ -422,6 +422,7 @@ public class AvatarFrameView extends FrameLayout {
|
|||||||
mainHandler.post(() -> {
|
mainHandler.post(() -> {
|
||||||
// 检查是否已销毁
|
// 检查是否已销毁
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
|
LogUtils.e("有缓存:"+file.exists()+"===="+file.getAbsolutePath());
|
||||||
playMp4File(file);
|
playMp4File(file);
|
||||||
} else {
|
} else {
|
||||||
LogUtils.w(TAG, "有缓存2222222222222");
|
LogUtils.w(TAG, "有缓存2222222222222");
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ android {
|
|||||||
def versionName = variant.versionName
|
def versionName = variant.versionName
|
||||||
def versionCode = variant.versionCode
|
def versionCode = variant.versionCode
|
||||||
// 获取当前时间戳(格式:yyyyMMddHHmmss)
|
// 获取当前时间戳(格式:yyyyMMddHHmmss)
|
||||||
def buildTimes = new Date().format("yyyy-MM-dd-HH")
|
def buildTimes = new Date().format("yyyy-MM-dd-HH-mm")
|
||||||
def fileName = "羽声_${versionName}_${versionCode}_${buildTimes}.apk"
|
def fileName = "羽声_${versionName}_${versionCode}_${buildTimes}.apk"
|
||||||
output.outputFileName = fileName
|
output.outputFileName = fileName
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user