我想创建我的android项目的各种APK,为每个APK不同的SplashScreen /图标版本。创建与各种图标和splashscreens各种APK
e.g:
APK1 : SplashScreen = @drawable/splashscreen1
IconLauncher = android:icon="@drawable/icone_launcher1"
APK2 : SplashScreen = @drawable/splashscreen2
IconLauncher = android:icon="@drawable/icone_launcher2"
是否有一个 “实用” 的方式来做到这一点?我更喜欢不复制/粘贴我的代码的文件夹,这样我就可以保留我的代码免受冗余,并且当我想对一个APK进行改进时,我希望这些改进能够显示在其他代码上。
任何线索?也许某种脚本会在不同的文件夹中复制我的代码,并且只更改包含我的启动器活动(定义splashscreen)和启动器图标样式的AndroidManifest.xml?
在此先感谢!
如果您使用Maven,这很容易,请查看[this](http://stackoverflow.com/questions/9699485/skinning-android-app-with-maven-build-profiles)。 – yorkw 2012-03-20 08:27:43