Join Linton Ye for an in-depth discussion in this video Using the exercise files, part of Building Material Design Apps on Android with React Native.
- [Instructor] I highly recommend downloading the exercise files that come with the course and putting them on your desktop. That's where I will be working from. If you look inside the exercise files, you'll notice that there is a beginning state and a finished state. You really have no need to go into the finished folder unless you are double checking your work. In the beginning folder, you'll see starter files for each video that requires coding. Notice how they are laid out by video and chapter number.
All you have to do to launch the project is to launch Visual Studio Code and open the folder. For example, I'll open Visual Studio Code which is on desktop and in the file menu, you can open the folder and choose a folder and open it. I have not included the required note modules folder in the starting folders. You'll have to gather the requirements and dependencies by running the command npm install in the terminal.
Let me show you how to do that. So in Visual Studio Code, we can do Ctrl, shift, p and start type Terminal and then choose the fourth one that we want to focus on the next terminal which is going to open a terminal. And then we do npm install. It should go ahead and download all the dependencies for you. In case you run into any built issues, make sure to clean the underlying Android project by running gradelw clean in the Android directory.
So go into the Android directory and type ./gradelw clean. When that finishes, run the build again and it should work. Now that you understand the exercise files, let's get on with the course.
- Using material design principles
- Working with units and measurements
- Using elevation and drop shadows
- Leveraging grids and keylines
- Setting up React Native for Android
- Building floating action buttons
- Creating an immersive experience
- Adding motion and transitions
- Animating icons
- Using component libraries