Start a new topic

Uncaught ReferenceError: AR is not defined:1

Uncaught ReferenceError: AR is not defined:1

1 person has this problem


Hi Team,

I am trying a sample AR application using Wikitude SDK. All the Samples work perfecty fine on my device and in my sample AR app i could see the camera view in my ARview. I see the wikitude logo on the left bottom corner and when i point the cam to the Solarsystem.jpg marker image, it is not recognizing and not showing 3D models.

I included the Solar system IR example in my sample app and i am getting the error: (PFA for detailed log)

Uncaught ReferenceError: AR is not defined:1

09-11 09:35:20.753: E/Web Console(8675): Uncaught ReferenceError: AR is not defined:1

09-11 09:35:20.933: E/libEGL(8675): called unimplemented OpenGL ES API

09-11 09:35:20.933: E/libEGL(8675): called unimplemented OpenGL ES API

09-11 09:35:21.042: D/dalvikvm(8675): GC_FOR_ALLOC freed 74K, 9% free 8688K/9479K, paused 33ms, total 33ms

09-11 09:35:21.042: I/dalvikvm-heap(8675): Grow heap (frag case) to 9.476MB for 460816-byte allocation

09-11 09:35:21.073: D/dalvikvm(8675): GC_FOR_ALLOC freed <1K, 9% free 9137K/9991K, paused 25ms, total 25ms

09-11 09:35:21.073: I/dalvikvm-heap(8675): Grow heap (frag case) to 9.916MB for 460816-byte allocation

09-11 09:35:21.120: D/dalvikvm(8675): GC_FOR_ALLOC freed 0K, 9% free 9587K/10503K, paused 47ms, total 47ms

09-11 09:35:21.190: D/dalvikvm(8675): GC_CONCURRENT freed 28K, 9% free 9590K/10503K, paused 12ms+4ms, total 70ms

09-11 09:35:21.792: W/SurfaceView(8675): CHECK surface infomation creating=false formatChanged=false sizeChanged=false visible=false visibleChanged=true surfaceChanged=true realSizeChanged=false redrawNeeded=true left=false top=false

 

Appreciate any kind of help regarding this issue

 

Thanks,

Sarat

Hi,

I'm also developing an app using the Wikitude Framework. When I start my App I do get the Same error "Uncaught ReferenceError: AR is not defined:1" but my App works anyway( with Image recognition and POIs). I tried to figure out where the Problem is caused but I couldn't find the place. Since the message is called by E/Web Console that means that there should be some console.log() place issuing this error. But I didnt find it yet. So maybe your Problem lies somewhere else.

hope that helps,

kind regards,

Alexander

Hi there!

We're intercepting AR-namespace within the Wikitude SDK. Unfortunatlely WebView doesn't get it immediately and logs "Uncaught ReferenceError: AR is not defined:1", which you can simply ignore. We're looking forward to get rid of this log.

Kind regards,
Andreas

Hi Sarat,I want  to know how you solved this problem.I am facing  similar problems.

Thanks for your time in advance.

 
Login or Signup to post a comment