Gradle tasks [:app:assembleDebug]
C:\Users\davis\AndroidStudioProjects\tester\app\src\main\res\values\dimens.xml
Error:Error: Found item Dimension/abc_alert_dialog_button_bar_height more than one time
Error:Execution failed for task ':app:mergeDebugResources'. C:\Users\davis\AndroidStudioProjects\tester\app\src\main\res\values\dimens.xml:
Error: Found item Dimension/abc_alert_dialog_button_bar_height more than one time
Information:BUILD FAILED
Information:Total time: 6.044 secs Information:2 errors Information:0 warnings Information:See complete output in console
请给我建议任何IDE或解决方案。
看看这个代码............................. <?xml version =“ 1.0" 编码= “UTF-8”?> <扪名= “abc_alert_dialog_button_bar_height”> 48dp <扪名= “abc_alert_dialog_button_bar_height”> 54dp 它与DP的不同,但他们有相同的名字......这就是为什么gradle显示它作为一个副本..我正在测试一个现有的应用程序..我必须找到这个应用程序的开发人员如何建立apk ....他可以使用哪个IDE? –
除Android Studio外,没有官方IDE。该XML是不明确的。至于不同的尺寸,您可以将底部的尺寸更改为“abc_alert_dialog_button_bar_height_1”并搜索其用途并相应地更改用途。 –