android.support.v4.app.AppCompatActivity code example
Example: import android.support.v7.app.appcompatactivity error
//if you are using androidx......
import android.support.v7.app.AppCompatActivity;
//to
import androidx.appcompat.app.AppCompatActivity;