Why I am getting "Application manifest must contain activity com.google.ar.core.InstallActivity"
In my device I have already installed Arcore app from playstore, Sample Arcore app is working properly but when I integrated Ar sample app in my another sample app so that if device supports Arcore we can use Arcore feature, but when I am running the app after integration I am getting this exception "Application manifest must contain activity com.google.ar.core.InstallActivity", I am not getting any proper solution how to tackle this.
From https://developers.google.com/ar/develop/java/enable-arcore:
Note: Gradle automatically merges additional tags from the ARCore library into your app's manifest. Do not delete these tags.
It seems you are not picking up the manifest contents of the ARCore AAR file. These are critical for the operation of ARCire.
Thanks for reply. I have mentioned content of manifest from Arcore sample to my sample app but I did not see AAR file anywhere, still I am getting the error. But when I mentioned activity tag like this android:name="com.google.ar.core.InstallActivity" in manifest, it solved the issue. Is it the right way? Please guide, if it is wrong way then suggest the right way.
The AAR comes in through the gradle/maven dependency. What build environment are you using?
I am using Mac OS build environment.
No, I mean like what IDE are you using. Android Studio?
Ya I am using Android Studio.
It sounds like there's something wrong with your build process. the 'com.google.ar:core:1.2.0' gradle dependency provides Manifest entries that need to be merged into your app. If you're manually unpacking that library, you need to make sure the AndroidManifest.xml contents get merged into your app manifest.
Closing for inactivity.