Hi,
I’m trying to make an Android version of my game and having trouble figuring the build.settings file for Android. Here it is for the iOS version:
[code]
settings =
{
orientation =
{
default = “landscapeRight”,
supported =
{
“landscapeRight”, “landscapeLeft”
},
},
iphone =
{
plist =
{
MinimumOSVersion=“4.0.0”,
UIStatusBarHidden = true,
UIPrerenderedIcon = true,
UIApplicationExitsOnSuspend = false,
CFBundleIconFile = “Icon.png”,
CFBundleIconFiles = {
“Icon.png”,
“Icon@2x.png”,
“Icon-72.png”,
“Icon-Small.png”,
“Icon-Small@2x.png”,
“Icon-Small-50.png”,
},
},
},
androidPermissions =
{
“android.permission.INTERNET”
},
}[/code]
Not sure what needs to change. I have the new Android icons set up in folders - hdpi/, mdpi/, and ldpi/ and I removed the iOS icons. So I’m guessing the CFBundle stuff can go away but not sure if the Android icons get called in here. [import]uid: 14032 topic_id: 10824 reply_id: 310824[/import]
Stuck this in. Just guessing.
[code]
android =
{
icon = {
“Icon.png”,
“Icon-hdpi.png”,
“Icon-mdpi.png”,
“Icon-ldpi.png”,
“hdpi/ic_dialog_zombeans.png”,
“hdpi/ic_launcher_zombean.png”,
“hdpi/ic_list_zombean.png”,
“hdpi/ic_menu_zombean.png”,
“hdpi/ic_stat_zombean.png”,
“hdpi/ic_tab_zombean.png”,
“mdpi/ic_dialog_zombeans.png”,
“mdpi/ic_launcher_zombean.png”,
“mdpi/ic_list_zombean.png”,
“mdpi/ic_menu_zombean.png”,
“mdpi/ic_stat_zombean.png”,
“mdpi/ic_tab_zombean.png”,
“ldpi/ic_dialog_zombeans.png”,
“ldpi/ic_launcher_zombean.png”,
“ldpi/ic_list_zombean.png”,
“ldpi/ic_menu_zombean.png”,
“ldpi/ic_stat_zombean.png”,
“ldpi/ic_tab_zombean.png”,
},
},
[/code] [import]uid: 14032 topic_id: 10824 reply_id: 39554[/import]
As far as I know you’ll just need to put following 3 files to the root of your project, subfolders won’t work.
Icon-hdpi.png
Icon-mdpi.png
Icon-ldpi.png
Also, no need to set android.permission.INTERNET, Corona puts it there by default. If you set it you’ll end up with two entries in android manifest.
I hope this helps… [import]uid: 10478 topic_id: 10824 reply_id: 39559[/import]
Thanks! Do you need to call out the Android icons in the build.settings file like you do for iOS? [import]uid: 14032 topic_id: 10824 reply_id: 39611[/import]