Michael Schmidt created CB-5515:
-----------------------------------

             Summary: "No Java files found […]" when Activity extending 
CordovaActivity not in exact package location
                 Key: CB-5515
                 URL: https://issues.apache.org/jira/browse/CB-5515
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CLI
    Affects Versions: 3.2.0
            Reporter: Michael Schmidt


Having the MainActivity extending CordovaActivity in org.example.app.main 
throws an error: "No Java files found which extend CordovaActivity."

With 3.1.0 it could still be located e.g. in org.example.app.main

Workaround: The Activity extending the CordovaActivity must be located in exact 
the package org.example.app - as specified in <widget id="org.example.app"

Related to following commit:
https://apache.googlesource.com/cordova-cli/+/f86273cdf05bde48adc72a1f13d7cc476a17433a%5E2..f86273cdf05bde48adc72a1f13d7cc476a17433a/

Is this an intended behaviour? At least it wasn't documented anywhere.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to