title: Unable to find main (Error) while launching Unity from Android
body: <p>I am trying to launch UnityPlayerActivity on button click. But its throwing up an error as "Unable to find main".</p>
  
  <p>In Manifest, </p>
  
  <pre><code>&lt;activity
          android:name="com.unity3d.player.UnityPlayerActivity"
          android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale|layoutDirection"
          android:label="@string/app_name"
          android:launchMode="singleTask"
          android:screenOrientation="landscape"&gt;
          &lt;intent-filter&gt;
              &lt;category android:name="com.google.intent.category.CARDBOARD" /&gt;
          &lt;/intent-filter&gt;
          &lt;meta-data
              android:name="unityplayer.UnityActivity"
              android:value="true" /&gt;
      &lt;/activity&gt;
  </code></pre>
  
  <p>I am launching using the below code</p>
  
  <pre><code>Intent intent = new Intent(CurrentActivity.this, UnityPlayerActivity.class);
      startActivity(intent);
  </code></pre>