Olá, eu fiz o curso de construção de torre em bloco para mobile com os ads incllusos. Porém no momento que publico o jogo na google não aparece os anúncios e segui passo a passo o curso.
Quando abro o projeto da unity, algumas vezes aparece o seguinte erro:
Mediation requires Mobile Dependency Resolver to resolve native dependencies.
Would you like to import the package?
Porém fiz exatamente os passos do curso. Estou com problemas com isso e não consigo resolver. Sei que este problema afeta justamente os anúncios. Alguém consegue me ajudar?
Um dos erros que aparece no console quando tento dar um Force Resolve na opção Mobile Dependency Resolver é:
Win32Exception: ApplicationName=‘C:\Users\jhona\ProjetosUNITY\FirstUnvierse\VaiCair\Temp\PlayServicesResolverGradle\gradlew.bat’, CommandLine=‘–no-daemon -b “C:\Users\jhona\ProjetosUNITY\FirstUnvierse\VaiCair\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle” “-PANDROID_HOME=C:/Program Files/Unity/Hub/Editor/2022.3.45f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK” “-PTARGET_DIR=C:\Users\jhona\ProjetosUNITY\FirstUnvierse\VaiCair\Assets\Plugins\Android” “-PMAVEN_REPOS=https://maven.google.com/” “-PPACKAGES_TO_COPY=com.unity3d.ads:unity-ads:[4.12.0,4.13[” “-PUSE_JETIFIER=0” “-PDATA_BINDING_VERSION=7.4.2”’, CurrentDirectory=‘C:\Users\jhona\ProjetosUNITY\FirstUnvierse\VaiCair\Temp\PlayServicesResolverGradle’, Native error= O sistema não pode encontrar o arquivo especificado.
System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <09af50eda9a647268d2c4fcdf7fac506>:0)
System.Diagnostics.Process.Start () (at <09af50eda9a647268d2c4fcdf7fac506>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
GooglePlayServices.CommandLine.RunViaShell (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary2[TKey,TValue] envVars, GooglePlayServices.CommandLine+IOHandler ioHandler, System.Boolean useShellExecution, System.Boolean stdoutRedirectionInShellMode) (at <6107d0e161ea44f5b1a06a3cb63d4bc0>:0) GooglePlayServices.CommandLine.Run (System.String toolPath, System.String arguments, System.String workingDirectory, System.Collections.Generic.Dictionary
2[TKey,TValue] envVars, GooglePlayServices.CommandLine+IOHandler ioHandler) (at <6107d0e161ea44f5b1a06a3cb63d4bc0>:0)
GooglePlayServices.CommandLine+c__AnonStorey0.<>m__1 () (at <6107d0e161ea44f5b1a06a3cb63d4bc0>:0)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
System.Threading.ThreadHelper.ThreadStart () (at <8ce0bd04a7a04b4b9395538239d3fdd8>:0)
UnityEngine.<>c:b__0_0(Object, UnhandledExceptionEventArgs)