Caused by: [style/AppTheme.NoActionBar] C:\Users\Hp\StudioProjects\robin\app\src\main\res\values\styles.xml [style/AppTheme.NoActionBar] C:\Users\Hp\StudioProjects\robin\app\src\main\res\values\themes.xml: Error: Duplicate resources
CodePudding user response:
- This is because of "style/AppTheme.NoActionBar" already present in your existing project under styles.xml.
- You need to check for the themes.xml file under the resources.
- This themes.xml file is created by default when you create an empty compose activity.
- Deleting this themes.xml will sort out the issue.