Android SDK - ImageTracker class error

December 19, 2014 - 2:44am #1

I have replaced the SDK 3 files with the new beta files in my Vuforia sample project, and I am getting an error saying 

"Error:(33, 28) error: cannot find symbol class ImageTracker"

in the following files:

  • CloudReco.java
  • CyclinderTargets.java
  • ImageTargets.java
  • MultiTargets.java
  • TextReco.java
  • RefFreeFrame.java
  • UserDefinedTargets.java
  • VirtualButtons.java

Anyone else getting this?

I can't see anything in the change logs about this class being removed, and the new documentation points ot the same old sample files

Android SDK - ImageTracker class error

December 24, 2014 - 12:43am #2

Hi, with SDK 4.0, the ImageTracker class has been replaced with ObjectTracker class; simply replace your occurrences of ImageTracker with ObjectTracker in the code:

for the full migration guide, see:

https://developer-beta.vuforia.com/library/articles/Training/API-Changes-in-the-Vuforia-40-SDK

https://developer-beta.vuforia.com/library/articles/Solution/How-to-Migrate-an-Android-Project

 

Log in or register to post comments