android-resources

Resource entry is already defined

蹲街弑〆低调 提交于 2020-06-27 10:30:16
问题 I'm trying to add a splash.png image but when I compile it says this: Error:error: Resource entry splash is already defined. res\drawable-hdpi-v4\splash.jpg:0: Originally defined here. Error:error: Resource entry splash is already defined. res\drawable-xhdpi-v4\splash.jpg:0: Originally defined here. Error:error: Resource entry splash is already defined. res\drawable-xxhdpi-v4\splash.jpg:0: Originally defined here. Error:Execution failed for task ':app:processDebugResources'. > com.android.ide

Exception android.content.res.Resources$NotFoundException: File res/color/selector_tab_blue_white.xml from drawable resource ID #0x7f0601d8

こ雲淡風輕ζ 提交于 2020-05-17 05:55:06
问题 I am using tabLayout as <com.google.android.material.tabs.TabLayout android:id="@+id/tabLayoutSubscriptionDays" style="@style/CustomTabLayoutTextSizeSix" android:layout_width="match_parent" android:layout_height="@dimen/_40sdp" android:background="@color/white" app:tabBackground="@color/selector_tab_blue_white" app:tabIndicatorColor="@color/transparent" app:tabMode="fixed" app:tabSelectedTextColor="@color/white" app:tabTextColor="@color/black" /> In some devices i am getting exception as like

Error: Multiple substitutions specified in non-positional format; did you mean to add the formatted=“false” attribute?

一世执手 提交于 2020-05-12 11:09:12
问题 I have an Android app, which throws on BUILD process following error: /home/Ralf/Projekte/University/android-sampleapp/sampleapp/build/intermediates/bundles/debug/res/values-de/values-de.xml Error:(88, 5) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? Error:(88, 5) Unexpected end tag string /home/Ralf/Projekte/University/android-sampleapp/sampleapp/build/intermediates/bundles/debug/res/values/values.xml Error:(106, 5) Multiple

Error: Multiple substitutions specified in non-positional format; did you mean to add the formatted=“false” attribute?

巧了我就是萌 提交于 2020-05-12 11:06:01
问题 I have an Android app, which throws on BUILD process following error: /home/Ralf/Projekte/University/android-sampleapp/sampleapp/build/intermediates/bundles/debug/res/values-de/values-de.xml Error:(88, 5) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? Error:(88, 5) Unexpected end tag string /home/Ralf/Projekte/University/android-sampleapp/sampleapp/build/intermediates/bundles/debug/res/values/values.xml Error:(106, 5) Multiple