Canardoux / flutter_sound

Flutter plugin for sound. Audio recorder and player.
Mozilla Public License 2.0
877 stars 572 forks source link

Bug? : AndroidManifest can't compile when installing package flutter_sound #1107

Open Sangiovanni opened 1 week ago

Sangiovanni commented 1 week ago

Discussed in https://github.com/Canardoux/flutter_sound/discussions/1106

Originally posted by **Sangiovanni** October 19, 2024 Hello, I hope I'm reaching the right place to discuss about this. I recently wanted to change form soundPool discontinued package to this one which seems to fit my need. I just have a problem, when I install the package I have this error : ![androidManifestBug1](https://github.com/user-attachments/assets/ee590bf6-e99d-4a92-9510-6e0164e3ca1b) And when I follow the recommandation, This one appear : ![androidManifestBug2](https://github.com/user-attachments/assets/d2b17ef0-84a3-4890-a066-93fb69989f1f) Flutter doctor if needed ![flutterDoctor](https://github.com/user-attachments/assets/0a80e2cb-92c6-4544-8ccb-69cbe36dab65) I would like to know if I can do something to correct this problem since this package seems really close to what I need. Thanks Ludovic
hagen00 commented 6 days ago

I had used an old version of flutter_sound and everything compiled with no problem. When I upgraded to latest 9.16.3, I had to update my AndroidManifest as per the selected answer here: https://github.com/Canardoux/flutter_sound/discussions/1106

Except I had to "replace two tools" <application android:label="My App Name" android:name="${applicationName}" android:icon="@mipmap/launcher_icon" tools:replace="android:icon, android:label">