You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/10/26 15:14:28 UTC

[jira] [Comment Edited] (CB-9844) 2 main activities are generated when android package name is specified

    [ https://issues.apache.org/jira/browse/CB-9844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974247#comment-14974247 ] 

Vladimir Kotikov edited comment on CB-9844 at 10/26/15 2:14 PM:
----------------------------------------------------------------

Sure, i can take this.

>  Are there more changes that need to be ported?
I think no. There was no android-related patches landed to cordova-lib after PlatformApi refactoring.


was (Author: vladimir.kotikov):
Sure, i can take this.

>  Are there more changes that need to be ported?
I think no. There was no android-related patches landed to cordova-lib after PlatformApi refactooring.

> 2 main activities are generated when android package name is specified
> ----------------------------------------------------------------------
>
>                 Key: CB-9844
>                 URL: https://issues.apache.org/jira/browse/CB-9844
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 5.0.0
>            Reporter: Gorkem ERCAN
>            Assignee: Gorkem ERCAN
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org