You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Victor Adrian Sosa Herrera (JIRA)" <ji...@apache.org> on 2014/04/24 22:01:17 UTC

[jira] [Created] (CB-6511) When display name is 16-bit based language, Android platform can't create Activty class when adding support

Victor Adrian Sosa Herrera created CB-6511:
----------------------------------------------

             Summary: When display name is 16-bit based language, Android platform can't create Activty class when adding support
                 Key: CB-6511
                 URL: https://issues.apache.org/jira/browse/CB-6511
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.4.0, 3.3.0
            Reporter: Victor Adrian Sosa Herrera


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)