[Tex/LaTex] Error:Option Clash for package color

beamercolor

I am new to LaTeX.I was trying to make my first presentation using beamer.I downloaded the required packages ,but I was getting this error

!Latex Error:Option clash for package color.

Here is the code, which I copied from here

\documentclass{beamer}
\setbeamertemplate{navigation symbols}{}
\usepackage{beamerthemesplit}
\usecolortheme{crane}
\RequirePackage{amssymb}
\RequirePackage{amsfonts}
\RequirePackage{amsmath}
\RequirePackage[pdftex]{color,graphicx}

\begin{document}

\end{document}

I read about this error here. I also read this post,but I don't know which packages are using the color package and which package (beamerthemesplit,amsfonts,amssynb) is causing this conflict.

What should I do?

Best Answer

In addition to David's suggestion, I think this is not a standard beamer code. Consider the following:

\documentclass{beamer}
\usepackage{amssymb,amsfonts,amsmath}
\usepackage{graphicx}

\usetheme{split}
\usecolortheme{crane}
\setbeamertemplate{navigation symbols}{}
\begin{document}
\begin{frame}{Title}{Subtitle}
    Content
\end{frame}
\end{document}

enter image description here