0

Android studio cannot resolve symbols widget and v7

I've tried :- restarting, importing, commenting the implementation statements and syncing it again, make sure libraries are up-to-date

import android.support.v4.widget.SimpleCursorAdapter;
import android.support.v7.app.ActionBarActivity;
Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

1

Maybe your Android studio has migrated your project to androidx. For further info check this link https://developer.android.com/jetpack/androidx/migrate

Use those instead if that's the case,

import androidx.cursoradapter.widget.SimpleCursorAdapter;
import androidx.appcompat.app.AppCompatActivity;
Mohimenul Joaa
  • 646
  • 6
  • 10