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」並搜索其用途並相應地更改用途。 –