본문 바로가기

Error “package android.support.v7.app does not exist”

mobile/android by 낼스 2020. 5. 9.

Use

implementation 'androidx.appcompat:appcompat:1.0.0'

Instead of

compile 'com.android.support:appcompat-v7:28.0.0'

Also in MainActivity.java : Use

import androidx.appcompat.app.AppCompatActivity;

instead of :

import android.support.v7.app.AppCompatActivity;

 

 

https://stackoverflow.com/questions/23330816/error-package-android-support-v7-app-does-not-exist

댓글