---
# System prepended metadata

title: Android

---

# Android

## 手機裝置設定

![](https://i.imgur.com/EgxYo9O.png)
![](https://i.imgur.com/Yv86ltc.png)



### USB連接後即會跳出確認 即連接完成
![](https://i.imgur.com/BY3VYQD.png)



## Flutter專案設定
![](https://i.imgur.com/9zjks0Y.png)
![](https://i.imgur.com/yHDcHJz.png)


### 找到此檔案並加入以下code


```
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>

<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<queries>
<intent>
    <action android:name="android.speech.RecognitionService" />
</intent>
</queries>
```

![](https://i.imgur.com/cVFUWYm.png)
![](https://i.imgur.com/l4PvcGs.png)
![](https://i.imgur.com/AUouRE2.png)


## 執行

#### 直接main右鍵Run Without Debugging 
![](https://i.imgur.com/6PKmcSl.png)