Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install apk报文件报文件找不到 #10

Closed
leizhiyuan opened this issue Mar 25, 2016 · 2 comments
Closed

install apk报文件报文件找不到 #10

leizhiyuan opened this issue Mar 25, 2016 · 2 comments

Comments

@leizhiyuan
Copy link
Collaborator

本地编译部署会报找不到apk,应该是时区的问题,
utc_settings
截图如上,系统时间0325,打包安装会找0324的,相同问题在这里.
emptythrowable-the-apk-file-apk-does-not-exist-on-disk

修改app.gradle解决. 获取中国时区.

//格式化打完完成后APK名称中的时间
def releaseTime() {
    return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC+8"))
}
@maoruibin
Copy link
Owner

我最近也看到了这个问题,但是我没有细究,不错,我试试!

@maoruibin
Copy link
Owner

我已经把代码更新了~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants