Closed ReaperUnreal closed 4 years ago
@ReaperUnreal In your $PROJ_ROOT/Assets/Plugins/Android
folder, there are 2 aar files (flurry-analytics.aar
and flurry-marketing.aar
) that should have the required libraries. Are they still there? Or do you change Unity's searching path?
I'm getting this same error, and the two .aar
files are indeed there, just next to the FlurryUnityApplication.java
file in Assets/Plugins/Android
... Does it make a difference that the Plugins folder has it's own "Plugins" assembly (rather than the predefined "Firstpass" one)?
Seems that my problem was that the .aar
files didn't get included in the build because we in our gradle build did:
implementation fileTree(dir: 'libs', include: ['*.jar'], exclude: ['unity-classes.jar'])
which only included .jar files. I've changed it to:
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'], exclude: ['unity-classes.jar'])
and now it compiles (and works) :)
@svendhhh Thanks for the info you provided! Yes, whenever you modify the Unity project default, the path needs to be updated. We will include this in the document. Thanks!
README with this note has been added in the release 2.0.0.
There seems to be a missing step in the docs for Android installation.
When just doing the basic installation we're getting this error during an Android build:
This seems to indicate a missing android dependency that needs to be added.