Target API level 31

buenas noches saben si app inventor actualizara la configuración para que las apps nuevas salgan con la forma del api31? saludos

Manifest (example):

2 Likes

good evening, do you know if app inventor will update the configuration so that new apps come out with the api31 form? Cheers

The AI2 team is working on the targetSdk 31 update and I think it will be available soon.

You currently only have two options:

  1. Waiting for the targetSdk 31 update or
  2. follow my instructions.

Hi, @Anke thanks for your support.
The Manuel way is quite time-consuming (for me :sweat_smile:) and is pointing out how strong a product app inventor really is! HOPE the team has plenty of strong coffee and that the next update is available soon :slight_smile:

Hi, I have over 90 educational apps published and this morning (August 10th) I encountered the same problem. Google play now requires API Level 31. We've been through this before, especially when they stopped accepting APK and started requiring AAB. There are options to try to generate the AAB File on the KODULAR Platform. Just import your AIA file on that platform, but I believe they are also using API Level 30 there. I suggest waiting for the update of the great platform, APP INVENTOR.

I hope I was helpfull.

Please how can sign aab file with my keystore????

Thank you

If your project is urgent, maybe you can get a temporary solution through http://ai2-test.appinventor.mit.edu, but it should be noted that there is no guarantee that the built app can run stably on android 12 currently.

Robert, a developer can do this however he/she still needs to wait for the arrival of nb190 later this month. Your suggestion can be used to test the creation of the aab however it is NOT SUITABLE for submission to Google Play yet. :cry:

Just to clarify a few things since there appears to be a bit of confusion in this thread.

  1. AAB build support is available in production App Inventor, and has been for a while now.
  2. Only new apps need to target SDK 31 at this time. Existing apps that are updated have until Nov 1, 2022 so this does not affect any previously published apps.
  3. As mentioned, we do have a test version at ai2-test that targets SDK 31 as part of our summer upgrade. It's important to manage your keystores properly if you plan to use that server in the interim because it is a completely separate system from ai2. While we believe this system is mostly stable it is a beta version and may not meet your needs.
3 Likes

Hello
I do all the steps that @Anke tell me and
I update in the manifest to target 31 and i convert to aab file then I sign it with the mit app inventor keystore
When I publish to google play this message show to me
You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast receiver with intent filter, but without the 'android:exported' property set. This file can't be installed on Android 12 or higher

I think this is a second problem
I hope you solve the problem because ai2 is very important for me

See my post → #13

grafik

1 Like

Import your project (aia) to http://ai2-test.appinventor.mit.edu/ and build the APK and check the Manifest (compare it with your edited Manifest).

You can also try to create the AAB (on the test server) and upload it to Google Play (developer console) as an internal test track and wait for the Pre-launch report.

2 Likes

Note:
If your app is a new app (and only in this case you must target SDK 31), you do not need to import the keystore from AI2. You can use the new keystore that the test server generates for you.

1 Like

Ok thank you yes it's a new application

@Anke Soy nuevo en esto es mi primera app que creo. Pero la verdad no entiendo nada de lo que escribiste. Podrias ser tan amable de aplicarme como edito o abro el manifiesto. Para poder seguir sus instrucciones. Cuando saldria la actualización de la que hablan.

How can do it? Plz send sreenshot

I m facing same problem, google play gave error due to api level 31. I cant upload my .aab file. What is the solutions? Thanks,