Also I am using samsung s8
Hi Bett,
I believe you need to update the ARCore version used in your application. We've updated the Wikitude SDK to use ARCore version 1 API instead of 0.9. Since 0.9 did not include the availability API, I believe this is why you are seeing this error with 8.0, but not with 7.2.1.
- Daniel
solved it, thanks! :)
I think I was too quick saying it is resolved.. After repo merge it happened again, could you maybe explain more in detail how to udapte arcore version?
Good morning Bett,
I recommend you have a look at the sample app that is contained within the Wikitude Xamarin component. It should have all the necessary settings you need to adopt in your project.
If you search for the string "Xamarin.Google.ARCore" in the src/component/samples directory, you should be able to find all the files and entries you need.
- Daniel
Hello Daniel,
I was not sure what you mean by "Wikitude Xamarin component", the official wikitude xamarin example maybe? https://github.com/Wikitude/wikitude-xamarin (last commit 2015)
Unfortunately the example explains the general setup, but is not really up-to-date anymore, also the setup guide, since xamarin studio does no longer exist, but I guess you are already aware of that.(http://www.wikitude.com/external/doc/documentation/latest/xamarin/setupguidexamarin.html#setup-guide-xamarin-component)
In the end I added the nuget package Xamarin.Google.ARCore in my visual studio project, that solved the issue using SDK8, for real I hope
thanks! :-)
Bett Schla
Hey! I update my project to SDK8, using ArchitectJavaScriptInterfaceListener but now I can not run it anymore. Runtime error: "JNI DETECTED ERROR IN APPLICATION: JNI NewStringUTF called with pending exception java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/ar/core/ArCoreApk$Availability;"
If I use SDK7 it works find, but not with SDK8
Xamarin, I am just testing with Android right now (using Oreo, API Level 26)
Not sure if it has something todo with ArchitectJavaScriptInterfaceListener, but this is basically the only thing I changed in my project, together with upgrade to SDK8