Android Studio New Project Creation Does Not Display Preview Screen

Asked 1 months ago, Updated 1 months ago, 3 views

Enter image description here

when creating a new project on Android Studio

A message like this appears in the lower center and the preview screen does not appear.Enter a description of the image here
How can I resolve this issue and bring up a preview screen?

android-studio

2022-09-30 11:12

1 Answers

I think it's because there's no AppCompat in it or it's not defined as a dependency.

https://developer.android.com/tools/support-library/setup.html

↑How about downloading the Android Support Library from SDK Manager and adding the following to build.gradle?

 dependencies {
    ...
    compile "com.android.support:appcompat-v7:18.0.+"
}


2022-09-30 11:12

If you have any answers or tips


© 2022 OneMinuteCode. All rights reserved.