Skip to content

docs: add SETUP.md for contributor onboarding (Windows, Android, common issues)#15

Open
SISIR-REDDY wants to merge 1 commit intoAOSSIE-Org:mainfrom
SISIR-REDDY:docs/add-setup-md
Open

docs: add SETUP.md for contributor onboarding (Windows, Android, common issues)#15
SISIR-REDDY wants to merge 1 commit intoAOSSIE-Org:mainfrom
SISIR-REDDY:docs/add-setup-md

Conversation

@SISIR-REDDY
Copy link
Copy Markdown

@SISIR-REDDY SISIR-REDDY commented Mar 14, 2026

Closes #3

Problem

The README's Getting Started section was too brief for new contributors — particularly those on Windows — to get DocPilot running without guesswork. Common blockers like accepting Android SDK licenses, emulator microphone limitations, and proxy-related pub failures were undocumented.

The README also had a placeholder clone URL (yourusername/docpilot) instead of the real repo path.

Changes

SETUP.md (new file)

A step-by-step contributor setup guide covering:

  • Flutter SDK installation on Windows, macOS, and Linux
  • Android Studio installation and SDK Manager configuration (SDK platforms, build tools, platform-tools, Intel HAXM)
  • Running flutter doctor --android-licenses to accept licenses
  • Creating an AVD and a note explaining why physical devices are recommended for microphone testing
  • USB debugging setup on Android (enabling Developer Options, accepting debug prompt)
  • .env file creation with links to Deepgram and Gemini API key consoles
  • A Common Issues section addressing the errors contributors most frequently hit:
    • Android SDK not found on Windows
    • adb not in PATH
    • MissingPluginException on first run
    • API key errors at runtime
    • Corporate proxy blocking flutter pub get
    • Gradle build failures

README.md

  • Added a callout at the top of Getting Started linking to SETUP.md
  • Fixed the placeholder clone URL (yourusername/docpilotAOSSIE-Org/DocPilot)
  • Updated the prerequisites list with specific version requirements

Summary by CodeRabbit

  • Documentation
    • Added comprehensive setup guide with step-by-step local development instructions.
    • Updated prerequisite requirements with specific versions and external references.
    • Enhanced installation steps with corrected repository URLs and environment configuration.
    • Expanded getting started instructions with dependency management and API key setup.
    • Added troubleshooting section addressing common setup issues.

Closes AOSSIE-Org#3

- Adds step-by-step SETUP.md covering Flutter SDK install (Windows,
  macOS, Linux), Android Studio + SDK Manager configuration, AVD creation,
  .env API key setup, and a Common Issues section for the errors new
  contributors typically hit (emulator mic, gradle clean, proxy, etc.)
- Fixes the placeholder clone URL in README.md (yourusername/docpilot
  → AOSSIE-Org/DocPilot)
- Adds a link to SETUP.md from the Getting Started section of README.md
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 14, 2026

📝 Walkthrough

Walkthrough

This PR adds comprehensive setup documentation for new contributors by creating a new SETUP.md guide and updating README.md with specific versioned requirements, proper repository URLs, API key configuration steps, and explicit dependency installation instructions.

Changes

Cohort / File(s) Summary
Documentation Updates
README.md, SETUP.md
README.md now references a new SETUP.md guide and includes explicit setup steps (flutter pub get, .env configuration, concrete GitHub URLs). SETUP.md is a new comprehensive contributor setup guide covering Flutter/Android SDK installation across Windows/macOS/Linux, emulator/device setup, project initialization, API key configuration, running commands, and troubleshooting.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Poem

🐰 A setup guide hops into view,
Windows, Mac, and Linux too!
Flutter flows and Android dreams,
Contributors join our coding schemes! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding a SETUP.md file for contributor onboarding with specific focus on Windows and Android setup.
Linked Issues check ✅ Passed The PR comprehensively addresses all coding-related requirements from issue #3: Flutter SDK documentation, Android Studio setup steps, .env file guidance, common issues section, example commands, and README linking.
Out of Scope Changes check ✅ Passed All changes are directly scoped to issue #3 requirements: SETUP.md creation with onboarding content and minimal README updates to link and fix the repository URL.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@SETUP.md`:
- Around line 133-136: The fenced code block showing environment variable
examples in SETUP.md lacks a language specifier; update the opening fence to
include a language (e.g., change "```" to "```dotenv" or "```bash") so
markdownlint passes and syntax highlighting works for the
GEMINI_API_KEY/DEEPGRAM_API_KEY example.
- Around line 42-45: The fenced code block containing the commands "flutter
--version" and "flutter doctor" lacks a language tag; update the opening fence
from ``` to ```bash so the block is tagged as bash (ensuring markdownlint MD040
compliance) near the code snippet in SETUP.md.
- Line 80: Replace the outdated bullet "Intel HAXM *(Windows only — required for
emulator acceleration)*" with guidance that recommends Windows Hypervisor
Platform (WHPX) as the primary emulator acceleration method on Windows and lists
Android Emulator Hypervisor Driver (AEHD) as an alternative (note AEHD sunset
scheduled for Dec 31, 2026); update the phrasing around the original "Intel
HAXM" text so it explicitly states HAXM is no longer supported by modern Android
Emulator releases (e.g., 36.2.x.x) and provide brief actionable instructions to
enable WHPX (and mention AEHD as fallback).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: be205689-1a13-4825-aa02-d260ae4e64fc

📥 Commits

Reviewing files that changed from the base of the PR and between ece30ed and 43af37e.

📒 Files selected for processing (2)
  • README.md
  • SETUP.md

Comment on lines +42 to +45
```
flutter --version
flutter doctor
```
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add fenced code block language for command snippet.

This block should be tagged (e.g., bash) to satisfy markdownlint MD040.

Suggested fix
-   ```
+   ```bash
    flutter --version
    flutter doctor
    ```
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
```
flutter --version
flutter doctor
```
🧰 Tools
🪛 markdownlint-cli2 (0.21.0)

[warning] 42-42: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@SETUP.md` around lines 42 - 45, The fenced code block containing the commands
"flutter --version" and "flutter doctor" lacks a language tag; update the
opening fence from ``` to ```bash so the block is tagged as bash (ensuring
markdownlint MD040 compliance) near the code snippet in SETUP.md.

- Android SDK Build-Tools
- Android Emulator
- Android SDK Platform-Tools
- Intel HAXM *(Windows only — required for emulator acceleration)*
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

Is Intel HAXM still required for Android Emulator acceleration on Windows in current Android Studio versions, or should docs recommend WHPX/Android Emulator Hypervisor Driver instead?

💡 Result:

Intel HAXM is no longer required (and, for current Emulator versions, no longer usable) for Android Emulator acceleration on Windows.

  • Google’s official acceleration docs state that starting with Android Emulator 36.2.x.x, the emulator won’t use HAXM anymore, and they recommend Windows Hypervisor Platform (WHPX) instead. They also describe Android Emulator Hypervisor Driver (AEHD) as an alternative hypervisor on Windows (with a stated sunset date of Dec 31, 2026, after which users should transition to WHPX). [1]
  • The official Emulator release notes for 36.2.11 (Oct 9, 2025) explicitly say “HAXM support is removed from the Emulator” and that users will be prompted to install AEHD if they try to use HAXM. [2]

So yes: current docs should recommend WHPX first, and mention AEHD as an alternative (not HAXM), with the caveat that AEHD is planned to be sunset at the end of 2026. [1]

Sources: [1] [2]


Replace outdated Intel HAXM requirement with current Windows hypervisor guidance.

Intel HAXM is no longer supported on Windows—as of Android Emulator 36.2.x.x (released Oct 2025), HAXM support has been removed and the emulator will no longer use it. Line 80 should instead recommend Windows Hypervisor Platform (WHPX) as the primary acceleration method, with Android Emulator Hypervisor Driver (AEHD) as an alternative (sunset scheduled for Dec 31, 2026).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@SETUP.md` at line 80, Replace the outdated bullet "Intel HAXM *(Windows only
— required for emulator acceleration)*" with guidance that recommends Windows
Hypervisor Platform (WHPX) as the primary emulator acceleration method on
Windows and lists Android Emulator Hypervisor Driver (AEHD) as an alternative
(note AEHD sunset scheduled for Dec 31, 2026); update the phrasing around the
original "Intel HAXM" text so it explicitly states HAXM is no longer supported
by modern Android Emulator releases (e.g., 36.2.x.x) and provide brief
actionable instructions to enable WHPX (and mention AEHD as fallback).

Comment on lines +133 to +136
```
GEMINI_API_KEY=your_gemini_api_key_here
DEEPGRAM_API_KEY=your_deepgram_api_key_here
```
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Add fenced code block language for .env example.

This block should declare a language (e.g., dotenv or bash) for markdownlint compliance.

Suggested fix
-```
+```dotenv
 GEMINI_API_KEY=your_gemini_api_key_here
 DEEPGRAM_API_KEY=your_deepgram_api_key_here
</details>

<!-- suggestion_start -->

<details>
<summary>📝 Committable suggestion</summary>

> ‼️ **IMPORTANT**
> Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

```suggestion

🧰 Tools
🪛 markdownlint-cli2 (0.21.0)

[warning] 133-133: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@SETUP.md` around lines 133 - 136, The fenced code block showing environment
variable examples in SETUP.md lacks a language specifier; update the opening
fence to include a language (e.g., change "```" to "```dotenv" or "```bash") so
markdownlint passes and syntax highlighting works for the
GEMINI_API_KEY/DEEPGRAM_API_KEY example.

@dhruvi-16-me
Copy link
Copy Markdown

Hey @SharkyBytes I have reviewed this PR. It is great for a detailed setup guide. I think it is ready to merge but before that we can ask ishaan400 whether he is working or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add detailed SETUP.md for Windows Flutter setup and Android testing

2 participants