# CodePath MAD 2020 Common Issues
### Github
- Practically every student ended up getting their own personalized crash course on Git/GitHub over screensharing calls by the TAs. Maybe for next time the pre-work can entail some GitHub practice exercises or videos or etc :)
### Lab 1
- *Many* students created the project with Kotlin (default). "How do I switch to Java?"
- think we just need to update/annotate the video to address this
- "How to add a string as a resource in the strings.xml file?"
### Lab 2
- Where/how to set an onclick listener: "Am I setting an on click listener to the add button in my Main Activity or My add card activity?"
- Students confused MainActivity with startActivity. Correct line was: `MainActivity.this.startActivity(intent);`, students wrote `MainActivity.this.MainActivity(intent)`
- Errors with using EditText -- students forgot to import the EditText widget
- Students forgot to create views before referencing them.
- Students forgot to import the Intent class, or did not put the code for building/sending the intent in their onClick listener.
- Student called finish() in the wrong places (sometimes in MainActivity) or in AddCardActivity's onCreate().
- In the MainActivity, students should use `startActivityForResult(intent, 100)` instead of `startActivity()`.
### Lab 3
We should really move away from using Room because most of the issues were around this
- Unable to view contents of the database
- unable to view contents of the data base due to attemtping to rerun the adb tcp:8080 tvp:8080 command multiple times on same instance of terminal/cmd
- Problems with AndroidX (we didnt expect students to be using AndroidX for libraries)
- Terminal commands must be entered in Android Studio's built-in command line. Doesn't work from the Mac Terminal app or the Windows Command Prompt? **(need to verify this)**
([see exchange with student](https://codepath.slack.com/archives/GRU7T01NW/p1584311220054700?thread_ts=1584310172.052300&cid=GRU7T01NW))
([see guides page to be updatedd](https://courses.codepath.org/courses/mobile_app_design/pages/android/walkthroughs/lab3_walkthrough.md#heading-set-up-for-viewing-the-contents-of-your-apps-database))
- Set up viewing the contents of the app's database and followed the steps for running an emulator but didn't get the http link to see the contents in the browser.
### Lab 4
- Many students are getting confused as to where to place the overridePendingTransition line. They’re pasting the entire code block from the guides, including the sample startActivity that is included in that block in the guides.
- Some students (those who implemented Multiple Choice) don't know what to do for the Animate Flashcard To Reveal Answer user story because, when they implemented Multiple Choice, they removed the feature to click on the question to reveal the answer.
- After implementing optional requirement 3 students next card button and new card button will not show the question side if clicked while the answer side is active. (this is due to the question side remaining at yRotation 90 after the flip animation)
- Students put `onAnimationStart` inside of the animation listener.
- Multiple students experienced app crashes when they pressed the 'Next' button because they had no available cards in their database.