Android Studio: Background task running indefinitely

后端 未结 10 1193
心在旅途
心在旅途 2020-12-23 16:10

After updating the Android SDK, I started Android Studio. Now its showing background task continuously running with message

Updating indices: Scannin

10条回答
  •  庸人自扰
    2020-12-23 16:16

    This was happening in my project every time I added a new Activity. So I included my R file in that class and it stopped.

    eg: import com.domain.appname.R;

    This fixed the problem.

提交回复
热议问题