API Level 33

936 views
Skip to first unread message

Nii Darko Darkoh

unread,
Sep 2, 2023, 4:38:26 PM9/2/23
to DroidScript
Hi DS,
When publishing my app to PS, I recieved the following warning:
"Your highest non-compliant target API level is Android 12 (API level 31).

To ensure that you can continue to make updates to your app you must:

  1. Update your app to target Android 13 (API level 33) or higher.
  2. Publish a new version of your app to production. Before you do this, you can test your app using internal, closed, or open testing." 
What's the solution please?
Regards,
Nii

Dave

unread,
Sep 2, 2023, 6:45:24 PM9/2/23
to DroidScript

Alan Hendry

unread,
Sep 3, 2023, 5:51:44 AM9/3/23
to DroidScript
HI,
If you can't read the Premium Groups it says

you can ask for an extension.   Just choose the option that says something like "I have to make lots of changes..."
That should give you another couple of months to sort it out.   
We will be releasing a new version of DS soon that can build for the latest target API level

Regards, ah

Nii Darko Darkoh

unread,
Sep 3, 2023, 7:46:01 PM9/3/23
to DroidScript
Hi Dave,
when I clicked on the link I was told I have no access meanwhile I am on Premium too.
What do you advice please?
-Nii

Eduardo Paredes

unread,
Sep 5, 2023, 10:33:59 AM9/5/23
to DroidScript
Today I uploaded a new version of my APP to the Play Store, and it does not allow me to publish it, as it is not oriented to targetSdkVersion 33.

I need a solution.

Dave, when can we compile with targetSdkVersion 33?

I look forward to your news.
Thank you
Eduardo Paredes

Eduardo Paredes

unread,
Sep 7, 2023, 3:58:43 AM9/7/23
to DroidScript
Hi Dave,
When can we compile with targetSdkVersion 33?


I look forward to your news.
Thank you
Eduardo Paredes

Nii Darko Darkoh

unread,
Sep 11, 2023, 11:07:46 AM9/11/23
to DroidScript
Hi Team,
What is the status with this issue please?
-Reid

Dave

unread,
Sep 11, 2023, 5:54:15 PM9/11/23
to DroidScript
Hi this question needs to be asked in the Premium forum as APKBuilder is a premium feature.

Nii Darko Darkoh

unread,
Sep 12, 2023, 8:45:58 AM9/12/23
to DroidScript

Please share the Premium link with me.
Thanks.
--Nii

Alan Hendry

unread,
Sep 12, 2023, 3:12:53 PM9/12/23
to DroidScript
HI,
It's in Google Groups
If you are Premium and haven't got access then you can ask for it here
Regards, ah

Eduardo Paredes

unread,
Sep 13, 2023, 3:43:41 AM9/13/23
to DroidScript
Hi Dave,

I urgently need to be able to publish my application for Android 13, in the Play Store.

Is there already a solution for this need?

When will it be available?

Please tell us something.


Kind regards.
Eduardo Paredes

Jumar

unread,
Sep 13, 2023, 7:41:08 AM9/13/23
to DroidScript
Hi

I don't know if this still works today, but before whenever I have the same issue as this, I will just create a build.json file and paste the code below.

{
    "manifest":
    {
        "minSdkVersion": 28,
        "targetSdkVersion": 33
    }
}

Just modify those values as needed.

Regards
Jumar

Message has been deleted

Dimas

unread,
Sep 17, 2023, 8:45:08 PM9/17/23
to DroidScript

first all go to playstore and download the apk to aab coverter
in your droid script app create a build.json file like a frend mentioned above
don't compile in abb file, compile in apk file aab file not working
go to the apk to aab converter convert your apk file to aab
before you compile it you must select the user.keystore to to asign the the aab file 
it locate in aab droid script files

Eduardo Paredes

unread,
Sep 18, 2023, 5:12:36 AM9/18/23
to DroidScript
I've been working with the BUILD.JSON file for a while now, where I added "targetSdkVersion": 33, but it's not working. When I upload my APK to Google Play Developer, it only recognizes the APK as targetSdkVersion=31, ignoring the contents of the build.json.


As a result, the app cannot be published.

Eduardo Paredes

unread,
Sep 18, 2023, 5:13:12 AM9/18/23
to DroidScript
I've tried what you suggested, and it's not working for me.

El lunes, 18 de septiembre de 2023 a las 2:45:08 UTC+2, ddd29...@gmail.com escribió:

Alan Hendry

unread,
Sep 20, 2023, 6:37:09 AM9/20/23
to DroidScript
HI,
Pretty sure PlayStore requires new apps to be ABB 
(I suspect that if your app was uploaded as APK quite a while ago then you can upload new versions of the APK).
Not sure if build.json filename is case sensitive (mine are lower case, and at top level inside the project/app).
Worth checking the format of your build.json (just in case).
PlayStore sent me an email that my apps weren't Android 13 compatible, but the console let me delay the cut-off date.
Regards, ah

Dave

unread,
Sep 20, 2023, 12:43:59 PM9/20/23
to DroidScript
A new beta version of DS will be released tonight or tomorrow that supports targeting API 33 

Eduardo Paredes

unread,
Sep 21, 2023, 4:11:02 AM9/21/23
to DroidScript
Thanks Dave, I'm waiting for it.

Eduardo Paredes

unread,
Sep 26, 2023, 11:27:50 AM9/26/23
to DroidScript
Hi Dave.
Is the new beta version of Droidscript compatible with API 33 already available?

Thanks

Dave

unread,
Sep 26, 2023, 12:48:22 PM9/26/23
to DroidScript
Yep, I invited you to the beta group. 

Oskar Sjögren

unread,
Sep 28, 2023, 2:15:42 PM9/28/23
to DroidScript
I seems to have the same problem as the guys above. Can you please add me to the beta group too?

Eduardo Paredes

unread,
Oct 4, 2023, 7:47:24 AM10/4/23
to DroidScript
Hi Dave,

I have finally generated the APK of my APP again, for Android 13. And now when I run it, the message "Error Missign Permissions" always appears. When I accept the message the application closes.
My APP has location, camera and microphone permissions activated, and on Android 12, it works correctly.

Please, I need an urgent solution.

Thank you.
Eduardo

Dave

unread,
Oct 5, 2023, 4:40:42 PM10/5/23
to DroidScript
Did you use the DS beta from here and use the APKBuilder from here too?


Note: remove the .zip extension from the APKBuilder.ppk if your phone adds it.

Jumar

unread,
Oct 5, 2023, 8:44:05 PM10/5/23
to DroidScript
Also, did you add

_AddPermissions("Location,Camera,Microphone");

At the top of your code?

Dave

unread,
Oct 5, 2023, 8:54:23 PM10/5/23
to DroidScript
Android 13 requires the latest beta - 

Oarabile Koore

unread,
Oct 6, 2023, 9:23:56 AM10/6/23
to DroidScript

Hey, Dave on another note, I've been trying to contact the DS team about CloudStore on mail, I need help please. 

Eduardo Paredes

unread,
Oct 25, 2023, 11:59:04 AM10/25/23
to DroidScript
Hi Dave.
I have generated my APK with the latest beta version available 2.64b1. And my APP still has problems with missing permissions on Android 13.

Please, I need an URGENT solution to this problem, I have been waiting for more than a month.

You can help?
Please, tell me something.

Thank you.
E. Paredes

Dave

unread,
Oct 26, 2023, 6:08:56 AM10/26/23
to DroidScript
@EPeredes:  This should have been fixed in 2.64b1 of the APKBuilder..... are you sure you installed the latest APKBuilder properly?

Eduardo Paredes

unread,
Oct 26, 2023, 11:25:42 AM10/26/23
to DroidScript
Yes, Drodidscript IDE and APKBuilder, we are in version 2.64b1.

And Build.json file have the next content
{
  "manifest": {
    "targetSdkVersion": 33,
    "requestLegacyExternalStorage": "true",
    "preserveLegacyExternalStorage": "true"
  }
}

I go to try, whitout Build.json file.

Oarabile Koore

unread,
Oct 26, 2023, 1:01:09 PM10/26/23
to DroidScript
Im expiriencing the same problem i figured a way out by setting autoPermissions to false and asking for them independently.
Also, notifications dont work, i think its because of the new notification permissions on android 13

Jumar

unread,
Oct 26, 2023, 9:51:07 PM10/26/23
to DroidScript
The file is build.json, not Build.json. Try this one.

Oarabile Koore

unread,
Oct 27, 2023, 1:54:13 PM10/27/23
to DroidScript
It still doesnt work, try running the material ui (premium demo) it will give a missing permissions alert:
download MUI icons spk from the droidstore, you will get the same error, Its not just isolated to materiall you, even some of droidscripts samples give out that message, try using notifications sample they dont work, not because i didnt give droidscript notification permissions it didnt ask for them. I did this to get rid of the message temporarily: {
    "manifest":
    {
        "minSdkVersion": 26,
        "targetSdkVersion": 33,
        "debuggable": false,
        "homeScreen": false,
        "urlHost": "*",
        "urlScheme": "http,https"
    },
    "autoPermissions": false
}

Dave

unread,
Oct 28, 2023, 12:35:22 PM10/28/23
to DroidScript

Oarabile Koore

unread,
Oct 29, 2023, 3:27:02 PM10/29/23
to DroidScript
Thanks, it works . 
Message has been deleted

Jesse James

unread,
Nov 4, 2023, 1:51:13 AM11/4/23
to DroidScript
It works target api 33 is met but reads me this error now

Error
You can't rollout this release because it doesn't allow any existing users to upgrade to the newly added app bundles.

Read online have to change Version Code in gradle build but im not sure how in Droidscript..my app build now is 2.1 instead of 1.09


FrickelPit

unread,
Nov 4, 2023, 4:44:21 AM11/4/23
to DroidScript
Refer to my post https://groups.google.com/g/droidscriptpremium/c/Xc6p_R47q1w
and give it version number 2.01.
Regards Peter 

Jesse James

unread,
Nov 4, 2023, 7:32:15 PM11/4/23
to DroidScript
Okay thank you, I cannot see your post yet as emailed support about re-joining premium forum still waiting, would be nice if didnt have to do that, I do not keep subscription always or would be losing money not making money but if things pickup would gladly keep subscription

Jesse James

unread,
Nov 5, 2023, 5:46:19 PM11/5/23
to DroidScript
Okay so I think I followed your advice and instead of putting 2.1 I put 21 seen as that was the only problem Play Console warned me of, and than now it just simply says cant upload bundle even though that was litteraly the only error now doesnt tell me whats wrong. I have project put years into and am thinking of just switching it over to Unity or something and re-coding it, Droidscript is awesome when it works but I cant be bothered doing this anymore and not making money and having to waste extra time its just so frusterating

On Saturday, November 4, 2023 at 3:44:21 AM UTC-5 peter.s...@gmail.com wrote:

Dave

unread,
Nov 6, 2023, 4:07:42 AM11/6/23
to DroidScript
You should make your app version 2.10 not 21

Also... be aware that Google Play sometimes says 'Can't upload' even when the app has successfully uploaded.  I've seen this when the network is running slow.  If you refresh your browser you might see that you have already uploaded the 2.10 version (or 21.00 version if you used 21).  

Note: You cannot upload the same version twice, so you will need to increment your version number by 0.01 the next time you update.

FrickelPit

unread,
Nov 6, 2023, 6:01:28 AM11/6/23
to DroidScript

@Dave Version 2.10 will result in a version-code of 21 in Android Manifest, which is lower than version-code 109 (result of Jesse's previous version 1.09). So it will be rejected by Google. My earlier testing showed me, that trailing zeroes are ignored by DS when building the version-code for Android Manifest in AAB. If i'm wrong, i beg your pardon, but until now you answered none of my posts regarding this issue.
Regards Peter

Jesse James

unread,
Nov 6, 2023, 6:18:05 PM11/6/23
to DroidScript
Okay thank you, it worked now after clearing all data and making sure everything was closed, and only loading Google Play page to upload, and changing version to 21.01

Dave

unread,
Nov 7, 2023, 1:25:49 PM11/7/23
to DroidScript
The manifest contains two entries - a text version and an integer version code.  If you use a version number of 2.10 (or 2.1) in DS, it should result in a manifest versions of "2.1" and 210 respectively.... are you saying that APKs and AAB generation behaves differently?   Does the language make a difference (ie. comma instead of period in decimals?


Note: DS takes the text version number and multiplies it by 100 to get the integer version.

Dave

unread,
Nov 7, 2023, 1:34:49 PM11/7/23
to DroidScript
OK, looking at the AAB building code, it looks like the x100 is not happening for AAB's..... that would explain why AAB's have mis-matched version pairs in AAB's but not APKs when using decimal version nums.  I'll fix that right now,

Dave

unread,
Nov 7, 2023, 2:09:45 PM11/7/23
to DroidScript
@succedinglights:  Sorry for all your trouble.    Next time you release that app you can release it as 21.02 

I discovered that the AAB builder was just stripping out the commas and decimals points to generate a version number from a version string (not multiplying by 100).  The version string was converted to a decimal and back to a string which means 2.10 --> 2.1 --> 21, however 2.11 --> 2.11 --> 211 which works. 

So in the current release, you need to avoid trailing zeros as Peter says.  

Some confusion was caused by it working ok in APKs.

FrickelPit

unread,
Nov 7, 2023, 2:41:42 PM11/7/23
to DroidScript
Wow, I'm really glad that this issue will be fixed now. But please keep my post https://groups.google.com/g/droidscriptbeta/c/IMLZoHEr9Cs
from 11. and 12. october in mind, where i sent 2 screenshots showing a version name with decimal point generated with Android language setting 'English' and version name with decimal comma generated with Android language setting 'Deutsch'
I think, DS will look much more professional, if you let the user input different fields for version name and version code when generating APKs and AABs. Another advantage would be the opportunity to specify version names like 1.3.1 with major, minor version and build number. 
Regards Peter 
Reply all
Reply to author
Forward
0 new messages