You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After migrating my Flutter project to the new plugin management method in settings.gradle, here , the audio_session plugin doesn’t respect the global minSdkVersion 23. Despite correctly setting the minSdkVersion in the app/build.gradle, the plugin triggers API-level mismatch errors (e.g., using getId() which requires API 23). This issue forces me to manually enforce the minSdkVersion in settings.gradle.
Steps to Reproduce:
Migrate to the new Flutter plugin management method.
Set minSdkVersion 23 in app/build.gradle.
Include the audio_session plugin.
Run the build and observe the API level mismatch error.
eror we got :
audio_session-0.1.21\android\src\main\java\com\ryanheise\audio_session\AndroidAudioManager.java:272: Error: Call requires API level 23 (current min is 16): android.media.AudioDeviceInfo#getId [NewApi] "id", device.getId(),
After migrating my Flutter project to the new plugin management method in settings.gradle, here , the audio_session plugin doesn’t respect the global minSdkVersion 23. Despite correctly setting the minSdkVersion in the app/build.gradle, the plugin triggers API-level mismatch errors (e.g., using getId() which requires API 23). This issue forces me to manually enforce the minSdkVersion in settings.gradle.
Steps to Reproduce:
eror we got :
audio_session-0.1.21\android\src\main\java\com\ryanheise\audio_session\AndroidAudioManager.java:272: Error: Call requires API level 23 (current min is 16): android.media.AudioDeviceInfo#getId [NewApi] "id", device.getId(),
@ryanheise
The text was updated successfully, but these errors were encountered: