Github user filmaj commented on the issue:
https://github.com/apache/cordova-android/pull/397
Just for the record, here's the full stack trace I get when I try these
steps:
```
~/src
â cordova create testapp com.example.testapp testapp
Warning: using prerelease version 7.0.2-dev ([email protected])
Creating a new cordova project.
~/src
â cd testapp
~/src/testapp
â vim config.xml
~/src/testapp
â cordova platform add android
Warning: using prerelease version 7.0.2-dev ([email protected])
Using cordova-fetch for cordova-android@~6.2.2
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms/android
Package: com.example.testapp
Name: testapp
Activity: MainActivity
Android target: android-25
Subproject Path: CordovaLib
Android project created with [email protected]
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to
the project
Installing "cordova-plugin-whitelist" for android
This plugin is only applicable for versions of
cordova-android greater than 4.0. If you have a previous platform version, you
do *not* need this plugin since the whitelist will be built in.
Adding cordova-plugin-whitelist to package.json
Saved plugin info for "cordova-plugin-whitelist" to config.xml
ls: no such file or directory:
/Users/maj/src/testapp/platforms/android/src/com/example/Testapp/*.java
Error: No Java files found that extend CordovaActivity.
```
This patch seems to fix that. However, I noticed that the output even using
this patch still says:
```
Package: com.example.testapp
```
Can we update the PR to also print out the correct, overridden package
name, if provided?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]