Open blacknight9 opened 1 year ago
Hi, @blacknight9 !! Thank you for your feedback!! Could you please detail of the message? When did you get it? If it mentions about iOS, I wonder why target is 12.0 because this pod set it to 12.4.
in pub.dev it says : Capture the audio stream buffer through microphone for iOS/Android. Required OS version is iOS 12+ or Android 23+
Hi, I updated ios deployment version to 13+, could you please version 1.1.2 of this library? https://github.com/ysak-y/flutter_audio_capture/commit/17093fb90950bd4d22222900b5b83396ff06ab16
Gradle says: The plugin flutter_audio_capture requires a │ │ higher Android SDK version. │ │ Fix this issue by adding the following to the │ │ file │ │ C:\My_GitHub_Repository_3_for_tests\project \android\app\build.gradle: │ │ android { │ │ defaultConfig { │ │ minSdkVersion 21 │ │ } │ │ }
I have added these lines. Nothing changed. What's next? I can't install.
Thanks fod reporting. I'll update package later.
I think that the problem is not that with each version the minimum deployment target is reduced (which is good), but the reason is that I cannot install it. On the contrary, I have an API of 31,33,34. I just don’t know how to install a package when such errors occur. More precisely, the error appears when assembling the program. I don't have a commercial project. I'm writing a program for myself. Every time I encounter similar errors.
Ah, sorry. I realized what you are struggling with. But sorry, I'm not good at gradle. Actually I don't know how to solve it. My opinion is trying to set some kind of versions to minSdk will solve problem though...
I can't handle it. Then I'll have to go to the "Record" or "Flutter_sound" packages. But the sample I have works with a “buffer”. In those packages, I don’t know what to change to get the same format or Type. Nevertheless thank you.
I updated android studio from 2021 to 2023, use Graddle builder instead of IntelliJ, and everything worked with lines in android\app\build.graddle: defaultConfig { minSdkVersion 21 targetSdkVersion 31 ... except one (the app crashes):
java.lang.UnsupportedOperationException: Cannot create AudioRecord at android.media.AudioRecord$Builder.build(AudioRecord.java:982) e.t.c.
Is it a Permission Handler? I do not use it yet.
Great!!! It was a Permission Handler !!! Now the question is how to get the frequency in the status. And change the musical instrument from 6 string to 21/22 string?
Can you implement it under Windows? Or is it difficult? I'm just making a music application, it would be interesting to make this function for all systems (Linux, MacOS, Windows). It turned out that the tuner doesn’t care how many strings the instrument has. He sets everything up anyway. My application can already work under Windows, Android and MacOS. I checked. Everything is done in Flutter
minimum deployment target is set to = 12.0. and still getting this message !