Community

Layout problem on android ocr code

I downloaded the code from this github link When I imported the code to Eclipse, I encountered the error in this code.

@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

Layout folder is empty. Is this code right? How can I solve this problem? If I add new xml file to layout folder. How can I modify this xml folder?

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Permanently deleted user

    you are missing the layout files, here you can download the two missing files: Github

    1

Please sign in to leave a comment.