Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

API level 28 Corona SDK
Started by วันชนะ สายบุญ Dec 05 2019 06:32 AM

1 reply to this topic
api level 28
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

วันชนะ สายบุญ

[GLOBAL: userInfoPane.html]
วันชนะ สายบุญ
  • Observer

  • 1 posts
  • Corona SDK

--
-- For more information on build.settings, see the Project Build Settings guide at:
--
 
settings =
{
orientation =
{
-- Supported values for orientation:
-- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
default = "portrait",
supported = { "portrait", },
},
 
--
-- Android section
--
android =
{
--=========API 28=====
        minSdkVersion = "29",
                supportsTV = true,
        isGame = true,
                supportsScreens =
        {
            smallScreens  = true,
            normalScreens = true,
            largeScreens  = true,
            xlargeScreens = false,
            requiresSmallestWidthDp = 320,
        },
        allowAppsReadOnlyAccessToFiles = false,
        largeHeap = true,
                strings =
        {
            permdesc = "Custom permission description",
            permlabel = "custom-permission-Label",
        },
                permissions =
        {
            {
                name = ".PERMISSION1",
                description = "@string/permdesc",
                icon = "@mipmap/icon",
                label = "@string/permlabel",
                permissionGroup = "android.permission-group.COST_MONEY",
                protectionLevel = "normal",
            },
        },
                manifestChildElements = 
        {
            -- Array of strings
            [[
            <uses-configuration android:reqFiveWayNav="true" />
            ]],
        },
                applicationChildElements =
        {
            -- Array of strings
            [[
            <activity android:name="com.example.MyActivity"
                android:configChanges="keyboard|keyboardHidden"/>
            ]],
        },
                apkFiles =
        {
            "google-play-services.json",
            "res/raw/mypage.html",
        },
                coronaActivityFlags =
        {
            resizeableActivity = true,
            persistableMode = "persistRootOnly",
        },
        --=========API 28=====
usesPermissions =
{
"android.permission.INTERNET",
"com.android.vending.CHECK_LICENSE"
},
},
 
--
-- Project section
--
excludeFiles =
{
-- Exclude unnecessary files for each platform
android = { "Icon.png", "Icon-??.png", "Icon-???.png", "LaunchScreen.storyboardc", },
},
 
window =
{
titleText =
{
default = "Licensing",
},
},
--=========API 28=====
    iphone =
    {
        plist =
        {
             UIRequiredDeviceCapabilities =
            {
                ["gyroscope"] = true,
            },
        },
        skipPNGCrush = true,
    },
    --=========API 28=====
}
 


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,539 posts
  • Enterprise

Hi! Is there a question here?

 

I'm going to guess you are trying to submit an app to Google Play and are getting an error about needing to support Android SDK 28 or later. 

 

You cannot set this in build.settings. You have to update your version of Corona. Please install the latest daily build.

You will want to remove: minSdkVersion = "29", from your build.settings. That key does something completely different. It prevents your app from running on Android versions 9 and earlier. 

 

Rob




[topic_controls]
[/topic_controls]