Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26055

Android: Build fails due to invalid character '$' in android manifest with facebook & liveview with 7.3.0 SDK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 7.3.0
    • Component/s: Android
    • Labels:
    • Environment:
    • Story Points:
      3
    • Sprint:
      2018 Sprint 10 SDK

      Description

      This can be called as a regression. Works with 7.1.1.GA

      Steps to reproduce:

      1. Create a default app for android.
      2. Add the facebook module to the tiapp.xml.
      3. Build the app with SDK 7.3.0 (I used 7.3.0.v20180518082133).

      Actual result:

      1. Build fails to package with error:

      [ERROR] :  Failed to package application:
      [ERROR] :  
      [ERROR] :  (skipping file '.liveviewapp.js' due to ANDROID_AAPT_IGNORE pattern '.*')
      [ERROR] :  /Users/lchoudhary/Desktop/workspaces/workspace_2018/zdummy/build/android/AndroidManifest.xml:24: Tag <provider> attribute authorities has invalid character '$'.
      [ERROR] Application Installer abnormal process termination. Process exit value was 1
      

      2. In the android manifest this line gets added:

      <provider android:name="com.facebook.internal.FacebookInitProvider" android:authorities="${applicationId}.FacebookInitProvider" android:exported="false"/>
      

      3. Build fails due to the $ symbol.

      Expected result:
      1. Build should not fail when facebook & liveview are used in the app.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                lchoudhary Lokesh Choudhary
                Reviewer:
                Gary Mathews
              • Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6352
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code