We cannot directlly run the code or the project with emulator. Before it we have to check the compatibilty issues with it and then run the project with emulator. First part we have to check out is that whether Android software development kit (SDK) and Java development kit (JDK) are in proper path inside project structure. If you have installed Android Studio complete bundle which is almost 2GB for Windows 7 and beyond then probably both SDK and JDK have installed in correct path.