I've started to learn Wikitude SDK and started to learn documentation. After i passed "getting started" part i faced the problem in the "image recognition" part. I tried to repeat what is written in that part, but after copying code and launching it i see next error:
04-08 20:33:13.991 10240-10809/com.example.computer.bo1 E/AndroidRuntime: FATAL EXCEPTION: GLThread 3152
Process: com.example.computer.bo1, PID: 10240
java.lang.RuntimeException: createContext failed: EGL_BAD_CONFIG
I can't find anything about it in the internet. So if somebody know how to solve this problem, please help
As a first step, I would suggest you do the following. Please download our 'ready-to-use' samples from our Download page here https://www.wikitude.com/download/. Since you have already started reading the documentation and you were able to finish the 'Getting Started' section, try and build one of our samples (instead of copying and pasting parts of codes put the whole folder of the downloaded package) to see if this is working without any issues.
Thanks for helping! I don't fully understand what samples do you mean. If you are talking about NativeSDKExamples which i have already downloaded with WikitudeSDK i have another problem with it. I have error trying to build it:
Error:Project :app declares a dependency from configuration 'arm8Compile' to configuration 'arm8Release' which is not declared in the descriptor for project :plugins.
If you are talking about another samples, please tell me where i can find it on the download page, because i can't
this error happens when you update the gradle android plugin to 3.0+. To see how this can be solved take a look at this how to guide.
Please note that our package, that you download, also includes a prebuilt APK, which you could use verify if the OpenGL issue is also happening in our samples.
I solve the problem with Examples by removing plugins dependencies.
I've built and installed examples on my phone.
And I have the same error like at the start of this topic.
Did you try to install the prebuilt apk and does it have the same issue?
What device are you using?
Yes, i have the same issue on the prebuilt apk.
ASUS Zenfone 2 Z00AD