Problem implementing UrbanAirship Module For Titanium



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
[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 [] 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 [] 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] See for more information about the manifest merger.
[ERROR] [GRADLE] FAILURE: Build failed with an exception.
[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] 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] * Get more help at
[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


1 comment

  • Hello Simar,

    Thank you for the feedback. May I ask if you can email 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

    Comment actions Permalink

Please sign in to leave a comment.