Android - Inner element must either be a resource reference or empty

前端 未结 8 1360
天涯浪人
天涯浪人 2020-11-29 04:00

Error Details

AGPBI: {\"kind\":\"error\",\"text\":\"error: \\u003citem\\u003e inner element must either be a resource reference or empty         


        
8条回答
  •  离开以前
    2020-11-29 04:27

    When declaring id in resources, the body should be empty

    
    

    For more info please have a look on below link

    https://developer.android.com/guide/topics/resources/more-resources#Id

    So as Oliver Manyasa mentioned, it should be as below

    
    
        
    
    

提交回复
热议问题