eclipse - Android Build - Select app name and icon at compile time -
i have developed stock control app in android used many people. each of them have same app in core different icon , different name.
so have decided have 1 project in eclipse (stock control) , when x person needs app build apk based on eclipse project @ same time deciding specific icon , specific app name.
so thing change between compiled apks app name (strings.xml?) , icon (drawable-?dpi/ic_launcher).
i need command line console or like:
makeapk projectname
scenario:
we have
the android (eclipse) project: stock
folders stocknorth , stocksouth, each 2 folders inside: values , drawable
so when run magic command
makeapk stocknorth
compiles stock project except values , drawable folders, because picks them stocknorth folder.then apk custom icon , strings .
is possible?
edit: should follow this? eclipse building android app: how can create 2 versions/editions @ compile-time?
edit 2: idea have 1 project , not create 1 each time need new apk. 1 project , compile parameters change icon , strings of current building apk.
yeah, link, set library project has core features, create new project each version of app overrides files need changed.
i don't know ant or setting build process that.
however, should migrate android studio, newer ide android development. provides "build flavors" let build different versions of app 1 project (and can still go library project route if choose).
Comments
Post a Comment