title: Error while launching activity in Android Studio
body: <p>I am trying to make an Android Studio app that has more than one java file. However, when I was trying to run my app, it said:</p>
  
  <pre><code>Error while executing: am start -n "com.example.company.appname/com.example.company.appname.Text" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
  Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.company.appname/.Text }
  Error type 3
  Error: Activity class {com.example.company.appname/com.example.company.appname.Text} does not exist.
  
  Error while Launching activity
  </code></pre>
  
  <p>The Select/Run Debug Configuration also said "Text" was missing. I have a Text.java file, however. What's going on?</p>
  
  <p>What my window looks like:
  <img src="https://i.imgur.com/lSQhPlh.png" alt="no desc"></p>
  
  <p>AndroidManifests.xml:
  <img src="https://i.imgur.com/s99fzpc.png" alt="!"></p>