Broke my whole head. I import ADMOB, then I try to install libraries via - Resolving Android Dependencie And an error occurs:
C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Temp\PlayServicesResolverGradle\gradlew.bat --no-daemon -b "C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" "-PANDROID_HOME=E:/Unity/Unity_app/2020.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK" "-PTARGET_DIR=C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Assets\Plugins\Android" "-PMAVEN_REPOS=https://maven.google.com/" "-PPACKAGES_TO_COPY=com.google.android.gms:play-services-ads:20.2.0" "-PUSE_JETIFIER=0" "-PDATA_BINDING_VERSION=3.6.0" Executing command: C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Temp\PlayServicesResolverGradle\gradlew.bat --no-daemon -b "C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" "-PANDROID_HOME=E:/Unity/Unity_app/ 2020.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK" "-PTARGET_DIR=C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Assets\Plugins\Android" "-PMAVEN_REPOS=https://maven.google.com/" "-PPACKAGES_TO_COPY=com.google.android.gms:play-services-ads:20.2.0" "-PUSE_JETIFIER=0" "-PDATA_BINDING_VERSION=3.6.0"
Reporting analytics data: /androidresolver/resolve/gradle/failed/fetch?unityVersion=2020.3.5f1&unityPlatform=WindowsEditor&installSource=unitypackage&version=1.2.167&scope= 'Android Resolver: Gradle Resolve: Tool Extraction Failed' ERROR: Gradle failed to fetch dependencies.
Failed to run 'C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Temp\PlayServicesResolverGradle\gradlew.bat --no-daemon -b "C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" "-PANDROID_HOME=E:/Unity/Unity_app/2020.3.5f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK" "-PTARGET_DIR=C:\Users\Aleksandr\Desktop\Unity games\BubblesBumbes\Assets\Plugins\Android" "-PMAVEN_REPOS=https://maven.google.com/" "-PPACKAGES_TO_COPY=com.google.android.gms:play-services-ads:20.2.0" "-PUSE_JETIFIER=0" "-PDATA_BINDING_VERSION=3.6.0"' stdout:
stderr: Exception in thread "main" java.lang.RuntimeException: Gradle distribution 'C:\Users\Aleksandr.gradle\wrapper\dists\gradle-5.1.1-bin\90y9l8txxfw1s2o6ctiqeruwn' contains too many directories.Expected to find exactly 1 directory.
I was looking for everything I could.. I did everything.. I need help !!!!
You need to do these things to ensure that you can resolve android dependency
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.