Contents of articles
1、 2. Solutions
1、 Error information
When packaging and compiling Android applications, the following error is reported:;
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> Entry name 'assets/xxx.xml' collided
* 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 2m 26s
51 actionable tasks: 5 executed, 46 up-to-date
2、 Solutions
The reason for the above error is that there is already a file in the target path to generate APK. Just delete the APK installation package generated last time;
Read More:
- Flutter development: prompt error parsing localfile when running the project: ‘/ users / xxx / Android / APP / SRC / main / androidmanifest. XML’… Solution
- Android: How to Solve Execution failed for task ‘:app:compileDebugJavaWithJavac‘. > javax/xml/bind/JAXBException
- Differences between the assets directory in Android project and the purpose of resource
- Unity Android packaging error “UnityEditor.BuildPlayerWindow+BuildMethodException” solution record
- When Android Studio runs the app, it prompts Error: Please select Android SDK
- Android 9.0 APP Install Android 4.4 Error: classnotfoundexception
- How to Solve UE4 packaging Android error
- Android 4.1:Entry name ‘classes.dex‘ collided
- Error in unity URP packaging Android shader
- Android listview entry button click state chaos solution
- pom.xml Depending on the error report, the problem of missing artifact XXX is solved
- Android is Stuck in Download maven-metadata.xml [How to Solve]
- Error in Maven packaging web project: webxml attribute is required (or pre existing WEB-INF)/ web.xml if executing in update)
- [Python CONDA error] cache entry design failed, entry ignored error resolution
- [solved] not found android.support .v7. internal.app.WindowDecorActionbar
- web.xml Web app error in file
- As Error:Failed to find configured root that contains /storage/emulated/0/xxx/xxx/xxx.png
- Error running app:Instant Run requires Tools | Android Enable ADB integration‘ to be enabled.
- Adobe finally launched Photoshop fix on Android, a powerful mobile phone map revision app