Answer the question
In order to leave comments, you need to log in
Android Studio does not import android.support.v7 library, how to fix?
There are 2 computers with Android Studio version 3.5.3. On one of them, a small project was written, in which View.OnClickListener was implemented in the main class:
public class NameActivity extends AppCompatActivity implements View.OnClickListener {}
import android.support.v7.app.AppCompatActivity;
implementation 'com.android.support:appcompat-v7:28.0.0'
Answer the question
In order to leave comments, you need to log in
import android.support.v7.app.AppCompatActivity;
remove it, make
a gredl fix it too,
implementation 'com.android.support:appcompat-v7:28.0.0'
shouldn't be there. With androidx in the same project, they do not get along well. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question