android - gradle autoincrement build and custom outputFile (path+name) only for release -
my goal to:
- have build (
0.0.<this>
) number auto increment on each release build, - have current version in filename, ex
com.meedamian.testapp-wear-1.0.0-1111.apk
, - have actual apk version in sync filename,
- be able build and deploy release builds default
ctrl+r
what's wrong my current attempt:
- version bumped on each build (both debug , release), sync,
- apk version 1 ahead of version in filename,
- after successful release builds, android studio gets lost , complains either
local path doesn't exist.
or caches version each sync , shows:i/o error: <path-to-apk-file> (no such file or directory)
same version no matter how many builds occur in between syncs.
i did check many other topics here, did not find covered problem.
Comments
Post a Comment