amplitude / unity-plugin

Official Amplitude Unity Plugin
https://developers.amplitude.com/docs/unity
MIT License
44 stars 34 forks source link

aar getting deleted while Force resolve in Unity jar resolver. #31

Closed Javasamurai closed 4 years ago

haoliu-amp commented 4 years ago

Hello,

Do you use unity jar resolver yourself? If yes, you will have 3 choices.

  1. Manually add those deleted jars back.
  2. Add the jars of Amplitude SDK and the ones it depends on into your XXXDependencies.xml.
  3. Check if unity jar resolver provides a way for you to exclude jars which it shouldn't touch.
pashara commented 4 years ago

Javasamurai, try https://github.com/amplitude/unity-plugin/issues/27

haoliu-amp commented 4 years ago

@pashara Sorry about getting back and forth. As I mentioned in #27 , I wonder what's the motivation for you to include AmplitudeDependencies.xml in your project. That file is NOT needed.

haoliu-amp commented 4 years ago

Pls take a look at the README file. I just updated it with how to work around with this issue.

Javasamurai commented 4 years ago

Yes. Adding the Dependencies solved the issue.

ArwaAlrazooq commented 4 years ago

@haoliu-amp I'm also facing the same problem, but I can't locate the *Dependency.xml to add the dependencies.

haoliu-amp commented 4 years ago

Please take a look at the README file. If you are not using google resolver, then you won't have the xxxDependency.xml file.

ArwaAlrazooq commented 4 years ago

@haoliu-amp Yes, I'm using the google resolver and followed the instructions in README file but I didn't find the *Dependency.xml file. Is it inside Amplitude folder? or located in another folder ?

haoliu-amp commented 4 years ago

@ArwaAlrazooq If you are using that yourself, it should be in your project folder. Not from Amplitude.