Hello. I was about to compile my game in .aab format for the first time for publishing on Google Play. However, I got a weird compilation error. I tried a lot of things, but the error never changed.
Build R292.28
Build API: 30 (no effect if changed to 29)
Minimum Android version: 4.3 (no effect if changed to 5.0)
Target Android version: 10.0
Release mode activated
My Keystore and the build file are at C:\
Please login to see this attachment.
I gave my mfa file to a friend to try to compile it on his computer and he didn’t have any compilation errors, the application compiled. After that I thought there was a problem with Android Studio on my computer and the Android SDK in it, but reinstalling it didn't change anything. Reinstalling CTF didn't help either.
Here is my error log:
> Configure project :app
WARNING: The option 'android.useDeprecatedNdk' is deprecated.
The current default is 'false'.
It has been removed from the current version of the Android Gradle plugin.
NdkCompile is no longer supported
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:processReleaseManifest
> Task :app:checkReleaseDuplicateClasses
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:mergeReleaseJniLibFolders
> Task :app:collectReleaseDependencies
> Task :app:configureReleaseDependencies
> Task :app:validateSigningRelease
> Task :app:mergeReleaseResources
> Task :app:processReleaseResources FAILED
> Task :app:bundleReleaseResources FAILED
> Task :app:mergeReleaseNativeLibs
> Task :app:mergeReleaseJavaResource
> Task :app:mergeExtDexRelease
> Task :app:parseReleaseIntegrityConfig
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\Rushan\AppData\Local\Temp\And2FD4.tmp\app\src\main\AndroidManifest.xml:41:3-42:36: AAPT: error: resource string/app_Id (aka ru.rushangames.thisgame:string/app_Id) not found.
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:bundleReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
C:\Users\Rushan\AppData\Local\Temp\And2FD4.tmp\app\build\intermediates\bundle_manifest\release\bundle-manifest\AndroidManifest.xml:51: AAPT: error: resource string/app_Id (aka ru.rushangames.thisgame:string/app_Id) not found.
* 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 3s
20 actionable tasks: 20 executed
Display More