You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/08/20 07:11:37 UTC

[GitHub] [cordova-android] tehmaestro opened a new issue #813: Task 'undefined' not found in root project 'android'. master branch

tehmaestro opened a new issue #813: Task 'undefined' not found in root project 'android'. master branch
URL: https://github.com/apache/cordova-android/issues/813
 
 
   # Bug Report
   
   ## Problem
   I get the following error when running `cordova clean`
   ```
   Task 'undefined' not found in root project 'android'.
   ```
   
   ### What is expected to happen?
   It should just work and clean the project
   
   
   ### What does actually happen?
   I get the error I mentioned above.
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   I was trying to update cordova-android on an existing project, from version 7.1.4 to using the master branch, as I wanted to build my project with SDK 28. However, the issue is present in a newly created project too. 
   
   The reason I am using the master branch is because 8.0.0 still injects minSdkVersion in AndroidManifest file, and this makes the build fail.
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   ```
   cordova create my-app
   cd my-app
   cordova platform add https://github.com/apache/cordova-android.git
   cordova clean
   ```
   
   This will produce the above mentioned error.
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   Windows PC
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova CLI -> 8.1.2
   Cordova Android -> Master branch
   Node -> 6.11.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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