Flutter audio service need to change the android:name
like this
android:name="com.ryanheise.audioservice.AudioServiceActivity"
package and documation
Firebase Cloud Messaging also need to change the android:name
like this
android:name=".Application"
package and documation
How can I make change to use both packages in my application?
Edited
Now I have solved the problem by upgrading flutter version but I would like to know how do I make change if I meet a situation like my question. If anyone has a solution for my question, let me know it please.