The activity_main.xml in Android Studio cannot be previewed (the gray page only displays the ActionBaroverLayout) and controls cannot be pulled into it. The styles.xml file is in the values file
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
</style>
To change to the preview state, add “base.” before the Theme in the
Read More:
- Android studio NDK setting is gray and cannot be solved
- Android Studio cannot create a new activity and reports ide internal error occurred
- Android studio prompt: failed to instance one or more classes appcompattextview
- Flutter development: prompt error parsing localfile when running the project: ‘/ users / xxx / Android / APP / SRC / main / androidmanifest. XML’… Solution
- Solve the error reported by Android studio directly running java.main
- Android’s viewpager slides to determine whether the current stop page is the last page
- Win10 install Android Studio error Unable to elevate [error: 1812] solution
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- Get the startup activity of Android apk
- Supplement to the problem of “Session’app’: Error Launching activity” when running on Android
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Android Studio – add configuration for Android studio
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- Android Studio Error: Invoke-customs are only supported starting with Android O (–min-api 26)
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- stay web.xml Configure error page in
- About Android studio error: (26,13) failed to resolve: com.android.support : appcompat-v7:27. + error
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- When Android Studio runs the app, it prompts Error: Please select Android SDK