> For the complete documentation index, see [llms.txt](https://frost.gitbook.io/iosbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://frost.gitbook.io/iosbook/flutter/life-cycles/flutter-install-appium-flutter-driver.md).

# \[Flutter] Install appium-flutter-driver

* **Step1. pubspec.yaml**

dev\_dependencies:

&#x20; integration\_test:

&#x20;   sdk: flutter

* **Step2. android/app/build/build.gradle**

defaultConfig {

&#x20;   // TODO: Specify your own unique Application ID (<https://developer.android.com/studio/build/application-id.html>).

&#x20;   applicationId "com.example.example"

&#x20;   // You can update the following values to match your application needs.

&#x20;   // For more information, see: <https://docs.flutter.dev/deployment/android#reviewing-the-build->   configuration.

&#x20;   minSdkVersion 24

&#x20;   targetSdkVersion flutter.targetSdkVersion

&#x20;   versionCode flutterVersionCode.toInteger()

&#x20;   versionName flutterVersionName

&#x20;   multiDexEnabled true **//insert this line**

}

dependencies {

&#x20;   implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin\_version"

&#x20;   implementation "androidx.multidex:multidex:2.0.1" **//insert this line**

}<br>

* **Step3. main.dart**

import 'package:flutter\_driver/driver\_extension.dart'; **//insert this line**<br>

void main() {

&#x20; enableFlutterDriverExtension(); **//insert this line**

&#x20; runApp(const App());

}

* **Step4.**&#x20;

Semantics(

&#x20; label: 'PlayButton',

&#x20; child: Your UIItem

)
