AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

Unity build error : Plugin [id: 'com.applovin.quality', version: '+', apply: false] was not found in any of the following sources #416

Open mrerenimo opened 2 months ago

mrerenimo commented 2 months ago

MAX Plugin Version

6.6.2

Unity Version

2021.3.42

Device/Platform Info

Android

Current Behavior

I'm getting an error when build the project for android

Expected Behavior

No response

How to Reproduce

Following settings should reproduce the build error

JDK SDK and NDK are default.

Gradle 6.8

resim_2024-08-21_171015072

settings.gradle image

gradle-wrapper.properties distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip

build.gradle image

gradleTemplate.properties image

mainTemplateGradle mainTemplate.txt

image

Minimum API Level 29 Target API Level 34

Additional Info

No response

mrerenimo commented 2 months ago

Edit : Plugin version 6.6.3 is also not working

JonathanLiuApp commented 2 months ago

@mrerenimo Unfortunately I wasn't able to reproduce your issue. Could you try resetting your gradle template files by deleting and re-adding them? Also, could you make sure that there aren't multiple External Dependency Manager versions in your project? Our Unity Plugin recently updated to EDM version 1.2.182 and you would need to delete the older versions manually.

mrerenimo commented 2 months ago

We've updated EDM to 1.2.182 and Gradle to 7.5.1 (also updated Firebase to 12.2.0). We both tried with Unity's builtin Gradle and custom Gradle.

`

Configure project :launcher

AppLovin Quality Service Plug-in for Gradle and Android Studio Version 5.4.5 Copyright (c) 2024 AppLovin Ltd. All rights reserved.

WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 34

This Android Gradle plugin (7.4.2) was tested up to compileSdk = 33

This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=34 to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 34

Task :launcher:preBuild UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:preBuild UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:preBuild UP-TO-DATE Task :launcher:preReleaseBuild UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:preBuild UP-TO-DATE Task :unityLibrary:preBuild UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:preReleaseBuild UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:preReleaseBuild UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:preReleaseBuild UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:preReleaseBuild UP-TO-DATE Task :unityLibrary:preReleaseBuild UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:compileReleaseAidl NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:compileReleaseAidl NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:compileReleaseAidl NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseAidl NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:packageReleaseRenderscript NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:packageReleaseRenderscript NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:packageReleaseRenderscript NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseRenderscript NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:compileReleaseRenderscript NO-SOURCE Task :launcher:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResValues UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:generateReleaseResValues UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:generateReleaseResValues UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:generateReleaseResources UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:generateReleaseResources UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:generateReleaseResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResValues UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseResources UP-TO-DATE Task :launcher:javaPreCompileRelease UP-TO-DATE Task :launcher:generateReleaseResValues UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:packageReleaseResources UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:packageReleaseResources UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:packageReleaseResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseResources UP-TO-DATE Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE Task :launcher:extractProguardFiles UP-TO-DATE Task :launcher:mergeReleaseJniLibFolders UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:parseReleaseLocalResources UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:parseReleaseLocalResources UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:parseReleaseLocalResources UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:parseReleaseLocalResources UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:processReleaseManifest UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:processReleaseManifest UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseManifest UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:processReleaseManifest UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:generateReleaseRFile UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:generateReleaseRFile UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:generateReleaseRFile UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseRFile UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:javaPreCompileRelease UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:javaPreCompileRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:javaPreCompileRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseJavaWithJavac UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:compileReleaseJavaWithJavac UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:compileReleaseJavaWithJavac UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibCompileToJarRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleLibCompileToJarRelease UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileToJarRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeReleaseJniLibFolders UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJniLibFolders UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseJniLibFolders UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeReleaseNativeLibs NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseNativeLibs NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseNativeLibs NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:stripReleaseDebugSymbols NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:stripReleaseDebugSymbols NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:stripReleaseDebugSymbols NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:extractDeepLinksForAarRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksForAarRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractDeepLinksForAarRelease UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:compileReleaseJavaWithJavac UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:bundleLibCompileToJarRelease UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseJniLibFolders UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseNativeLibs NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:stripReleaseDebugSymbols NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:copyReleaseJniLibsProjectAndLocalJars UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:extractDeepLinksForAarRelease UP-TO-DATE Task :unityLibrary:mergeReleaseJniLibFolders Task :unityLibrary:compileReleaseAidl NO-SOURCE Task :unityLibrary:compileReleaseRenderscript NO-SOURCE Task :unityLibrary:generateReleaseResValues UP-TO-DATE Task :unityLibrary:extractDeepLinksForAarRelease UP-TO-DATE Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE Task :unityLibrary:generateReleaseResources UP-TO-DATE Task :unityLibrary:packageReleaseResources UP-TO-DATE Task :unityLibrary:parseReleaseLocalResources UP-TO-DATE Task :unityLibrary:processReleaseManifest UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:extractReleaseAnnotations UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractReleaseAnnotations UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:extractReleaseAnnotations UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:extractReleaseAnnotations UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseGeneratedProguardFiles UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseConsumerProguardFiles UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeReleaseShaders UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseShaders UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseShaders UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseShaders NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseShaders UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:compileReleaseShaders NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:generateReleaseAssets UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:compileReleaseShaders NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:generateReleaseAssets UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:generateReleaseAssets UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:compileReleaseShaders NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:generateReleaseAssets UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:packageReleaseAssets UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:packageReleaseAssets UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:packageReleaseAssets UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:packageReleaseAssets UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:prepareLintJarForPublish UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:prepareLintJarForPublish UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:prepareLintJarForPublish UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:prepareLintJarForPublish UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:prepareReleaseArtProfile UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:prepareReleaseArtProfile UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:prepareReleaseArtProfile UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:prepareReleaseArtProfile UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:extractProguardFiles UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:processReleaseJavaRes NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:processReleaseJavaRes NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.androidlib:processReleaseJavaRes NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:generateReleaseLibraryProguardRules UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:processReleaseJavaRes NO-SOURCE Task :unityLibrary:FirebaseCrashlytics.androidlib:mergeReleaseJavaResource UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:mergeReleaseJavaResource UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeReleaseJavaResource UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:mergeReleaseJavaResource UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:syncReleaseLibJars UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:syncReleaseLibJars UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:syncReleaseLibJars UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:writeReleaseAarMetadata UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:writeReleaseAarMetadata UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:writeReleaseAarMetadata UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:bundleReleaseLocalLintAar UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleReleaseLocalLintAar UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleReleaseLocalLintAar UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:extractDeepLinksRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:extractDeepLinksRelease UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:compileReleaseLibraryResources UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:compileReleaseLibraryResources UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:compileReleaseLibraryResources UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleLibResRelease NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:bundleLibResRelease NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibResRelease NO-SOURCE Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:createFullJarRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:createFullJarRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:createFullJarRelease UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:writeReleaseLintModelMetadata UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:writeReleaseLintModelMetadata UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:writeReleaseLintModelMetadata UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:copyReleaseJniLibsProjectOnly UP-TO-DATE Task :unityLibrary:GooglePlayGamesManifest.androidlib:bundleLibRuntimeToDirRelease UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToDirRelease UP-TO-DATE Task :unityLibrary:FirebaseCrashlytics.androidlib:bundleLibRuntimeToDirRelease UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:minifyReleaseWithR8 UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:syncReleaseLibJars UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:writeReleaseAarMetadata UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:bundleReleaseLocalLintAar UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:extractDeepLinksRelease UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:compileReleaseLibraryResources UP-TO-DATE Task :unityLibrary:mobilenotifications.androidlib:bundleLibResRelease NO-SOURCE Task :unityLibrary:mobilenotifications.androidlib:bundleLibRuntimeToJarRelease UP-TO-DATE

`

`Note: \Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

image

GoRoX98 commented 1 week ago

@mrerenimo Delete BidMachine - It helped me. If its dont help for you - start intagrate AppLovin again and add adapters 1 by 1