i am using ARFoundation 4.1.0 preview package and in XR plug-in management in unity project settings i have enabled the Arcore but the problem is when i build it gives me “Missing ‘package’ key attribute on element package at [:arcore_client:] AndroidManifest.xml:30:9-54”. and when i disable the Arcore it works fine but i get black screen camera.
I had excactly the same problem! The issue is related to the ARCore plugin and to gradle. You should follow the steps (that correspond to your Unity version) on this page : Unity için ARCore SDK'sı kullanımdan kaldırıldı | Google for Developers
I hope that this will help someone
check your these lines :
here you define intent filter but not any action so if you don’t want to specify any action there just delete it or add any action that you want to listen,