Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ This sample consists of:
export GOOGLE_API_KEY=your_key
```

1. Add it to the local.properties file.
1. Add it to the local.properties file. Note: the Android app reads
`GEMINI_API_KEY` from this file.

```
echo "GOOGLE_API_KEY=your_key" >> samples/android/shopping_assistant/local.properties
echo "GEMINI_API_KEY=your_key" >> samples/android/shopping_assistant/local.properties
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The file path samples/android/shopping_assistant/local.properties seems incorrect as this README.md is located in samples/android/scenarios/digital-payment-credentials/. Assuming the commands are run from the repository root, the path to the shopping_assistant project's local.properties file should be samples/android/shopping_assistant/local.properties.

However, the current path is samples/android/shopping_assistant/local.properties, which seems to be a typo. It should likely be samples/android/shopping_assistant/local.properties to correctly target the shopping_assistant project's properties file from the repository root. This same potential typo exists for the sdk.dir command below.

```

3. **Add the Android SDK path to the local.properties file.**
Expand Down
Loading