AlertDialog.Builder helper class cannot resolve constructor
<p>I've built a helper class to store various AlertDialog types. I thought it would be helpful so that I could call them anywhere in my code. Unfortunately I get an error below at <code>new AlertDialog.Builder()</code>. It says <code>Cannot resolve constructor `Builder()</code>. How can I get this to work?</p>

<pre><code>public class AlertDialogHelper {

    public void showAboutDialog() {
        AlertDialog.Builder builder = new AlertDialog.Builder();
        builder.setTitle(R.string.about);
        builder.setMessage("A weather app made by Martin Erlic")
                .setCancelable(false)
                .setPositiveButton("Ok", new DialogInterface.OnClickListener() {
                    public void onClick(DialogInterface dialog, int id) {
                        // Ok
                    }
                });
        AlertDialog alert = builder.create();
        alert.show();
    }

}
</code></pre>

<p>In my activity:</p>

<pre><code>private void showAboutAlertDialog() {
        AlertDialogHelper alertDialogHelper = new AlertDialogHelper();
        alertDialogHelper.showAboutDialog();
    }
</code></pre>