Error:layout bounds on right border must start at edge

前端 未结 2 511
再見小時候
再見小時候 2021-01-19 06:56

My project works fine yesterday; but when I Updated Android studio to 3.0 today and accordingly AAPT2 is enables by default. I have the following error:

Erro         


        
相关标签:
2条回答
  • 2021-01-19 07:22

    I faced the same problem after updating to 3.0. Added this line in the "gradle.properties" file of my project.

    android.enableAapt2=false
    

    Let me know if this works.

    0 讨论(0)
  • 2021-01-19 07:29

    You can check which one of them is bad by running "gradlew --info assembleDebug" in the terminal. In my case I removed the red border from one of them. Hope it helps.

    0 讨论(0)
提交回复
热议问题