![]() This file should contain your Gradle file dependencies in it. Create and add a file called $XDependencies.xml (where $X is the name of your plugin) to your project. a quick bare bones file-updater application that utilizes internal storage. Assuming you are only using Kotlin stdlib, the file will look like this: (remember to use correct kotlin version)Ģ. Build real-world Android and web applications the Kotlin way Iyanu Adelekan. Add GoogleJarResolver to your Unity project.Ģ. Google has a Unity plug-in which actually does that, it downloads the needed files to satisfy the dependencies and adds them to your project.Īs the description and instructions on Google Jar Resolver home page is beyond what you exactly need, I just give you the instructions here for that specific issue:ġ. However, as you'd guess, Unity does not do anything regarding resolving dependencies on AAR files, so you've got to do it yourself. When you pack your plugin into an AAR files, the dependencies are not packed with it assuming that the consumer (which is usually another Android Studio project and not Unity) will resolve these dependencies. ![]() I actually had this problem and solved it by using GoogleJarResolver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |