Open AnatolySnegovskiy opened 3 years ago
Получилось исправить? Сегодня столкнулся с такой же проблемой при установке AppsFlyer (видимо конфликтует с AdMob)
I am getting this error as well, any fixes?
Man! Me too! Can't enable IAP on my app, which was supposed to go live this weekend!
Ok, so, basically we should NOT follow Google's documentation. We just need to enable Unity IAP service, because it already implements Google Billing. So to fix this problem, just delete folder /Assets/GooglePlayPlugins
Thanks! That fixed the issue
It seems @gargaroots is right!
In my case I need some of the other Google stuff (In App Review to be precise) so deleting just /Assets/GooglePlayPlugins/com.google.play.billing
solve the issue for me.
The release notes (https://github.com/google/play-unity-plugins/releases) claim this is fixed in 1.4.0, even though the bug is still open here.
However, when I try with 1.4.0, I get exactly the same behavior as reported here.
The workaround of skipping Google Play Billing during import, or deleting com.google.play.billing after import, seems to work fine (assuming you don't actually need Google Play Billing but do need other parts of the package).
hello everyOne I am taking this issue FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
1 exception was raised by workers: java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.IResultReceiver found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.ResultReceiver found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.ResultReceiver$1 found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2) Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:27.0.2)
Go to the documentation to learn how to Fix dependency resolution errors.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 7s Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
0x00007FF7D689258C (Unity) StackWalker::GetCurrentCallstack
0x00007FF7D6896531 (Unity) StackWalker::ShowCallstack
0x00007FF7D4EF5AE5 (Unity) GetStacktrace
0x00007FF7D754FFCE (Unity) DebugStringToFile
0x00007FF7D68F6131 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x0000020677D4BD1B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000020677D4BBBB (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000020677D4B0DE (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000002067FCCFDFA (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000002067FCDF493 (Mono JIT Code) UnityEditor.Android.GradleInvokationException:ParseAndShowException ()
0x000002067F917E6B (Mono JIT Code) UnityEditor.Android.PostProcessor.PostProcessRunner:RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext)
0x000002067FBE76EB (Mono JIT Code) UnityEditor.Android.PostProcessAndroidPlayer:PostProcess (UnityEditor.BuildTarget,string,string,string,string,string,string,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x000002067FBE50EB (Mono JIT Code) UnityEditor.Android.AndroidBuildPostprocessor:PostProcess (UnityEditor.Modules.BuildPostProcessArgs,UnityEditor.BuildProperties&)
0x000002067FBE42D2 (Mono JIT Code) UnityEditor.PostprocessBuildPlayer:Postprocess (UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,string,string,string,int,int,UnityEditor.BuildOptions,UnityEditor.RuntimeClassRegistry,UnityEditor.Build.Reporting.BuildReport)
0x000002067FBE48A0 (Mono JIT Code) (wrapper runtime-invoke)
any solution these problem
Получилось исправить? Сегодня столкнулся с такой же проблемой при установке AppsFlyer (видимо конфликтует с AdMob)
а у тебя получилось?
As I are fed up as not a plugin so constant problems.
Your plugins conflict with your plugins, despite the fact that you have your own checker, there are no words.... zadolbali(((
CommandInvokationFailure: Gradle build failed. C:\Program Files\Unity\Hub\Editor\2020.2.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2020.2.1f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.6.4.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
`stderr[ Note: C:\GameDev\UnityProjects\Color Gem Puzzle\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.