react-native-unity-view icon indicating copy to clipboard operation
react-native-unity-view copied to clipboard

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

Open GangaBS99 opened this issue 1 year ago • 2 comments

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)

GangaBS99 avatar Apr 25 '23 17:04 GangaBS99

For me to same

ArvindSavorBrands avatar May 10 '23 10:05 ArvindSavorBrands

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

ArvindSavorBrands avatar May 14 '23 08:05 ArvindSavorBrands