Start a new topic
Solved

SDK 6.0: No implementation found for void com.wikitude.architect.Gameplay.createNative() (tried Java_com_wikitude_architect_Gameplay_createNative and Java_com_wikitude_architect_Gameplay_createNative__)

Android.

With SDK 6.0, the application crashes on onCreate setContentView -method where it tries to inflate architectView.


Error:

No implementation found for void com.wikitude.architect.Gameplay.createNative() (tried Java_com_wikitude_architect_Gameplay_createNative and Java_com_wikitude_architect_Gameplay_createNative__)


java.lang.RuntimeException: Unable to start activity ComponentInfo{-myapplicationbundle-}: android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class com.wikitude.architect.ArchitectView


XML:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal">
<com.wikitude.architect.ArchitectView android:id="@+id/architectView" android:layout_width="fill_parent" android:layout_height="fill_parent"/>
</LinearLayout>


On SDK 5.3.1 everything worked fine.


The SDK examples application works fine but there is something wrong with my own application. What should i do?



Hi,


the class com.wikitude.architect.Gameplay is no longer existing in SDK 6.0 so it seems like your project is not clean. Please try to clean your project and/or delete the generated build folders. If this does not work please send us a project with which we can reproduce this issue at support@wikitude.com with the subject "Forum post 5000081298".


Best regards,

Alex

Deleting generated build folders was the magic that was needed here, thanks!

Login or Signup to post a comment