Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.1.0
-
None
-
android sdk tools 22.2.1
android sdk platform-tools 18.0.1
Android 4.3 (API 18)
Description
Yes it's super silly but the node create script should fail if user enters in: "CordovaActivity" as an activity name since we inherit from a class that has that name. Might also apply to package names.
steps to reproduce
./bin/create /path/to/project mypackage.name CordovaActivity
Results:
-compile: [javac] Compiling 6 source files to /private/tmp/android/bin/classes [javac] /private/tmp/android/src/io/cordova/CordovaActivity.java:25: cyclic inheritance involving io.cordova.CordovaActivity [javac] public class CordovaActivity extends CordovaActivity [javac] ^ [javac] 1 error