I was running the sample from the wikitude component for the first time,I set Android level to 22, it launched in emulator without problem,but when I clicked on any of the functions, it popped up the error "com.wikitude.samples.BasicArchitectActivity not defined/accessible". I have latest wikitude SDK. Please help!
N
Nicola Radacher
said
over 7 years ago
Hi,
Please test with a physical device. The emulator is not officially suppoted in this SDK version.
Greetings
Nicola
V
V5
said
over 7 years ago
Thanks a lot Nicola! I switched to debug on my Samsung S4, I got the same error. After digging into it more, I located where the exception got generated.Below is the code,the exception was from the last statement in the codes attached below: Java.Lang.Class.ForName(className), the value of className is "com.wikitude.samples.BasicArchitectActivity". but this class does exist in the sample project. I guess it's just a config problem? Thanks again!
namespace Com.Wikitude.Samples
{
public class SamplesListActivity : ListActivity
{
public const string EXTRAS_KEY_ACTIVITY_TITLE_STRING = "activityTitle";
public const string EXTRAS_KEY_ACTIVITY_ARCHITECT_WORLD_URL = "activityArchitectWorldUrl";
public const string EXTRAS_KEY_ACTIVITIES_ARCHITECT_WORLD_URLS_ARRAY = "activitiesArchitectWorldUrls";
public const string EXTRAS_KEY_ACTIVITIES_TILES_ARRAY = "activitiesTitles";
public const string EXTRAS_KEY_ACTIVITIES_CLASSNAMES_ARRAY = "activitiesClassnames";
V5
1 person has this problem