Skip to content

Setup

Start here before choosing a build track. The fastest workshop progress comes from proving your Android run loop early.

  • Baseline tools
    • Install Android Studio or an Android SDK.
    • Install Git.
    • Install Node.js if you are building with JavaScript or TypeScript.
    • Install your framework toolchain.
  • Android run loop
    • Run adb version.
    • Create or start an Android emulator.
    • Run adb devices and confirm a device or emulator appears.
  • Wallet test loop
    • Install mock-mwa-wallet or another MWA-compatible wallet.
    • Open your app on Android.
    • Connect a wallet and show the selected account.
  • Android Studio or an Android SDK install.
  • Git.
  • Node.js if you are building with JavaScript or TypeScript.
  • Your framework toolchain: Expo, React Native, Kotlin, Flutter, Unity, Unreal, or your PWA stack.
Terminal window
adb devices

You should see a connected device or emulator. If nothing appears, check USB debugging, emulator status, or Android Studio device manager.

The official Solana Mobile Expo template is the fastest path if you want React Native and Mobile Wallet Adapter in one project.

Terminal window
yarn create expo-app --template @solana-mobile/solana-mobile-expo-template seeker-week-demo
cd seeker-week-demo
yarn android

Expo Go is not enough for Mobile Wallet Adapter native modules. Use a custom development build or expo run:android.

If your project is a web app, keep the Android path explicit. Mobile Wallet Adapter works for compatible Android Chrome web apps, and dApp Store publishing requires wrapping the PWA into an APK.

Terminal window
npm create vite@latest seeker-week-pwa -- --template react-ts
cd seeker-week-pwa
npm install
npm run dev

Install an MWA-compatible wallet on the same Android device or emulator. For the workshop, the first target is simple: open your app, connect a wallet, and show the selected account.

type WalletCheck = {
accountVisible: boolean;
appIdentityShown: boolean;
device: "android";
network: "devnet" | "mainnet-beta";
};

This workshop site is built with Astro and Starlight. To add a page:

  1. Create a Markdown file in src/content/docs/.
  2. Add the page to the sidebar list in astro.config.mjs.
  3. Push or merge into main to deploy through GitHub Actions.