AndroidManifest error in android: theme

1

I'm starting in android development, I do the steps to create an app and test but always at the end of any project gets an error message in android: theme, I'll post below the screen hope someone can help, thanks.

    
asked by anonymous 16.12.2014 / 13:20

1 answer

1

You simply do not have a style file with the AppTheme theme declared

Create a file named styles .xml.

Paste this content into it.

(The filename is arbitrary, that is, whatever ... you choose)

<?xml version="1.0" encoding="utf-8"?>
<style name="AppTheme" parent="android:Theme.Light">
</style>

The above theme is as simple as possible.

If you want to learn more about current themes, using Material Design for example, search the compatibility library version 7 (appcompat7)

With it, your theme would look like this (with lollipop design)

<?xml version="1.0" encoding="utf-8"?>
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
</style>
    
16.12.2014 / 20:17