Sometimes the android apk support is not working properly in Android Studio. In order to fix that we have to apply a hack. To start with it, firstly we have to go settings that are present in the file or you can also use a shortcut of Ctrl+Alt+S. After clicking on settings, a new window will appear showing you all the settings that you can change. On the left side of the settings, find an option named plugin, click on the plugin and go to Installed which will show you the installed plugins. Scroll down and check for Android APK Support and disable the option. After disabling, click on Apply button and then ok. It would disable the use of Android APK Support in Android Studio. Now go back to the same settings and Check/Enable the same option which you disabled earlier. After doing that click on Apply and then the OK button. Now, try to check the layout Preview. Below are some screenshots to show the demonstration: