-
Notifications
You must be signed in to change notification settings - Fork 576
Description
Hey guys, I encounter this error everytime I use "Export Android" from the flutter tab in Unity.
Im using Unity 2020.3.19f1, but also happens with Unity 2020.2.2f1. I've done all the steps of the package documentation.
OS: Windows 11
The console output is the following
FileNotFoundException: C:\Users\username\OneDrive\Documents\Testing\unity-flutter-project\unity_flutter_project\unity\flutter_unity\Builds/flutter_unity.apk\unityLibrary\src\main\Il2CppOutputProject\IL2CPP\build\deploy\netcoreapp3.1\System.Runtime.InteropServices.RuntimeInformation.dll does not exist
System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Build.Copy (System.String source, System.String destinationPath) (at Assets/FlutterUnityIntegration/Editor/Build.cs:168)
Build.DoBuildAndroid (System.String buildPath, System.Boolean isPlugin) (at Assets/FlutterUnityIntegration/Editor/Build.cs:63)
Build.DoBuildAndroidLibrary () (at Assets/FlutterUnityIntegration/Editor/Build.cs:26).
When I try to export directly in Build Setting, there is no problems.
Appreciate the help.