You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/05/20 22:24:38 UTC
[jira] [Resolved] (CB-6511) When display name is 16-bit based
language, Android platform can't create Activty class when adding support
[ https://issues.apache.org/jira/browse/CB-6511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser resolved CB-6511.
----------------------------
Resolution: Won't Fix
This is a limitation of the Android SDK Tools, which the create scripts depend upon. Even though Java supports Unicode, Android SDK tools don't. I have no idea why this is the case. :(
> 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.3.0, 3.4.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)