I work on a proof of concept for Orange Buisness Services. I create a project with Epson wikitude tutorial and it doesn't work.When I try to debug my project with your sample : Client Recognition.
I have this error on my layout preview :
java.lang.NullPointerException
at com.wikitude.architect.ArchitectView.e(Unknown Source)
at com.wikitude.architect.ArchitectView.a(Unknown Source)
at com.wikitude.architect.ArchitectView.<init>(Unknown Source)
at com.wikitude.architect.ArchitectView.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jetbrains.android.uipreview.ViewLoader.createNewInstance(ViewLoader.java:465)
at org.jetbrains.android.uipreview.ViewLoader.loadClass(ViewLoader.java:172)
at org.jetbrains.android.uipreview.ViewLoader.loadView(ViewLoader.java:105)
at com.android.tools.idea.rendering.LayoutlibCallbackImpl.loadView(LayoutlibCallbackImpl.java:170)
at android.view.BridgeInflater.loadCustomView(BridgeInflater.java:247)
at android.view.BridgeInflater.createViewFromTag(BridgeInflater.java:171)
...
And this erros when I debug on the Smart Glasses (Epson BT200) :
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.orange.sas.epsonapplication/org.orange.sas.epsonapplication.TestActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class com.wikitude.architect.ArchitectView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1970)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
at android.app.ActivityThread.access$600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
at android.os.Handler.dispatchMessage(Handler.java:99)
...
We already used sevreal solutions we saw on the forums. But we are blocked for a few days.
Jerome Bessane