[
https://issues.apache.org/jira/browse/CB-9747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904222#comment-15904222
]
ASF GitHub Bot commented on CB-9747:
------------------------------------
Github user stevengill commented on the issue:
https://github.com/apache/cordova-lib/pull/315
We are deleting android_parser.js for cordova@7 since that functionality
has all been moved into cordova-android platform now. This would only be useful
for older versions of cordova-android (pre-API.js) now and we are dropping
support for those older versions in cordova@7. I think this PR can be closed.
> Android parser fails if the activity class has been redefined (using
> android:name)
> ----------------------------------------------------------------------------------
>
> Key: CB-9747
> URL: https://issues.apache.org/jira/browse/CB-9747
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Affects Versions: 5.3.2
> Environment: Android
> Reporter: Olivier Goguel
>
> If the name of the class that implements the activity has been modified to
> include a full package name, the android parser fails as it still expects to
> find the Activity class under the package name defined in the manifest
> Ex:
> <manifest package="com.myapp" ...>
> <activity android:name="MainActivity"> ====> OK, as the parser is searching
> the java file under com/myapp
> However:
> <activity android:name="net.del7a.MyActivity"> ====> KO, as the parser is
> still searching the java file under com/myapp instead of net/del7a
> Error: ENOENT, no such file or directory
> '/Users/olivier/Code/POM/cordova/platforms/android/src/com/myapp'
> at Object.fs.readdirSync (fs.js:654:18)
> at android_parser.update_from_config
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/android_parser.js:266:25)
> at android_parser.update_project
> (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/metadata/android_parser.js:335:14)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]