W
W
werax2021-02-28 11:36:21
android studio
werax, 2021-02-28 11:36:21

I can't run the emulator in Android studio, what's the problem?

When you click on the RUN button, an error pops up:
This project uses AndroidX dependencies, but the 'android.useAndroidX' property is not enabled.
603b7f97b6a46595126832.png

I found a solution (or not a solution) on the Internet, put the code in the gradle.properties file:

android.useAndroidX=true
android.enableJetifier=true


But now another error pops up:
error: cannot find symbol import android.support.v4.app.Fragment;
603b7fcc81548691474783.png

How to solve this problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question