Start a new topic

Android app crashes when call architectView.onCreate( config )

Android app crashes when call architectView.onCreate( config )


Please have a look at the sample application, that could help you solve this specific problem.

There are 2 feature sets, not every device support both of them. Many tablets, especially the wi-fi only models, don't have a magnetometer and don't support geo-located AR. You should specify Tracking2d as feature set in the StartupConfiguration.

Try the sample app, if the Geolocation samples are missing, but IR samples work, then your device doesn't support geolocation.

Have the same problem on Sumsung 10-inche tablet, device is fulfilling the following requirements: http://www.wikitude.com/external/doc/documentation/latest/android/supporteddevicesandroid.html#supported-android-devices
What can be the problem?

Hi Alin,

The error message you get: MissingFeatureException: Required feature set is not supported is happening because you're using features on a device that doesn't support the features you're using. Please check the list for the device requirements.

Greetings

Nicola

You might need to specify which camera to use. Try this out. Also if you're using an emulator make sure the cameras are enabled.

 

StartupConfiguration config = new StartupConfiguration(
"license key"
, StartupConfiguration.Features.Tracking2D
, StartupConfiguration.CameraPosition.BACK
);

 

Hi,

I'm trying to build an example application but I get this errors when calling  architectView.onCreate( config ):

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): com.wikitude.architect.ArchitectView$MissingFeatureException: Required feature set is not supported

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at com.wikitude.architect.ArchitectView.onCreate(Unknown Source)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at com.wikitude.samples.ARActivity.onCreate(ARActivity.java:53)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.Activity.performCreate(Activity.java:5451)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.ActivityThread.access$900(ActivityThread.java:169)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.os.Handler.dispatchMessage(Handler.java:102)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.os.Looper.loop(Looper.java:136)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at android.app.ActivityThread.main(ActivityThread.java:5479)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at java.lang.reflect.Method.invokeNative(Native Method)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at java.lang.reflect.Method.invoke(Method.java:515)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

07-31 16:04:34.688: E/com.wikitude.samples.ARActivity(30651): at dalvik.system.NativeStart.main(Native Method)

07-31 16:04:34.768: E/libEGL(30651): called unimplemented OpenGL ES API

07-31 16:04:34.768: W/Adreno-ES20(30651): <core_glHint:84>: GL_INVALID_ENUM

07-31 16:04:34.768: A/libc(30651): Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 30853 (Thread-1271)

07-31 16:04:34.808: W/AwContents(30651): nativeOnDraw failed; clearing to background color.

 

Thank you in advance
Login or Signup to post a comment