Start a new topic

WikitudeTitaniumSample captureScreen Persmission Denied - Android

I am getting the below error while clicking the "Capture" button on any of the examples in the sample Android app.  I am using the latest version of the Wikitude SDK, The latest version of Titanium (, and a Samsung GS8 phone.  I have tried with a license key and without.  I have tried adding more permissions to the tiapp.xml file.  I would think that a sample app should literally import, build, then run.  Any help would be appreciated.  Thanks.

[ERROR] : TiExceptionHandler: (main) [2169,50892] /ui/windows/ARchitectWindow.js:155

[ERROR] : TiExceptionHandler: window.arview.captureScreen(includeWebView, null, { // "Path/In/Bundle/toImage.png"

[ERROR] : TiExceptionHandler: ^

[ERROR] : TiExceptionHandler: Error: Permission denied

[ERROR] : TiExceptionHandler: at Button.<anonymous> (/ui/windows/ARchitectWindow.js:155:23)

[ERROR] : TiExceptionHandler: at Button.value (ti:/events.js:49:21)

[ERROR] : TiExceptionHandler: at Button.value (ti:/events.js:101:19)

[ERROR] : TiExceptionHandler:

[ERROR] : TiExceptionHandler: Method)

[ERROR] : TiExceptionHandler:

[ERROR] : TiExceptionHandler:

[ERROR] : TiExceptionHandler: com.wikitude.ti.WikitudeViewProxy.captureScreen(

[ERROR] : TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)

[ERROR] : TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(

[ERROR] : TiExceptionHandler: org.appcelerator.kroll.KrollProxy.doFireEvent(

[ERROR] : TiExceptionHandler: org.appcelerator.kroll.KrollProxy.handleMessage(

[ERROR] : TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(

[ERROR] : TiExceptionHandler: android.os.Handler.dispatchMessage(

[ERROR] : V8Exception: Exception occurred at /ui/windows/ARchitectWindow.js:155: Uncaught Error: Permission denied

Hi Josh,

I just tried what you described and could reproduce it. My apologies for the inconvenience. I'll forward this issue to our Android developer who will be happy to handle it when he's on site again.

I am confused about your Titanium SDK version though. The most recent Titanium SDK version seems to me to be 7.4.0.GA.

- Daniel

You are correct on the version Daniel.  It is 7.4.0.GA.  I was looking at the Titanium Studio version which is Thanks for checking this out and I am looking forward to the resolution.

- Josh

Login or Signup to post a comment