title: Error while Launching activity in android studio using empty activity
body: <p>I just made a minimal application and i have ran into a problem solving it.
  i get this error after running it.
  " Could not identify launch activity: Default Activity not found
  Error while Launching activity "</p>
  
  <p>I tried editing the Manifest file and added the main activity package like this : "<code>com.example.loanapplication.MainActivity</code> " and edited the configuration and 'specified the activity' but then after running it, the same error appeared.</p>
  
  <p>MainActivity</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      private ListView listViewLoans;
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          try{
              super.onCreate(savedInstanceState);
              setContentView(R.layout.activity_main);
              List&lt;Loans&gt; loans = new HttpRequestLoansList().execute().get();
              listViewLoans = (ListView) findViewById(R.id.listViewLoans);
              listViewLoans.setAdapter( new LoanListAdapter(loans, getApplicationContext()));
          }
          catch (Exception e){
              AlertDialog.Builder builder = new AlertDialog.Builder(getApplicationContext());
              builder.setMessage(e.getMessage());
              builder.create().show();
          }
  
      }
  
      private  class HttpRequestLoansList extends AsyncTask&lt;Void, Void, List&lt;Loans&gt;&gt;{
  
          @Override
          protected List&lt;Loans&gt; doInBackground(Void... params) {
              LoanModel loanModel = new LoanModel();
              return  loanModel.all();
          }
  
          @Override
          protected void onPostExecute(List&lt;Loans&gt; loans) {
              super.onPostExecute(loans);
          }
      }
  
  </code></pre>
  
  <p>Manifest File</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.loanapplication"&gt;
  
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:roundIcon="@mipmap/ic_launcher_round"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
          &lt;activity android:name="com.example.loanapplication.MainActivity"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  
  
  
      &lt;/manifest&gt;
  </code></pre>
  
  <p>activity_main xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      tools:context=".MainActivity"&gt;
  
      &lt;Button
          android:id="@+id/buttonAdd"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:text="Add Loan" /&gt;
  
      &lt;ListView
          android:id="@+id/listViewLoans"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>error inlclude the following:
  Could not identify launch activity: Default Activity not found
  Error while Launching activity</p>
  
  <p>expectations:</p>