API version error

Hello, I want your help. I want to fix "This app was built for an older version of Android and may not working properly" error. How can I fix it?

What is your Screen1.DefaultFileScope value?
What is your Screen1.Theme value?

I saw this myself recently but I don't remember what triggered it.

Hello cku

When did you build the APK that triggers the error message on your Android device? Do you use any 'Legacy' version functions?

I haven't any idea about DefaultFileScope value. I'm new to this platform.

1 Like

I built my APK yesterday. And I didn't use any Legacy version.

1 Like

This is a feature of Android--it's not done by App Inventor. When you run an app on a newer Android version than the app was built for (e.g., you're on Android 11 but the app target SDK is Android 10), then Android presents this warning. At the moment, ai2.appinventor.mit.edu is the only production server targeting the latest Android version. code.appinventor.mit.edu will be updated once we iron out some of the kinks related to the latest release. But that also means that code.appinventor.mit.edu targets an earlier version of Android, and so any apps built there may trigger this warning on the latest Android version.

1 Like

Got it. Thanks a lot :heart:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.