Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.0, 3.4.0
-
None
-
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