Type is defined multiple time on Android
-
I made a brand new project with Qt 5.15.2, created Android templates and tried to build it: everything worked fine.
When I add a .aar file into android/libs (the library is external, I do not have access to it) I get the errorType org.qtproject.qt5.android.bearer.QtNetworkReceiver$1 is defined multiple times
What can it be?
-
I made a brand new project with Qt 5.15.2, created Android templates and tried to build it: everything worked fine.
When I add a .aar file into android/libs (the library is external, I do not have access to it) I get the errorType org.qtproject.qt5.android.bearer.QtNetworkReceiver$1 is defined multiple times
What can it be?
@Fausto01
Looks like a duplicated symbol.
Maybe the external library is statically linked to Qt. -
@Fausto01
Looks like a duplicated symbol.
Maybe the external library is statically linked to Qt.@Axel-Spoerl I don't know why, but upgrading android-31 to android-34 solved the problem