<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.wingtech.quicklearnersdictionary">
<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.FLASHLIGHT" />
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-feature android:name="android.hardware.camera.flash" />
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:icon="@mipmap/ic_launcher"
android:label="Quick Learner's Dictionary">
<meta-data
android:name="com.google.firebase.ml.vision.DEPENDENCIES"
android:value="ocr" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713"/>
<activity
android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
android:hardwareAccelerated="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Logs
[ +204 ms] W/Ads (19033): #004 The webview is destroyed. Ignoring action.
[ +19 ms] I/chatty (19033): uid=10242(com.wingtech.quicklearnersdictionary) identical 1 line
[ ] W/Ads (19033): #004 The webview is destroyed. Ignoring action.
[ ] W/Ads (19033): #004 The webview is destroyed. Ignoring action.
[ ] W/Ads (19033): #004 The webview is destroyed. Ignoring action.
[ +49 ms] D/DynamitePackage(19033): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[ +9 ms] I/Ads (19033): Use AdRequest.Builder.addTestDevice("4BA937CAFB7EC3E15A0A7D82CFE96A7D") to get test ads on this device.
[ +42 ms] D/DynamitePackage(19033): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl
[ +6 ms] I/Ads (19033): Use AdRequest.Builder.addTestDevice("4BA937CAFB7EC3E15A0A7D82CFE96A7D") to get test ads on this device.
[ +19 ms] W/Ads (19033): Fail to fetch AdActivity theme
[ ] I/Ads (19033): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
[ +4 ms] W/System (19033): A resource failed to call release.
[ +20 ms] W/Ads (19033): Fail to fetch AdActivity theme
[ ] I/Ads (19033): Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
[ +6 ms] W/Ads (19033): Not retrying to fetch app settings
[ +737 ms] I/flutter (19033): application MobileAdEvent.loaded
[ +140 ms] I/flutter (19033): InterstitialAd event MobileAdEvent.loaded
[ ] I/flutter (19033): interstitialAd show
Steps to Reproduce
main.dart:
page.dart:
AndroidManifest.xml:
Logs
Try to add
to AndroidManifest.xml but doesn't work!
flutter analyze: