to select ↑↓ to navigate
Developer Guides

Developer Guides

Open in ChatGPT
Ask ChatGPT about this page
Open in Claude
Ask Claude about this page

Getting Started

  1. Android SDK Install လုပ်ထားလားစစ်ပါ

Android Studio ဖွင့် →

More Actions → SDK Manager

အဲ့ထဲမှာ —

SDK Platforms Tab

အနည်းဆုံးဒါတွေ install လုပ်ထားပါ

Android 15 (API 35)

Android 14 (API 34)

SDK Tools Tab

ဒါတွေ အရေးကြီးပါတယ်

Android SDK Build-Tools - 36.0.0

NDK(Side By side) - 28.2.13676358

CMake - 4.1.2

Android Auto API Simulators

Android Emulator

Android Emulator hypervisor driver(installer)

Android SDK Platform-Tools

ပြီးရင် Apply → OK


Phone ကို USB နဲ့ချိတ်ပြီး Flutter/Android project run ချင်ရင် အောက်က setup တွေလိုပါတယ်။

  1. Phone မှာ Developer Options ဖွင့်

Android phone မှာ:

Settings

→ About Phone

→ Build Number

Build Number ကို 7 ခါလောက်နှိပ်

ပြီးရင်:

You are now a developer

ဆိုပြီးပေါ်လာမယ်

  1. USB Debugging ON လုပ်

Settings

→ Developer Options

→ USB Debugging

→ ON

  1. USB Cable နဲ့ Laptop ချိတ်

⚠️ အရေးကြီးတာ

Cheap cable တချို့က charging only ဖြစ်တတ်တယ်

Data cable ဖြစ်ဖို့လိုတယ်

  1. Phone Permission Accept လုပ်

USB ချိတ်ပြီးရင် phone မှာ popup တက်မယ်

Allow USB Debugging?

✅ Allow

ပြီးရင်:

✅ Always allow from this computer

ပါ check လုပ်ထား

  1. Android Driver (Windows)

တချို့ phone တွေက driver လိုတတ်တယ်

ဥပမာ:

Samsung → Samsung USB Driver

Xiaomi → Mi Driver

Oppo/Vivo → OEM Driver

  1. Device Detect ဖြစ်မဖြစ်စစ်

CMD / Terminal မှာ:

flutter devices

ဒါမှမဟုတ်:

adb devices

Example Output

List of devices attached

R58N12345ABC device

device ဆိုရင် OK ✅

  1. Flutter Project Run

Project folder ထဲမှာ:

flutter run

ဒါဆို app က phone ထဲ install/run သွားမယ်

AppName - Rename


lib/app/app.dart line - 14

android/app/src/main/AndroidManifest.xml line - 3

windows/runner/Runner.rc line - 93 (4)

windows/runner/main.cpp line - 30

.metadata

ios/Runner/Info.plist line - 7 (4)


AppLogo/Icon


android/app/src/main/res/mipmap-mdpi/ic_launcher.png

ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json


Flutter Project Setup

  1. Flutter install check - flutter doctor

ဒီ command က Flutter environment မှာ ဘာတွေလိုနေသေးလဲ စစ်ပေးပါတယ်။

  1. Project အသစ် create လုပ်မယ် - flutter create project_name

     				-	ဥပမာ:flutter create my_app
    
  2. Project folder ထဲဝင် - cd my_app

  3. App run လုပ်မယ် - Device (emulator or real device) connect ပြီး:

     				-	flutter run
    
  4. Dependencies update - flutter pub get

  5. Clean build (error တက်ရင်) - flutter clean

  6. APK build (Android) - flutter build apk --release

  7. iOS build (Mac မှာပဲရ) - flutter build ios

Last updated 2 months ago
Was this helpful?
Thanks!