Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9844

2 main activities are generated when android package name is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.0
    • None
    • cordova-android
    • None

    Description

      If android-packageName is specified on the config.xml two main activity classes are generated. One with with the package name as specified on id attribute and one with the value of android-packageName. This is because the old package name is not removed when the new one is generated [1].

      This has been fixed for Cordova CLI but needs to be fixed on Android because the logic has moved.

      [1] https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/prepare.js#L156

      Attachments

        Issue Links

          Activity

            People

              gercan Gorkem Ercan
              gercan Gorkem Ercan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: