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

cannot build app #34

Closed
engmhmoud opened this issue Mar 11, 2019 · 1 comment
Closed

cannot build app #34

engmhmoud opened this issue Mar 11, 2019 · 1 comment

Comments

@engmhmoud
Copy link

WARNING: This version of device_info will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.


FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@label value=(background_geolocation_test) from AndroidManifest.xml:17:9-52
is also present at [:flutter_background_geolocation] AndroidManifest.xml:7:18-50 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:15:5-38:19 to override.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  • Get more help at https://help.gradle.org
    BUILD FAILED in 3m 32s
    Gradle task assembleDebug failed with exit code 1
    Exited (sigterm)

android

  • Plugin version:^0.3.4
  • Platform: Android
  • OS version:
  • Device manufacturer / model:
  • Flutter info (flutter doctor):
  • Plugin config

Expected Behavior

Actual Behavior

Steps to Reproduce

Context

Debug logs

@engmhmoud
Copy link
Author

WARNING: This version of device_info will break your Android build if it or its dependencies aren't compatible with AndroidX.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
This warning prints for all Android build failures. The real root cause of the error may be unrelated.

FAILURE: Build failed with an exception.

* What went wrong:
  Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : Attribute application@label value=(background_geolocation_test) from AndroidManifest.xml:17:9-52
is also present at [:flutter_background_geolocation] AndroidManifest.xml:7:18-50 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:15:5-38:19 to override.

* Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
  BUILD FAILED in 3m 32s
  Gradle task assembleDebug failed with exit code 1
  Exited (sigterm)

android

* Plugin version:^0.3.4

* Platform: Android

* OS version:

* Device manufacturer / model:

* Flutter info (`flutter doctor`):

[flutter] flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 6.1.7600], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK 28.0.3)
X Android license status unknown.
[√] Android Studio (version 3.2)
[√] IntelliJ IDEA Ultimate Edition (version 2018.3)
[√] Connected device (1 available)

! Doctor found issues in 1 category.
exit code 0

* Plugin config

Expected Behavior

Actual Behavior

Steps to Reproduce

Context

Debug logs

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