flexbox / react-native-bootcamp

1 week, 20+ lessons, opinionated React Native Bootcamp for busy developers.
https://davidl.fr/bootcamp
220 stars 12 forks source link

feature/expo assets #249

Open flexbox opened 3 months ago

flexbox commented 3 months ago
flexbox commented 3 months ago
> home/expo/workingdir/build/hackathon/spacecraft/android/app/src/main/res/drawable/CR90corvette.jpg: Error: 'C' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore

CleanShot 2024-06-06 at 19 40 24@2x

The /android/app/src/main/res/drawable/ directory in an Android project is used to store drawable resources.

Drawable resources are graphics that can be drawn on the screen. This includes bitmaps (PNG, JPEG, or GIF files), XML files that define shapes, selector lists, and others.

For example, you might have an image file that you want to use as a background for a button. You would put that image file in the drawable directory and then reference it in your XML layout file or in your code.

In the context of a React Native project, this directory is typically used to store images and icons that are used natively by the Android part of the app.