There is an updated SDK for ThingWorx versions 6.6 and later. I'd advice downloading the Eclipse plugin for these later versions and copying your source code into a fresh project there. Then fix any errors in the project set-up, modify the metadata and try reimporting.
Here is documentation for the ThingWorx 6.6 extension sdk:
Hope this helps!
I am exploring the new extenstion SDK, and I found that there is no com.thingworx.system.managers.MediaEntityManager, com.thingworx.system.managers.ThingManager;
So how to initialize MediaEntity
MediaEntity logoEntity = MediaEntityManager.getInstance().getEntity(logoLink);
FileRepositoryThing fileRepoThing = (FileRepositoryThing) ThingManager.getInstance().getEntity(repoThingname);
I believe MediaEntity is largely deprecated in ThingWorx versions 6.6 and later. What are you trying to do precisely?
I believe what you may be looking for is the EntityUtilities class. Please see the documentation located here, particular the provided Java file and let me know if this relates to your use case in any way.
The java example is useful, but I could not see the documentation.
I have also found that EntityUtilities.findEntity() is a general purpose function and can be used to find MediaEntity, but to get a Thing ThingUtilities can be used: e.g,.
FileRepositoryThing fileRepoThing = (FileRepositoryThing) ThingUtilities.findThing(filerepoThingname);