Invalid main APK outputs : EarlySyncBuildOutput(type=com.android.build.gradle.internal.scope.InternalArtifactTypeKaTeX parse error: Undefined control sequence: \work at position 65: …on=0, output=F:\ ̲ w ̲ o ̲ r ̲ k ̲\ MobileWMS\app\… [email protected] , apkType=MAIN, filtersData=[], version=0, output=F:\work\MobileWMS\app\build\outputs\apk\debug\output-metadata.json)
An error is reported when the version is too low. An error is reported when compiling again
after modifying the gradle version, an error is reported when compiling again, which is caused by the previously compiled APK
Solution:
Click clean project under the build directory to clear the previously compiled data
clear and then compile!
Read More:
- [Solved] Android Studio Error: The binary version of its metadata is 1.5.1, expected version is 1.1.15.
- IDEA reports an error Could not reserve enough space for xxxxKB object heap processing
- Execution failed for task ‘:app:kaptDebugKotlin‘ [How to Solve]
- Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment
- Mac Vscode C++ Customize Header File Error: linker command failed
- [Solved] Unity Package Error: FAILURE: Build failed with an exception.
- [Solved] Compile Error: AAPT: error: resource android:attr/lStar not found
- error: resource android:attr/lStar not found [How to Solve]
- Android Error:Internal error:org.gradle.tooling.BuildException: Could not execute build…
- [Solved] Execution failed for task ‘:app:checkDebugAarMetadata‘
- Android Studio Error: String index out of range 0 [How to Solve]
- Failed to find Build Tools revision 30.0.3 [How to Solve]
- [Solved] Groovy Project Compile Error: java.lang.NoClassDefFoundError: org/apache/tools/ant/util/ReaderInputStream
- [Solved] error: failed to run custom build command for `librocksdb-sys v6.17.3`
- [Solved] Android Studio Compile Error: Could not determine java version from ‘11.0.8‘.
- [Solved] Android Studio Compile Error: Execution failed for task ‘:APP_MIDI:lintVitalRelease‘.
- [Solved] UE4UE5 Package Android Error: UnrealBuildTool failed
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- [Solved] Project Upgrade Gradle error (Bugly is integrated)
- [Solved] IDEA Error: java: Compilation failed: internal java compiler error