-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Not working with Android Support v26.x.x libs #125
Comments
Ok, for now we resolved issue by adding Lifecycle libs: from android.arch.core:
from android.arch.lifecycle:
Note: for non Gradle builds in Unity you need to move all stuff with ${applicationId} from aar's manifests into your manifest with correct package name. And (probably too) remove target sdk version from FB manifests. |
I also have this issue, trying to make push notifications work. an official fix / word on this would be ideal |
Same here, would be nice to get this fixed |
1 similar comment
Same here, would be nice to get this fixed |
I have the same problem. |
I think that #109 has your answer. The support libs added a dependency, which in regular Android projects can be downloaded using a remote repository. I don't think this step is added by default when building in Unity. |
I think the resolution should automatically download these dependencies, but there was a bug in the unity-jar-resolver which leads to overwritten libraries: googlesamples/unity-jar-resolver#97 This is exactly the case with This is already fixed in recent releases BUT it seems to me that you need to delete the |
Thanks for the update @jnbt, so you are saying the the Jar Resolver plugin should be able to recognise the dependency, which comes from within an existing .aar file, and down load that in addition to the .aar dependencies? To confirm, we should clear down all resolved dependencies and settings, update Jar Resolver and resolve? |
@JimmyDeemo I've tried again and it worked. Maybe someone else can try the following steps:
|
Dear developers,
I'm trying latest version (7.10.1) of SDK in Unity 5.6.2p3. Everything works fine with Android Support v25.x.x libs. But we need to target Android API 26 and use support libs of this version (due notification API changes). Unfortunately SDK doesn't work with this version and throws exceptions while plugin inits:
Attaching list of used libs:
I checked Android Manifest after merge, all FB activities are included and checked DEX file and FB classes are included too.
I also tried to replace (just for test) FB Android SDK (v4.23.0) with v4.29.0 and I'm able to init plugin but login is not possible - or another dialog based action -> ends with similar set of exceptions.
Best regards
Tomáš Růžička.
The text was updated successfully, but these errors were encountered: