asmadsen / react-native-unity-view

MIT License
204 stars 128 forks source link

file not found exception after exporting, could not find android manifest file #98

Open GangaBS99 opened 1 year ago

GangaBS99 commented 1 year ago

FileNotFoundException: Could not find file "C:\Users\ganga\Desktop\React_native_app\my-app\android\UnityExport\src\main\AndroidManifest.xml" System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at :0) System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) (at :0) (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) (at :0) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks) (at :0) (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string,System.Text.Encoding,bool) System.IO.File.InternalReadAllText (System.String path, System.Text.Encoding encoding) (at :0) System.IO.File.ReadAllText (System.String path) (at :0) Build.DoBuildAndroid (System.String buildPath) (at D:/Unity Projects/AR app/Assets/Scripts/Editor/Build.cs:70) Build.DoBuildAndroidLibrary () (at D:/Unity Projects/AR app/Assets/Scripts/Editor/Build.cs:23)

ArvindSavorBrands commented 1 year ago

For me to same

ArvindSavorBrands commented 1 year ago

@GangaBS99 I was able to fix it by downgrading XR Plugin Management to 4.2.0

image