Problem implementing UrbanAirship Module For Titanium

Hello

 

I am trying to run command 'appc run -p android -T device' from Appcelerator CLI and after adding Urban Airship module 5.0.2 I am getting this gradle build failed error.

[INFO] [GRADLE] > Task :app:createDebugCompatibleScreenManifests
[INFO] [GRADLE] > Task :app:mergeDebugResources
[INFO] [GRADLE]
[ERROR] [GRADLE] D:\Programming\Titanium\newapp.yofima\build\android\app\src\debug\AndroidManifest.xml:71:13-72 Error:
[ERROR] [GRADLE] Attribute activity#com.urbanairship.CoreActivity@theme value=(@android:style/Theme.Translucent.NoTitleBar) from [:lib.com.urbanairship] AndroidManifest.xml:71:13-72
[ERROR] [GRADLE] is also present at [urbanairship-core-9.7.1.aar] AndroidManifest.xml:32:13-59 value=(@android:style/Theme.NoDisplay).
[ERROR] [GRADLE] Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:69:9-71:75 to override.
[ERROR] [GRADLE] D:\Programming\Titanium\newapp.yofima\build\android\app\src\debug\AndroidManifest.xml:78:13-72 Error:
[ERROR] [GRADLE] Attribute activity#com.urbanairship.util.HelperActivity@theme value=(@android:style/Theme.Translucent.NoTitleBar) from [:lib.com.urbanairship] AndroidManifest.xml:78:13-72
[ERROR] [GRADLE] is also present at [urbanairship-core-9.7.1.aar] AndroidManifest.xml:43:13-63 value=(@style/UrbanAirship.HelperActivity).[ERROR] [GRADLE] Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:76:9-82:20 to override.
[INFO] [GRADLE] > Task :app:processDebugManifest FAILED
[INFO] [GRADLE]
[INFO] [GRADLE] See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
[INFO] [GRADLE]
[ERROR] [GRADLE]
[ERROR] [GRADLE] FAILURE: Build failed with an exception.
[ERROR] [GRADLE]
[ERROR] [GRADLE] * What went wrong:
[ERROR] [GRADLE] Execution failed for task ':app:processDebugManifest'.
[ERROR] [GRADLE] > Manifest merger failed with multiple errors, see logs
[ERROR] [GRADLE]
[ERROR] [GRADLE] * Try:
[ERROR] [GRADLE] 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.
[ERROR] [GRADLE]
[ERROR] [GRADLE] * Get more help at https://help.gradle.org
[ERROR] [GRADLE]
[ERROR] [GRADLE] BUILD FAILED in 40s
[INFO] [GRADLE] 20 actionable tasks: 20 executed
[ERROR] "gradlew" tool returned exit code: 1

 

It will be helpful if you can look into this.

Didn't find what you were looking for?

New post

Comments

1 comment

  • Hello Simar,

    Thank you for the feedback. May I ask if you can email support@airship.com with this information along with your project (if you can't send the original, then create a dummy project replicating the problem with the Airship library configured)? Once we have it, we will have to forward this onto the devs so they can take a further look.

    Kind regards,
    Chilun Liu
    Airship Support

    0

Please sign in to leave a comment.