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

Error while Installing APK .apk does not exist on disk #12

Open
pkozlovskiy opened this issue May 31, 2016 · 3 comments
Open

Error while Installing APK .apk does not exist on disk #12

pkozlovskiy opened this issue May 31, 2016 · 3 comments

Comments

@pkozlovskiy
Copy link

pkozlovskiy commented May 31, 2016

With
versionPlugin {
buildTypesMatcher = 'release'
supportBuildNumber = false

fileNameFormat = '$projectName-$flavorName($versionName)-$date'
dateFormat = 'yyyyMMdd'
timeFormat = 'HHmm'

}
I have
"Launching app
The APK file C:[project]\app\build\outputs\apkprojectName-20160530.apk does not exist on disk.
Error while Installing APK"
And my local time is 20160531.
Maybe
df.setTimeZone(TimeZone.getTimeZone("UTC"))
is needed somewhere.
Like this gradle/gradle@c9c0f54

@hamsterksu
Copy link
Owner

hi @pkozlovskiy

does it work without $date ?

@pkozlovskiy
Copy link
Author

Да работает, тут видимо проблема на стыке android studio и gradle, я выбираю "Run" в AS. Запускается билд, а потом выскакивает эта ошибка. Если добавить $time то ошибка будет постоянно, имя билда которое хочет запустить AS и то которое реально сохранилось всегда различается на миллисекунды.

@hamsterksu
Copy link
Owner

привет @pkozlovskiy
я думаю time имеет смысл юзать только для релизных билдов.
для девелопмента не юзабельно.

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