Start a new topic

Android Studio Missing File Error

Hi,


I feel like im really close to getting my app up and running in Android Studio, but now im getting this.....


error: package com.wikitude.architect does not exist


Any ideas?


Cheers


1 person has this problem

Hi Marc,



did you add the Wikitude AAR file to your app's gradle file as a dependency? Here's the relevant excerpt from the sample app:


implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation(name: 'wikitudesdk', ext: 'aar')
implementation 'com.google.ar:core:1.1.0'


In any case, I'd recommend having a look at the gradle file of the sample app we bundle with the SDK if you have not done so yet. It should provide you with all the required build settings to add.



- Daniel

Hey,


Thanks for the reply. Im now getting the error:


FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.

> com.android.build.api.transform.TransformException: Error while generating the main dex list.


Any ideas?


Thanks in advance

Login or Signup to post a comment