skip to Main Content

Android Studio – Error: app:mergeDebugResources FAILED, how to fix this?

What could be the solution for this error? Execution failed for task ':app:mergeDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed (Failed to compile values resource file C:UsersllAndroidStudioProjectsIntroappbuildintermediatesincrementaldebugmergeDebugResourcesmerged.dirvaluesvalues.xml. Cause: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@4e447e15.). Check logs for…

VIEW QUESTION

Android Studio – Facing issue on changing App Language in Android 13 & 14

I set my android app local via fun setSystemLocale(context: Context): Context { val locale = getCurrentLanguage().locale Locale.setDefault(locale) val configuration = Configuration(context.resources.configuration) configuration.setLocale(locale) configuration.setLayoutDirection(locale) context.resources.updateConfiguration(configuration, context.resources.displayMetrics) return context.createConfigurationContext(configuration) } set app local work fine on lower versions(Below Android 13) but, on…

VIEW QUESTION
Back To Top
Search