juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.13k stars 518 forks source link

Execution failed for task ':unityLibrary:BuildIl2CppTask'. #819

Open wwwdwanfangdata opened 1 year ago

wwwdwanfangdata commented 1 year ago

Describe the bug When I try to using the command 'flutter run --release' I get this error

OS - mac 13.3.1 Plugin Version - 2022.2.0 NDK version - 21.3.6528147 Flutter Version - 3.3.10 Dart version - 2.18.6 Unity Editor Version - 2021.3.3f1 Here is the complete error message :

Execution failed for task ':unityLibrary:BuildIl2CppTask'.

A problem occurred starting process 'command **'***/android/unityLibrary/src/main/Il2CppOutputProject/IL2CPP/build/deploy/netcoreapp3.1/il2cpp.exe''**

When I followed this solution https://github.com/juicycleff/flutter-unity-view-widget/issues/544#issuecomment-1058266339 I encountered a new problem : dlopen failed: library "libil2cpp.so" not found

Here is the gradle file - path : android/unityLibrary/build.gradle

WX20230529-161818

wwwdwanfangdata commented 1 year ago

@juicycleff Can you help me solve this problem

tomyamGTX commented 1 year ago

i also face same issue