Android Studio 3.1 Cannot Resolve Symbol (Themes, Widget, attr, etc.)

前端 未结 16 2040
梦如初夏
梦如初夏 2020-11-29 01:21

I upgraded Android Studio today to 3.1, and now Android Studio says it cannot resolve symbols for most of the resources (for example ThemeOverlay in style

16条回答
  •  借酒劲吻你
    2020-11-29 02:03

    Example

    setContentView(R.layout.activity_login_ativity);

    1. Put the cursor in R
    2. Click Alt+Enter
    3. Choose import class R

    Work for me :)

提交回复
热议问题