playgameservices / play-games-plugin-for-unity

Google Play Games plugin for Unity
Other
3.47k stars 966 forks source link

Android plugins folder is over 3MB? #3159

Open userqt opened 2 years ago

userqt commented 2 years ago

I just used the dependencies manager and it downloaded a bunch of stuff, which is over 3MB in size. Why is that and are those libraries needed for this plugin to work? So big size? I really want to keep the game size small.

Please help me understand this and if there is a way to keep the size small.

This is how it looks like in the AndroidResolverDependencies.xml: `

com.google.games:gpgs-plugin-support:0.11.01 Assets/Plugins/Android/androidx.annotation.annotation-1.1.0.jar Assets/Plugins/Android/androidx.arch.core.core-common-2.0.0.jar Assets/Plugins/Android/androidx.arch.core.core-runtime-2.0.0.aar Assets/Plugins/Android/androidx.asynclayoutinflater.asynclayoutinflater-1.0.0.aar Assets/Plugins/Android/androidx.collection.collection-1.0.0.jar Assets/Plugins/Android/androidx.coordinatorlayout.coordinatorlayout-1.0.0.aar Assets/Plugins/Android/androidx.core.core-1.2.0.aar Assets/Plugins/Android/androidx.cursoradapter.cursoradapter-1.0.0.aar Assets/Plugins/Android/androidx.customview.customview-1.0.0.aar Assets/Plugins/Android/androidx.documentfile.documentfile-1.0.0.aar Assets/Plugins/Android/androidx.drawerlayout.drawerlayout-1.0.0.aar Assets/Plugins/Android/androidx.fragment.fragment-1.0.0.aar Assets/Plugins/Android/androidx.interpolator.interpolator-1.0.0.aar Assets/Plugins/Android/androidx.legacy.legacy-support-core-ui-1.0.0.aar Assets/Plugins/Android/androidx.legacy.legacy-support-core-utils-1.0.0.aar Assets/Plugins/Android/androidx.lifecycle.lifecycle-common-2.0.0.jar Assets/Plugins/Android/androidx.lifecycle.lifecycle-livedata-2.0.0.aar Assets/Plugins/Android/androidx.lifecycle.lifecycle-livedata-core-2.0.0.aar Assets/Plugins/Android/androidx.lifecycle.lifecycle-runtime-2.0.0.aar Assets/Plugins/Android/androidx.lifecycle.lifecycle-viewmodel-2.0.0.aar Assets/Plugins/Android/androidx.loader.loader-1.0.0.aar Assets/Plugins/Android/androidx.localbroadcastmanager.localbroadcastmanager-1.0.0.aar Assets/Plugins/Android/androidx.print.print-1.0.0.aar Assets/Plugins/Android/androidx.slidingpanelayout.slidingpanelayout-1.0.0.aar Assets/Plugins/Android/androidx.swiperefreshlayout.swiperefreshlayout-1.0.0.aar Assets/Plugins/Android/androidx.versionedparcelable.versionedparcelable-1.1.0.aar Assets/Plugins/Android/androidx.viewpager.viewpager-1.0.0.aar Assets/Plugins/Android/com.google.android.gms.play-services-base-18.0.1.aar Assets/Plugins/Android/com.google.android.gms.play-services-basement-18.0.0.aar Assets/Plugins/Android/com.google.android.gms.play-services-drive-17.0.0.aar Assets/Plugins/Android/com.google.android.gms.play-services-games-v2-17.0.0.aar Assets/Plugins/Android/com.google.android.gms.play-services-nearby-18.0.2.aar Assets/Plugins/Android/com.google.android.gms.play-services-tasks-18.0.1.aar Assets/Plugins/Android/com.google.games.gpgs-plugin-support-0.11.01.aar `
userqt commented 2 years ago

I am not sure if this is the correct way, but after I deleted all the other stuff in the plugins->android folder, I left with this: image

And the play services are working. Though this increases my app with about 2MB. It is very discouraging at this point, especially when one want to build an instant app.