Start a new topic

android.view.InflateException: Binary XML file line #6

android.view.InflateException: Binary XML file line #6


Hi Guillaume,
Can you use any other camera application on your Epson BT-200?

Best regards

Andreas

I am having the same error using a pair of Epson BT-200. Was there ever a resolution to this issue?

This can happen if the camera can't be opened (because it's in use in another application or for other reasons).

Please check that the camera is working, and that other application can use it. Try rebooting the device eventually.

We will address this issue in the next SDK release (a fix is already available in the "dev channel" release, if you want to try it: http://www.wikitude.com/download/developer-channel)

Hello!

I am getting infating error on Galaxy S3 When try to Scan using wikitude sdk and app get crashed. The error log is attached. Please help me about this.

 

05-21 13:52:41.535: E/AndroidRuntime(25121): FATAL EXCEPTION: main
05-21 13:52:41.535: E/AndroidRuntime(25121): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test/.............ScanActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class com.wikitude.architect.ArchitectView
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2295)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.ActivityThread.access$700(ActivityThread.java:159)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.os.Handler.dispatchMessage(Handler.java:99)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.os.Looper.loop(Looper.java:176)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.ActivityThread.main(ActivityThread.java:5419)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at java.lang.reflect.Method.invokeNative(Native Method)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at java.lang.reflect.Method.invoke(Method.java:525)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at dalvik.system.NativeStart.main(Native Method)
05-21 13:52:41.535: E/AndroidRuntime(25121): Caused by: android.view.InflateException: Binary XML file line #6: Error inflating class com.wikitude.architect.ArchitectView
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.createView(LayoutInflater.java:626)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:361)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.actionbarsherlock.internal.ActionBarSherlockNative.setContentView(ActionBarSherlockNative.java:120)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.actionbarsherlock.app.SherlockFragmentActivity.setContentView(SherlockFragmentActivity.java:266)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.test.android.eo.aroundme.AbstractArchitectCamActivity.onCreate(AbstractArchitectCamActivity.java:65)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.test.android.ui.scan.ScanActivity.onCreate(ScanActivity.java:29)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.Activity.performCreate(Activity.java:5372)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2257)
05-21 13:52:41.535: E/AndroidRuntime(25121):     ... 11 more
05-21 13:52:41.535: E/AndroidRuntime(25121): Caused by: java.lang.reflect.InvocationTargetException
05-21 13:52:41.535: E/AndroidRuntime(25121):     at java.lang.reflect.Constructor.constructNative(Native Method)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at android.view.LayoutInflater.createView(LayoutInflater.java:600)
05-21 13:52:41.535: E/AndroidRuntime(25121):     ... 24 more
05-21 13:52:41.535: E/AndroidRuntime(25121): Caused by: java.lang.NullPointerException
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.wikitude.architect.ArchitectView.a(Unknown Source)
05-21 13:52:41.535: E/AndroidRuntime(25121):     at com.wikitude.architect.ArchitectView.<init>(Unknown Source)
05-21 13:52:41.535: E/AndroidRuntime(25121):     ... 27 more
Login or Signup to post a comment