Hi! I have encountered such a strange problem. Does anyone know how to solve it? I’ve been looking for answers for a long time, but I haven’t found them
After a lot of suffering and a long time, I was able to find a solution to this problem. I don’t know what this is related to, but something is happening in the UE and for some reason it starts ignoring some UPL files that it used without any problems before. In general, the solution turned out to be quite simple.
You need to find the file build.gradle, which is on this path …\Engine\Build\Android\Java\gradle\app\ and in it in the dependencies section (this is at the very bottom) you need to force the engine to compile this library using the command compile “com.google.android.gms:play-services-plus:11.8.0”. By the way, later the Unity ADS plugin stopped working for me with the same problem. I had to also write it in build.gradle → compile “com.unity3d.ads:unity-ads:4.2.1”.
Hi there. Many thanks for your reply. This randomly happened to me today in a project I was able to package just fine previously. Although I had to use implementation 'com.google.android.gms:play-services-games:22.0.1' instead of the one you provided, your answer still lead me on the right track. So, again thank you very much.
In case anyone else comes across this issue: You can find the correct version to put in the command in the build.gradle file from the engine directory (…\Engine\Build\Android\Java\gradle\app).