Sunday, March 10, 2019

Install Flutter in android studio 3.3.1

Install Flutter in android studio 3.3.1
  1. Open SDK Manager
  2. Click "Plugins"
  3. In search box type "Flutter" then click "Search in repositories"
  4. Select Flutter Language and install
  5. Read all requirement and accept it. It will install Dart as requirement.
  6. Restart your android studio

android studio 3.3.1 and google admob change

change/update google service library:
  • com.google.android.gms:play-services-ads:16.0.0 -> com.google.android.gms:play-services-ads:17.1.2
  • com.google.android.gms:play-services-auth:16.0.0 -> com.google.android.gms:play-services-auth:16.0.1
To import and use google admob (service-ads), you must add this into application manifest:
<manifest>
<application
...
>
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-################~##########"/>
...
</application>