Closed Dosenbiiir closed 1 year ago
Given that it originates from unityLibrary/libs/support-v4-25.1.0.aar
, it looks like this is from the Unity export.
Do you use a 3rd party plugin in Unity like Mapbox, Firebase or Google ads? I can find stackoverflow posts where this is caused by one of those.
Can you build the Unity project without Flutter? (Apk built from Unity, project export from Unity and built in Android studio, etc.)
Thanks for your fast reply. You are absolutely correct. The support-v4 library comes from Mapbox. (The Android build is working in Unity but not in Flutter because it uses AndroidX and Jetifier there)
The error is not related to flutter-unity-view.
Thank you.
Just in case someone else is facing the problem. You can manually "jetify" Mapbox as described here: https://github.com/mapbox/mapbox-unity-sdk/issues/1438 But i haven't tried it because i decided to switch over to arcGIS.
Flutter Android Build Error I followed the instructions from the getting started guide. But if i want to build the android app i get the following error message:
It seems like the library is using android.support.v4. Can i savely disable the jetifier? Or what is the workaround for this?
Flutter Version: 3.3.7 compileSdkVersion: 33 Unity Version: 2021.3.12
Thanks