Hello,
I have now found the solution to the problem after all. But maybe the thread will help others anyway.
I have now test deactivated the library "FirebaseAnalytics" and uploaded it again at VirusTotal.com. Now the detection in "Avast Mobile" no longer throws an alarm.
Thanks JohnC for your support.
David