unity-jar-resolver | Unity plugin which resolves Android | Plugin library
kandi X-RAY | unity-jar-resolver Summary
kandi X-RAY | unity-jar-resolver Summary
External Dependency Manager for Unity.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of unity-jar-resolver
unity-jar-resolver Key Features
unity-jar-resolver Examples and Code Snippets
Community Discussions
Trending Discussions on unity-jar-resolver
QUESTION
I'm developing an Android Bluetooth plugin for Unity using Kotlin. I included the .aar
file of my Kotlin library (which works perfectly in an app running in Android Studio), and since I was getting some dependency errors in runtime, I started using the Android Dependency Resolver plugin.
I started by adding the dependencies that my library had on its .gradle
file:
ANSWER
Answered 2021-Dec-23 at 09:40lStar
is first defined in android-31, so you can change compileSdkVersion to 31+, or change androidx to a lower version.
QUESTION
There is this situation where I am trying to use MLKit inside Unity. Naturally I make an Android plugin. Here are the Gradle dependencies:
...ANSWER
Answered 2021-Apr-16 at 19:41As the error message suggests, the same stuff seams to be around in two separate dependencies: once in ":PoseDetector-release:" and once in ":androidx.camera.camera-camera2-1.1.0-alpha02:"
I have run in this issue before, and was able to solve it. Sometimes it takes longer to find out which dependencies to remove.
The solution to this error is to remove one of the duplicate dependencies, in my case I believe it was removing the android plugin folder of some SDK in my Project's Assets Folder, due to the fact that the same dependency was already included by some package I downloaded and imported via the unity package manager.
The two cases I can think of, where my answer is garbage are:
The collision is NOT due to collision between same dependencies, but just between namespaces
You can not remove neither of the two dependencies because they only overlap, but BOTH each contain MORE stuff you need, which is NOT already included in the other one
QUESTION
How to replicate this error...
Create a new Unity project.
Import the facebook sdk unitypackage
Set your App Id for facebook via Facebook\Edit Settings
Using Assets\External dependency manager\Android, press 'Resolve dependencies', then press 'delete resolved libraries' (otherwise the build will fail at the gradle stage)
Build and run.
When the app tries to run I immediately get the error message on my phone 'app has stopped working' and see this error in the logs ...
...
ANSWER
Answered 2020-Sep-25 at 14:49Ok heres one specific method I followed where it worked.
Unity version: 2019.3.15f1
Facebook SDK version: 7.21.2
Using the PlayServicesResolver, Resolve libraries
Do not Delete Resolved Libraries
Set a Custom Proguard file in the player setting under publishing settings, and add the following two lines to the file..
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install unity-jar-resolver
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page