mobile_app_open
mobile_app_open copied to clipboard
Crash on older devices with API level <= 29
While testing the app on the following devices:
- Galaxy S20, API Level 29
- Pixel 3, API Level 28
It crashed with this error:
02-20 20:32:22.310: I/flutter(16177): Exception: Invalid argument(s): Failed to load dynamic library 'libbackendbridge.so': dlopen failed: cannot locate symbol "pthread_cond_clockwait" referenced by "/data/app/org.mlcommons.android.mlperfbench-jNF9_cYBtBsy20J-3YxASw==/lib/arm64/libbackendbridge.so"...
A quick Google search showing this:
That API (pthread_cond_clockwait ) is only available on API 30+ devices
https://stackoverflow.com/a/67796165
We either need to fix this error or increase the min supported API level to 30+.
Android API Level 30 means Android 11, https://developer.android.com/tools/releases/platforms#11, I think that's fine.
@mohitmundhragithub and @AhmedTElthakeb or @Mostelk, what do you think?