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

When display name is 16-bit based language, Android platform can't create Activty class when adding support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.0, 3.4.0
    • None
    • cordova-android
    • None

    Description

      Adding android support when the Display name of the Cordova application has a value based on 16-bit language (like Japanese) makes that the Activity class (based on that value) isn't created correctly. Instead, the class is generated as a file named ".java" and the Java class declaration is "public class extends CordovaActivity".

      To reproduce the error:
      1. Change the text file encoding of container to UTF-8
      2. Create a cordova project and enter a project name with ASCII characters and display name with G11N characters (like Japanese)
      3. Once the project is created, add android support.
      4. Go to <project>/platforms/android/src/<your package> and verify you have a file named ".java". If you are in Linux, it is a hidden file

      Attachments

        Activity

          People

            Unassigned Unassigned
            sosah.victor Victor Adrian Sosa Herrera
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: