Hi all, I am updating my EasyAR SDK Library, there are a few changes made to the latest SDK, but I am running into an issue while trying to update the MotionTracking Example, I am getting the following error when I try to run the example.
If I unzip the .aar library I can see that there is a manifest file inside of it with the following content.
Does anyone know how I can add the "android:name="com.google.ar.core.InstallActivity" portion to my project's manifest file, is it even necessary or am I missing something else.
Thanks all.
Walter
The new Library depends on com.google.ar.core:1.6.0.aar file which I have included with the #AdditionalJar parameter in my activity, so far all the other examples work fine, but this specific one is giving me this issue.Error while checking app details and ARCore status
com.google.ar.core.exceptions.FatalException: Application manifest must contain activity com.google.ar.core.InstallActivity
at com.google.ar.core.h.e(ArCoreApkImpl.java:137)
at com.google.ar.core.h.b(ArCoreApkImpl.java:97)
at com.google.ar.core.h.checkAvailability(ArCoreApkImpl.java:5)
at com.google.ar.core.ArCoreApkJniAdapter.checkAvailability(ArCoreApkJniAdapter.java:2)
at cn.easyar.ARCoreCameraDevice._ctor(Native Method)
at cn.easyar.ARCoreCameraDevice.<init>(ARCoreCameraDevice.java:29)
at com.genesis.easyAR.ARCoreCameraDeviceWrapper.Initialize(ARCoreCameraDeviceWrapper.java:25)
at com.genesis.easyar.helloarmotiontracker._initialize(helloarmotiontracker.java:141)
at com.genesis.easyar.motiontrackeractivity._glsurface_surfacecreated(motiontrackeractivity.java:621)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:221)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:205)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:201)
at anywheresoftware.b4a.agraham.opengl2.GLWrapper2$GLSurfaceViewWrapper2$myRenderer.onSurfaceCreated(GLWrapper2.java:1776)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1561)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1287)
If I unzip the .aar library I can see that there is a manifest file inside of it with the following content.
XML:
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2017 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.ar.core"
android:versionCode="181112116"
android:versionName="1.6.181112116" >
<!--
minSdkVersion is set low to allow use of ArCoreApk_checkAvailability in apps with
very low minimal requirements. targetSdkVersion should be 27, but issues within our build system
require it be lower at this time.
-->
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="24" />
<application>
<!-- This activity is critical for installing ARCore when it is not already present. -->
<activity
android:name="com.google.ar.core.InstallActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:excludeFromRecents="true"
android:exported="false"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Material.Light.Dialog.Alert" />
<!-- The minimal version code of ARCore APK required for an app using this SDK. -->
<meta-data
android:name="com.google.ar.core.min_apk_version"
android:value="181012000" />
</application>
</manifest>
Does anyone know how I can add the "android:name="com.google.ar.core.InstallActivity" portion to my project's manifest file, is it even necessary or am I missing something else.
Thanks all.
Walter