Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.Dialog').

The error occurs because the style element Theme.Dialog is declared under "android:style".

Your ApplicationManifest.xml may contain code as:
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/Theme.Dialog">

Update the android:theme attribute as given below, the error will get resolved.
    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Dialog">

No comments:

Post a Comment

Golang: Http POST Request with JSON Body example

Go standard library comes with "net/http" package which has excellent support for HTTP Client and Server.   In order to post JSON ...