• Не запускается реклама в Яндекс.Играх?

    @K1ald Автор вопроса
    LoliDeveloper, Плохо? В каком смысле?

    Разработчик покупает рекламу, в которой будет его игра и показываться будет другим в других приложениях.
    Я говорю о другом. разработчик настроил рекламу в своей игре, и за ее просмотры ему начисляются деньги.

    "а кто-то решит просто попросматривать рекламы, сливая его бюджет."
    В таком случае скажу: Практически никто не смотрит рекламу в надежде на установки рекламируемых приложений, может быть изредка что то заинтересует...
  • Ошибки при компиляции в юнити(текст ошибок приведен), прошу помочь!..?

    @K1ald Автор вопроса
    Удалить Gradle? В каком смысле "избавиться"?
  • Ошибки при компиляции в юнити(текст ошибок приведен), прошу помочь!..?

    @K1ald Автор вопроса
    Еще одна ошибка.

    CommandInvokationFailure: Gradle build failed.
    D:/Unity/2019.4.18f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "D:\Unity\2019.4.18f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"

    stderr[
    Note: D:\Unity\UnityProjects\MyFirstPlatformer\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.

    * What went wrong:
    Execution failed for task ':launcher:transformNativeLibsWithMergeJniLibsForRelease'.
    > org/apache/commons/codec/binary/Base64

    * 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 22s
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    ]
    stdout[
    Starting a Gradle Daemon, 1 busy and 1 incompatible and 1 stopped Daemons could not be reused, use --status for details

    > Configure project :launcher
    cache module-artifact.bin (C:\Users\nix\.gradle\caches\modules-2\metadata-2.69\module-artifact.bin) is corrupt. Discarding.
    cache resource-at-url.bin (C:\Users\nix\.gradle\caches\modules-2\metadata-2.69\resource-at-url.bin) is corrupt. Discarding.
    Unable to parse settings file C:\Users\nix\.android\analytics.settings: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.

    > Configure project :unityLibrary
    WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    The current default is 'true'.

    > Task :launcher:preBuild UP-TO-DATE
    > Task :unityLibrary:preBuild UP-TO-DATE
    > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    > Task :launcher:prepareLintJar
    > Task :unityLibrary:checkReleaseManifest
    > Task :unityLibrary:processReleaseManifest
    > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    > Task :unityLibrary:generateReleaseResValues
    > Task :unityLibrary:generateReleaseResources
    > Task :launcher:preReleaseBuild
    > Task :launcher:compileReleaseRenderscript NO-SOURCE
    > Task :launcher:generateReleaseResValues
    > Task :launcher:generateReleaseResources
    > Task :launcher:checkReleaseManifest
    > Task :launcher:createReleaseCompatibleScreenManifests
    > Task :launcher:mainApkListPersistenceRelease
    > Task :launcher:processReleaseManifest
    > Task :launcher:mergeReleaseShaders
    > Task :launcher:compileReleaseShaders
    > Task :launcher:generateReleaseAssets
    > Task :launcher:checkReleaseDuplicateClasses
    > Task :launcher:generateReleaseBuildConfig
    > Task :launcher:mergeReleaseJniLibFolders
    > Task :launcher:processReleaseJavaRes NO-SOURCE
    > Task :launcher:collectReleaseDependencies
    > Task :launcher:configureReleaseDependencies
    > Task :unityLibrary:packageReleaseResources
    > Task :unityLibrary:mergeReleaseShaders
    > Task :unityLibrary:compileReleaseShaders
    > Task :unityLibrary:generateReleaseAssets
    > Task :launcher:validateSigningRelease
    > Task :launcher:mergeReleaseResources
    > Task :unityLibrary:packageReleaseAssets
    > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    > Task :unityLibrary:generateReleaseBuildConfig
    > Task :unityLibrary:generateReleaseRFile
    > Task :unityLibrary:prepareLintJar
    > Task :unityLibrary:generateReleaseSources
    > Task :unityLibrary:javaPreCompileRelease
    > Task :launcher:bundleReleaseResources
    > Task :launcher:mergeReleaseAssets
    > Task :launcher:compileReleaseAidl NO-SOURCE
    > Task :launcher:generateReleaseSources
    > Task :launcher:processReleaseResources
    > Task :launcher:signingConfigWriterRelease

    > Task :unityLibrary:compileReleaseJavaWithJavac

    > Task :unityLibrary:bundleLibCompileRelease
    > Task :launcher:javaPreCompileRelease
    > Task :unityLibrary:bundleLibRuntimeRelease
    > Task :unityLibrary:processReleaseJavaRes NO-SOURCE
    > Task :unityLibrary:bundleLibResRelease
    > Task :launcher:compileReleaseJavaWithJavac
    > Task :unityLibrary:mergeReleaseJniLibFolders
    > Task :unityLibrary:transformNativeLibsWithMergeJniLibsForRelease
    > Task :unityLibrary:transformNativeLibsWithIntermediateJniLibsForRelease
    > Task :launcher:transformClassesWithDexBuilderForRelease
    > Task :launcher:transformDexArchiveWithExternalLibsDexMergerForRelease
    > Task :launcher:transformDexArchiveWithDexMergerForRelease
    > Task :launcher:transformNativeLibsWithMergeJniLibsForRelease FAILED

    Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/5.1.1/userguide/command_li...
    44 actionable tasks: 44 executed
    ]
    exit code: 1
    UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
    UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at :0)
    UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at :0)
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0)
    Rethrow as GradleInvokationException: Gradle build failed
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at :0)
    UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
    Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at :0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at :0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
  • Не получается решить проблему с JDK в Unity. Скачиваю с оф.сайта, устанавливаю - игру не билдит. Что не так?

    @K1ald Автор вопроса
    Орхан Гасанлы, Переустановка решила эту проблему, но вместо нее появилась новая при компиляции: Gradle build failed .
    Я посмотрел видео на эту тему, проверил пути, русских букв нет.
    Очень жаль что не могу заниматься любимым делом из-за этих надоедливых ошибок и проблем..