Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes on startup on Android 11 devices #158

Open
maxiannunziata opened this issue Apr 3, 2023 · 0 comments
Open

App crashes on startup on Android 11 devices #158

maxiannunziata opened this issue Apr 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@maxiannunziata
Copy link

The function ASurfaceControl_release is not available in the API 28 of Android that you are compiling against. It was introduced in Android version 29, and it appears that you are compiling against an earlier version of Android that does not support this function.

/home/anz/Android/Project/wpe-android-main/wpe/src/main/cpp/Browser/RendererASurfaceTransaction.cpp:42:9: error: 'ASurfaceControl_release' is unavailable: introduced in Android 

[clang-diagnostic-error]

The need to add compatibility to API 28 for old devices arises because not all devices can upgrade to the latest version of Android. Many older devices may not have the hardware capabilities to support newer versions of Android, or they may not receive updates from their manufacturers. This means that a significant portion of the Android user base may be using devices with older versions of Android.

If your app requires a minimum API level of 29 (the version that introduced ASurfaceControl_release), then it will not be compatible with devices running older versions of Android. By adding compatibility to API 28, you can ensure that your app can be used by a larger audience, including users with older devices.

Additionally, supporting older versions of Android can also help improve the performance and stability of your app. Many older devices may have limited memory or processing power, and supporting older versions of Android can help ensure that your app runs smoothly on these devices.

Overall, adding compatibility to API 28 for old devices can help ensure that your app can reach a larger audience and provide a better user experience for all users, regardless of the version of Android they are running.

@aperezdc aperezdc added the bug Something isn't working label Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants