RunTime Error while running the emulator, happens only for my 2nd screen

Hello,
So I was making a program for a store. I made the first screen which is a splash screen. My second screen is the main screen for the app, but whenever I try to connect to the emulator a runtime error pops up stating: " java.lang.NoSuchMethodError: android.view.Display.getSize
Note: You will not see another error reported for 5 seconds.". What is the problem exactly? and how can I fix it? Thank you.

Export an .aia file and post it here.