micahlt opened a new issue #228:
URL: https://github.com/apache/cordova-js/issues/228


   # Bug Report
   
   ## Problem
   
   ### What is expected to happen?
   I'm trying to build a Cordova platform for Android with Adaptive Icons.
   
   ### What does actually happen?
   I get this error: 
   ```
   Cannot read property 'startsWith' of undefined
   TypeError: Cannot read property 'startsWith' of undefined
       at updateIconResourceForAdaptive 
(/media/file/Documents/Code/sc4-mobile/platforms/android/cordova/lib/prepare.js:475:24)
       at updateIcons 
(/media/file/Documents/Code/sc4-mobile/platforms/android/cordova/lib/prepare.js:402:23)
       at 
/media/file/Documents/Code/sc4-mobile/platforms/android/cordova/lib/prepare.js:64:9
       at _fulfilled 
(/media/file/Documents/Code/sc4-mobile/node_modules/q/q.js:854:54)
       at /media/file/Documents/Code/sc4-mobile/node_modules/q/q.js:883:30
       at Promise.promise.promiseDispatch 
(/media/file/Documents/Code/sc4-mobile/node_modules/q/q.js:816:13)
       at /media/file/Documents/Code/sc4-mobile/node_modules/q/q.js:624:44
       at runSingle 
(/media/file/Documents/Code/sc4-mobile/node_modules/q/q.js:137:13)
       at flush 
(/media/file/Documents/Code/sc4-mobile/node_modules/q/q.js:125:13)
       at processTicksAndRejections (internal/process/task_queues.js:79:11)
   ```
   
   
   ### Command or Code
   ```
   cordova build android
   ```
   
   
   
   ### Environment, Platform, Device
   Ubuntu 20.04.1.  Mac Pro 5,1.
   
   
   
   ### 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 10.0.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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to