M
M
MutanatArtyom2021-03-17 16:15:42
Java
MutanatArtyom, 2021-03-17 16:15:42

Help please, when building a game in apk an error occurs (clickteam fusion 2.5) what to do?

here is this error
> 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:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app: generateDebugBuildConfig
> Task :app:generateDebugResValues
​​> Task :app:generateDebugResources
> Task :app:javaPreCompileDebug
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugManifest
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task : app:mergeDebugResources FAILED
> Task :app:mergeDebugJavaResource

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource compilation failed
C:\Users\user\AppData\Local\Temp\And52C8.tmp\app\src\main\res\values\strings.xml:3:1-61: AAPT: error: unescaped apostrophe in string

C:\Users\ user\AppData\Local\Temp\And52C8.tmp\app\src\main\res\values\strings.xml:3:1-61: AAPT: error: not a valid string.

C:\Users\user\AppData\Local\Temp\And52C8.tmp\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml: AAPT: error: file failed to compile.


* 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.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
acwartz, 2021-03-19
@acwartz

MutanatArtyom , the real error is:


C:\Users\user\AppData\Local\Temp\And52C8.tmp\app\src\main\res\values\strings.xml:3:1-61: AAPT: error: unescaped apostrophe in string
C:\Users\ user\AppData\Local\Temp\And52C8.tmp\app\src\main\res\values\strings.xml:3:1-61: AAPT: error: not a valid string.

One of the localizations strings in file:
\app\src\main\res\values\strings.xml:3:1-61
have ` char, that should be rewritten as \` to fix error in deployment process.
The 3 seems to be a line of that file, 1-61 are successful readed chars until error happened.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question