You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/07/22 15:41:03 UTC

[GitHub] [cordova-android] brunoPert opened a new issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

brunoPert opened a new issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033


   # Bug Report
   
   ## Problem
   While  building and running my cordova app inside  emulator (also in phone), the apk is successfully installed but breaks when oppening, returning only a wide screen:
   
   ### What is expected to happen?
   
   The app should open in the first view. 
   
   ### What does actually happen?
   
   A white screen appears, plus the following message in android studio logcat:
   
   ![Captura de Pantalla 2020-07-22 a la(s) 12 34 25](https://user-images.githubusercontent.com/49445815/88196608-c8005300-cc17-11ea-951b-98da5eee72cc.png)
   
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   Im trying this in mac os and in linux mint too, with same result in both. 
   
   What are relevant versions you are using?
   
   cordova version: 9.0.0 (cordova-lib@9.0.1)
   "cordova-android": "8.1.0",


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] awexfwex edited a comment on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
awexfwex edited a comment on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-740939009


   The above isn't a fix, its a workaround. Manually removing and re-adding all the plugins each time isn't ideal. Any chance we could re-open this?


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] awexfwex edited a comment on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
awexfwex edited a comment on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-740939009


   The above isn't a fix, its a workaround. Manually removing and re-adding all the plugins each time isn't ideal. Any chance we could re-open this?
   
   Another workaround would be to rm -rf plugins directory as part of a clean build step


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] awexfwex commented on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
awexfwex commented on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-740973299


   > Are you reproducing this using `cordova@10` / `cordova-android@9` ?? If so, I think this does warrant a reopen.
   
   No, this is using cordova@9. I'll try reproing on cordova@10 once i've got the next release out and it's safe to tinker with it


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] jkaw commented on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
jkaw commented on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-663253594


   This happened to me as well. It seems that when Cordova Android 9.0.0 is installed, the plugins are not added properly. Thus, the cordova-plugins.js file is not created on the Cordova add android@9.0.0 command. If you check your platforms/android/platform_www folder, it will be missing the Cordova-plugins.js file and the plugins folder. I had to re add all my plugins manually (Cordova plugin rm/add) to get those files to generate. 


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] jkaw commented on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
jkaw commented on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-663255396


   I should add that I did a 'cordova platform rm android' and 'cordova platform add android@9.0.0' multiple times, and each time there was no cordova-plugins.js file or plugins folder created in my platform_www folder. 


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] awexfwex commented on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
awexfwex commented on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-740939009


   The above isn't a fix, its a workaround. Manually removing and re-adding all the plugins each time isn't ideal. Any chance we could re-open this?


----------------------------------------------------------------
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



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


[GitHub] [cordova-android] breautek commented on issue #1033: Android building broken: Unable to open asset URL: file:///android_asset/www/cordova_plugins.js

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1033:
URL: https://github.com/apache/cordova-android/issues/1033#issuecomment-740961023


   > The above isn't a fix, its a workaround. Manually removing and re-adding all the plugins each time isn't ideal. Any chance we could re-open this?
   > 
   > Another workaround would be to rm -rf plugins directory as part of a clean build step
   
   Are you reproducing this using `cordova@10` / `cordova-android@9` ?? If so, I think this does warrant a reopen.


----------------------------------------------------------------
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



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