Open mstranne opened 3 years ago
same problem, any solution?
I'm not excectly sure any more. But my problem was using different Android stuff on both builds. Make sure you are using the same android JDK, SDK, NDK and Gradle for both builds. I also switchted to a newer Gradle version and then it worked for me.
I try to compile an Unity App using ARFoundation in a flutter app, however I am new to flutter, so would need some help to get this to compile.
I followed all steps in the readme to build the Unity project for android. With this https://github.com/juicycleff/flutter-unity-view-widget/issues/234#issuecomment-735307249 I was able to build the Unity libs for flutter.
all libs are in the unityLibrary folder. I added the dependencies in gradle as stated in the readme. However, there are still some problems with the ARFoundation dependencies when building, as seen in the gradle output. Any ideas how I could fix that?
gradle build output: