Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After adding package 'flutter run' hangs at 'Installing build\app\outputs\apk\app.apk...' #28

Closed
cjszk opened this issue Apr 7, 2020 · 1 comment

Comments

@cjszk
Copy link

cjszk commented Apr 7, 2020

dependencies:
  percent_indicator: ^2.1.1
  flutter:
    sdk: flutter
  shared_preferences: ^0.5.6+3
  intl: ^0.16.1
  http: 0.12.0+4
  oauth2: ^1.5.0
  pie_chart: ^3.1.1
  flutter_datetime_picker: ^1.3.5
  charts_flutter: ^0.9.0
  barcode_scan: ^2.0.1
  flutter_spinkit: ^2.1.0
  flutter_svg: ^0.17.3+1
  ads: ^1.7.2

After adding ads: ^1.7.2 and installing then using 'flutter run' the following occurs:

$ flutter run
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Note: C\...\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_admob-0.9.3+1\android\src\main\java\io\flutter\plugins\firebaseadmob\AdRequestBuilderFactory.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                        24.4s
√ Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...                         0.6s

It never continues past this point.

Attempted:
run 'flutter clean'
run 'flutter doctor' (no issues)

$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, v1.16.2-pre.41, on Microsoft Windows [Version 10.0.18363.720], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.43.2)
[√] Connected device (1 available)

The same problem occurs for different versions of the ads plugin.

@cjszk
Copy link
Author

cjszk commented Apr 7, 2020

Closing, this issue was due to misconfigured firebase setup.

@cjszk cjszk closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant