Open lnufnu opened 4 years ago
I have exactly the same issue after upgrading to 1.10.1. I reset my project and removed/re-added the platforms for a clean build, but the issue persists. I think the key line and first error is the cordova_plugins.js
is missing. After that, all the plug-ins fail to load.
I20200406-10:24:53.619(-5)? 04-06 10:24:49.731 16316 16365 W MeteorWebApp: Asset /cordova_plugins.js not found in bundle 1f1ff6ffcf5026ffa1c00e6a8dc9abb7c02387ec:file:///android_asset/www/application, no parent bundle
Experiencing the same issue. Although in my case it also references missing properties such as Accounts, Blaze, Mongo, etc.. plus the core-js npm package.
Running the app locally works fine and shows no errors. I ran a production build a couple of weeks back using 1.10.1 and didn't have any issues.
I also created a fresh app using meteor create and same results.
I20200415-18:37:04.959(10)? 04-15 18:37:06.219 29886 29886 I chromium: [INFO:CONSOLE(73)] "Uncaught Error: The core-js npm package could not be found in your node_modules
I20200415-18:37:04.959(10)? 04-15 18:37:06.219 29886 29886 I chromium: directory. Please run the following command to install it:
I20200415-18:37:04.959(10)? 04-15 18:37:06.219 29886 29886 I chromium:
I20200415-18:37:04.959(10)? 04-15 18:37:06.219 29886 29886 I chromium: meteor npm install --save core-js
I20200415-18:37:04.959(10)? 04-15 18:37:06.219 29886 29886 I chromium: ", source: http://localhost:12544/__cordova/packages/ecmascript-runtime-client.js?hash=e56ad2751c851995e701e288a92e4b815bade604 (73)
I20200415-18:37:04.959(10)? 04-15 18:37:06.221 29886 29886 I chromium: [INFO:CONSOLE(20)] "Uncaught TypeError: Cannot read property 'Symbol' of undefined", source: http://localhost:12544/__cordova/packages/base64.js?hash=87543a87900a037ca9a754c3865828f40d890418 (20)
I20200415-18:37:04.959(10)? 04-15 18:37:06.224 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'Base64' of undefined", source: http://localhost:12544/__cordova/packages/ejson.js?hash=d8e8c96b6c7cb643d8617ac71c423f8872ea1c3e (17)
I20200415-18:37:04.959(10)? 04-15 18:37:06.226 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'EJSON' of undefined", source: http://localhost:12544/__cordova/packages/diff-sequence.js?hash=9784844a36fa4e8e5f81295433df9ab7f93e18fe (17)
I20200415-18:37:04.959(10)? 04-15 18:37:06.228 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'EJSON' of undefined", source: http://localhost:12544/__cordova/packages/id-map.js?hash=79f00043bbfb423d9ead5e92a63885ab6df82fdd (17)
I20200415-18:37:04.959(10)? 04-15 18:37:06.229 29886 29886 I chromium: [INFO:CONSOLE(20)] "Uncaught TypeError: Cannot read property 'Symbol' of undefined", source: http://localhost:12544/__cordova/packages/random.js?hash=2d0a5838a90919b247b5d65c72d2619a22f40865 (20)
I20200415-18:37:04.959(10)? 04-15 18:37:06.231 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'EJSON' of undefined", source: http://localhost:12544/__cordova/packages/mongo-id.js?hash=add660f006b87f65702a03c629f1d5c7577f5b2e (17)
I20200415-18:37:04.959(10)? 04-15 18:37:06.233 29886 29886 I chromium: [INFO:CONSOLE(20)] "Uncaught TypeError: Cannot read property 'Symbol' of undefined", source: http://localhost:12544/__cordova/packages/ordered-dict.js?hash=83f4123e4d0a45e218f636cc78140277131f101a (20)
I20200415-18:37:04.960(10)? 04-15 18:37:06.234 29886 29886 I chromium: [INFO:CONSOLE(20)] "Uncaught TypeError: Cannot read property 'Symbol' of undefined", source: http://localhost:12544/__cordova/packages/tracker.js?hash=13b86fe6ebb2772df182cf84b43284aba9b7296f (20)
I20200415-18:37:04.960(10)? 04-15 18:37:06.241 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'DiffSequence' of undefined", source: http://localhost:12544/__cordova/packages/minimongo.js?hash=2affaba30f92e505f3dfc61c7c9c0d9b00aa7a54 (17)
I20200415-18:37:04.960(10)? 04-15 18:37:06.244 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'EJSON' of undefined", source: http://localhost:12544/__cordova/packages/check.js?hash=3d6c9006e6f09ea4eae327fb506f1ec13b9dd275 (17)
I20200415-18:37:04.960(10)? 04-15 18:37:06.245 29886 29886 I chromium: [INFO:CONSOLE(17)] "Uncaught TypeError: Cannot read property 'Random' of undefined", source: http://localhost:12544/__cordova/packages/retry.js?hash=422b8713b5b9f7092cfeb07cb4c48aff0f7ae0fe (17)
I20200415-18:37:04.961(10)? 04-15 18:37:06.246 29886 29886 I chromium: [INFO:CONSOLE(20)] "Uncaught TypeError: Cannot read property 'Symbol' of undefined", source: http://localhost:12544/__cordova/packages/callback-hook.js?hash=8ef6d6dffd6c6e72641e2585e06040f7a325136f (20)
etc...
Could this be related to insecure content being blocked by Android's built-in security restrictions? Is anyone seeing these issues when connecting to a server which has SSL set up?
I did a test with a new Meteor app on localhost using ngrok for SSL and things seemed to be working correctly. Steps here:
https://github.com/meteor/meteor/issues/11024#issuecomment-618022075
@alanning I still get errors following the steps with ngrok.
➜ testAndroid meteor run -p 3010 android-device --mobile-server=https://<hash>.ngrok.io
[[[[[ ~/Development/testAndroid ]]]]]
=> Started proxy.
WARNING: You are testing your app on a remote device. For the mobile app to be able to connect to the local server, make sure your device is on the same network, and that the
network configuration allows clients to talk to each other (no client isolation).
=> Started MongoDB.
Checking Java JDK and Android SDK versions -
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=/Users/lnufnu/Library/Android/sdk/ (DEPRECATED)
=> Started your app.
=> App running at: http://localhost:3010/
> Task :app:cdvCreateAssetManifest /
> Task :app:preBuild
> Task :CordovaLib:preBuild UP-TO-DATE
> Task :CordovaLib:preDebugBuild UP-TO-DATE
> Task :CordovaLib:checkDebugManifest UP-TO-DATE
> Task :CordovaLib:processDebugManifest UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE -
> Task :CordovaLib:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :CordovaLib:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript UP-TO-DATE
> Task :app:checkDebugManifest UP-TO-DATE
> Task :app:generateDebugBuildConfig UP-TO-DATE
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:generateDebugSources UP-TO-DATE
> Task :CordovaLib:compileDebugRenderscript UP-TO-DATE
> Task :CordovaLib:generateDebugBuildConfig UP-TO-DATE
> Task :CordovaLib:generateDebugResValues UP-TO-DATE
> Task :CordovaLib:generateDebugResources UP-TO-DATE
> Task :CordovaLib:packageDebugResources UP-TO-DATE
> Task :CordovaLib:generateDebugRFile UP-TO-DATE
> Task :CordovaLib:prepareLintJar UP-TO-DATE
> Task :CordovaLib:generateDebugSources UP-TO-DATE
> Task :CordovaLib:javaPreCompileDebug UP-TO-DATE
> Task :CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
> Task :CordovaLib:processDebugJavaRes NO-SOURCE
> Task :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE
> Task :app:javaPreCompileDebug UP-TO-DATE
> Task :app:mainApkListPersistenceDebug UP-TO-DATE
> Task :app:generateDebugResValues UP-TO-DATE
> Task :app:generateDebugResources UP-TO-DATE
> Task :app:mergeDebugResources
> Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
> Task :app:processDebugManifest UP-TO-DATE
> Task :app:processDebugResources -
> Task :app:compileDebugJavaWithJavac UP-TO-DATE
> Task :app:compileDebugNdk NO-SOURCE
> Task :app:compileDebugSources UP-TO-DATE
> Task :app:mergeDebugShaders UP-TO-DATE
> Task :app:compileDebugShaders UP-TO-DATE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :CordovaLib:mergeDebugShaders UP-TO-DATE
> Task :CordovaLib:compileDebugShaders UP-TO-DATE
> Task :CordovaLib:generateDebugAssets UP-TO-DATE
> Task :CordovaLib:packageDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:validateSigningDebug UP-TO-DATE
> Task :app:signingConfigWriterDebug UP-TO-DATE
> Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
> Task :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
> Task :app:mergeDebugJniLibFolders UP-TO-DATE
> Task :CordovaLib:compileDebugNdk NO-SOURCE
> Task :CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
> Task :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE
> Task :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
> Task :app:packageDebugid Device |
> Task :app:assembleDebug
> Task :app:cdvBuildDebug
BUILD SUCCESSFUL in 3s
43 actionable tasks: 5 executed, 38 up-to-date
Checking Java JDK and Android SDK versions -
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=/Users/lnufnu/Library/Android/sdk/ (DEPRECATED)
%% No target specified, deploying to device '0316033a2e843504'.
=> Started app on Android Device.
I20200424-15:00:34.305(-5)? 04-24 15:00:30.935 30945 30946 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x140 in tid 30946 (Binder:30945_1)
I20200424-15:00:34.347(-5)? 04-24 15:00:32.711 31187 31187 I CordovaLog: Changing log level to DEBUG(3)
I20200424-15:00:34.350(-5)? 04-24 15:00:32.848 31187 31243 W chromium: [WARNING:dns_config_service_posix.cc(341)] Failed to read DnsConfig.
I20200424-15:00:34.350(-5)? 04-24 15:00:32.946 31187 31187 W MeteorWebApp: Loading asset bundle from directory file:///android_asset/www/application
I20200424-15:00:34.351(-5)? 04-24 15:00:33.093 31187 31243 W MeteorWebApp: Asset / found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.351(-5)? 04-24 15:00:33.251 31187 31247 W MeteorWebApp: Asset /__cordova/merged-stylesheets.css found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.351(-5)? 04-24 15:00:33.251 31187 31245 W MeteorWebApp: Asset /cordova.js not found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application, no parent bundle
I20200424-15:00:34.352(-5)? 04-24 15:00:33.252 31187 31243 W MeteorWebApp: Asset /__cordova/packages/meteor.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.352(-5)? 04-24 15:00:33.254 31187 31246 W MeteorWebApp: Asset /__cordova/packages/meteor-base.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.352(-5)? 04-24 15:00:33.256 31187 31256 W MeteorWebApp: Asset /__cordova/packages/mobile-experience.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.352(-5)? 04-24 15:00:33.258 31187 31247 W MeteorWebApp: Asset /__cordova/packages/modules-runtime.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.353(-5)? 04-24 15:00:33.260 31187 31347 W MeteorWebApp: Asset /__cordova/packages/modules.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.353(-5)? 04-24 15:00:33.260 31187 31246 W MeteorWebApp: Asset /__cordova/packages/modern-browsers.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.353(-5)? 04-24 15:00:33.264 31187 31243 W MeteorWebApp: Asset /__cordova/packages/babel-compiler.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.353(-5)? 04-24 15:00:33.265 31187 31347 W MeteorWebApp: Asset /__cordova/packages/ecmascript.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.353(-5)? 04-24 15:00:33.266 31187 31247 W MeteorWebApp: Asset /__cordova/packages/ecmascript-runtime.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.354(-5)? 04-24 15:00:33.270 31187 31256 W MeteorWebApp: Asset /__cordova/packages/babel-runtime.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.354(-5)? 04-24 15:00:33.272 31187 31346 W MeteorWebApp: Asset /__cordova/packages/dynamic-import.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.354(-5)? 04-24 15:00:33.273 31187 31245 W MeteorWebApp: Asset /__cordova/packages/es5-shim.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.354(-5)? 04-24 15:00:33.273 31187 31243 W MeteorWebApp: Asset /__cordova/packages/promise.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.355(-5)? 04-24 15:00:33.273 31187 31347 W MeteorWebApp: Asset /__cordova/packages/fetch.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.355(-5)? 04-24 15:00:33.273 31187 31246 W MeteorWebApp: Asset /__cordova/packages/ecmascript-runtime-client.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.356(-5)? 04-24 15:00:33.279 31187 31247 W MeteorWebApp: Asset /__cordova/packages/base64.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.356(-5)? 04-24 15:00:33.279 31187 31256 W MeteorWebApp: Asset /__cordova/packages/ejson.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.283 31187 31245 W MeteorWebApp: Asset /__cordova/packages/diff-sequence.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.284 31187 31243 W MeteorWebApp: Asset /__cordova/packages/id-map.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.287 31187 31246 W MeteorWebApp: Asset /__cordova/packages/random.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.288 31187 31347 W MeteorWebApp: Asset /__cordova/packages/geojson-utils.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.288 31187 31346 W MeteorWebApp: Asset /__cordova/packages/mongo-id.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.289 31187 31247 W MeteorWebApp: Asset /__cordova/packages/ordered-dict.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.357(-5)? 04-24 15:00:33.294 31187 31346 W MeteorWebApp: Asset /__cordova/packages/tracker.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.358(-5)? 04-24 15:00:33.299 31187 31247 W MeteorWebApp: Asset /__cordova/packages/check.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.358(-5)? 04-24 15:00:33.300 31187 31346 W MeteorWebApp: Asset /__cordova/packages/ddp-common.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.358(-5)? 04-24 15:00:33.300 31187 31243 W MeteorWebApp: Asset /__cordova/packages/callback-hook.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.358(-5)? 04-24 15:00:33.300 31187 31246 W MeteorWebApp: Asset /__cordova/packages/retry.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.359(-5)? 04-24 15:00:33.301 31187 31245 W MeteorWebApp: Asset /__cordova/packages/minimongo.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.359(-5)? 04-24 15:00:33.301 31187 31247 W MeteorWebApp: Asset /__cordova/packages/socket-stream-client.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.359(-5)? 04-24 15:00:33.301 31187 31256 W MeteorWebApp: Asset /__cordova/packages/reload.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.360(-5)? 04-24 15:00:33.302 31187 31347 W MeteorWebApp: Asset /__cordova/packages/ddp-client.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.360(-5)? 04-24 15:00:33.305 31187 31346 W MeteorWebApp: Asset /__cordova/packages/ddp.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.360(-5)? 04-24 15:00:33.305 31187 31243 W MeteorWebApp: Asset /__cordova/packages/ddp-server.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.361(-5)? 04-24 15:00:33.306 31187 31246 W MeteorWebApp: Asset /__cordova/packages/allow-deny.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.361(-5)? 04-24 15:00:33.307 31187 31346 W MeteorWebApp: Asset /__cordova/packages/mongo-dev-server.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.362(-5)? 04-24 15:00:33.310 31187 31247 W MeteorWebApp: Asset /__cordova/packages/insecure.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.362(-5)? 04-24 15:00:33.311 31187 31246 W MeteorWebApp: Asset /__cordova/packages/mongo.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.362(-5)? 04-24 15:00:33.312 31187 31247 W MeteorWebApp: Asset /__cordova/packages/blaze-html-templates.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.362(-5)? 04-24 15:00:33.315 31187 31243 W MeteorWebApp: Asset /__cordova/packages/jquery.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.366(-5)? 04-24 15:00:33.326 31187 31247 W MeteorWebApp: Asset /__cordova/packages/reactive-var.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.367(-5)? 04-24 15:00:33.328 31187 31346 W MeteorWebApp: Asset /__cordova/packages/standard-minifier-js.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.368(-5)? 04-24 15:00:33.330 31187 31243 W MeteorWebApp: Asset /__cordova/packages/typescript.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.368(-5)? 04-24 15:00:33.331 31187 31346 W MeteorWebApp: Asset /__cordova/packages/shell-server.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.368(-5)? 04-24 15:00:33.332 31187 31347 W MeteorWebApp: Asset /__cordova/packages/autopublish.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.369(-5)? 04-24 15:00:33.332 31187 31256 W MeteorWebApp: Asset /__cordova/packages/webapp.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.369(-5)? 04-24 15:00:33.333 31187 31245 W MeteorWebApp: Asset /__cordova/packages/livedata.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.369(-5)? 04-24 15:00:33.333 31187 31243 W MeteorWebApp: Asset /__cordova/packages/hot-code-push.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.370(-5)? 04-24 15:00:33.333 31187 31247 W MeteorWebApp: Asset /__cordova/packages/mobile-status-bar.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.370(-5)? 04-24 15:00:33.334 31187 31246 W MeteorWebApp: Asset /__cordova/packages/standard-minifier-css.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.370(-5)? 04-24 15:00:33.334 31187 31245 W MeteorWebApp: Asset /__cordova/packages/deps.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.370(-5)? 04-24 15:00:33.335 31187 31346 W MeteorWebApp: Asset /__cordova/packages/observe-sequence.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.370(-5)? 04-24 15:00:33.336 31187 31347 W MeteorWebApp: Asset /__cordova/packages/underscore.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.371(-5)? 04-24 15:00:33.338 31187 31256 W MeteorWebApp: Asset /__cordova/packages/blaze.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.371(-5)? 04-24 15:00:33.338 31187 31346 W MeteorWebApp: Asset /__cordova/packages/htmljs.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.371(-5)? 04-24 15:00:33.341 31187 31245 W MeteorWebApp: Asset /__cordova/packages/templating-compiler.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.372(-5)? 04-24 15:00:33.342 31187 31256 W MeteorWebApp: Asset /__cordova/packages/templating-runtime.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.372(-5)? 04-24 15:00:33.344 31187 31247 W MeteorWebApp: Asset /__cordova/packages/spacebars.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.372(-5)? 04-24 15:00:33.354 31187 31247 W MeteorWebApp: Asset /__cordova/packages/templating.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.372(-5)? 04-24 15:00:33.354 31187 31243 W MeteorWebApp: Asset /__cordova/packages/launch-screen.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.372(-5)? 04-24 15:00:33.355 31187 31245 W MeteorWebApp: Asset /__cordova/packages/ui.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.373(-5)? 04-24 15:00:33.355 31187 31243 W MeteorWebApp: Asset /__cordova/packages/autoupdate.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.373(-5)? 04-24 15:00:33.357 31187 31243 W MeteorWebApp: Asset /__cordova/app/global-imports.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.373(-5)? 04-24 15:00:33.359 31187 31243 W MeteorWebApp: Asset /__cordova/app/app.js found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application
I20200424-15:00:34.373(-5)? 04-24 15:00:33.942 31187 31246 W MeteorWebApp: Asset /cordova_plugins.js not found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application, no parent bundle
I20200424-15:00:34.373(-5)? 04-24 15:00:33.978 31187 31357 W MeteorWebApp: Asset /plugins/cordova-plugin-meteor-webapp/www/webapp_local_server.js not found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application, no parent bundle
I20200424-15:00:34.373(-5)? 04-24 15:00:33.979 31187 31246 W MeteorWebApp: Asset /plugins/cordova-plugin-splashscreen/www/splashscreen.js not found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application, no parent bundle
I20200424-15:00:34.373(-5)? 04-24 15:00:33.979 31187 31256 W MeteorWebApp: Asset /plugins/cordova-plugin-statusbar/www/statusbar.js not found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application, no parent bundle
I20200424-15:00:34.374(-5)? 04-24 15:00:34.042 31187 31376 I MeteorWebApp: Startup completed received. New good version is e4eff766174f200c60abee59b877c85a0d79c475
I20200424-15:00:34.374(-5)? 04-24 15:00:34.105 31187 31245 W MeteorWebApp: Asset /favicon.ico not found in bundle e4eff766174f200c60abee59b877c85a0d79c475:file:///android_asset/www/application, no parent bundle
Did you try upgrading to 1.10.2? I did that and all (well these) my problems went away.
I should have mentioned I'm running the 1.10.2 release with APK 27. Thank you for the suggestion, though.
Hi @lnufnu did you figure out a solution for this? I'm also running into same message with assets not found.
I'm also on meteor version 1.10.2
Thanks!
@Falkovic1993 No, I have not.
Getting this on Meteor 1.10.2 with APK 28 as well
I have the same issue with 1.10.2 and apk 28
I tried running it on emulators with APK 24 and 29 and still see the same errors.
I have also tried removing .meteor/local/cordova-build
, my home .cordova files, removing the Android platform then adding it again, and running meteor reset
.
I have an application that does not throw this error, and if I copy its .meteor/local/cordova-build
, the other application bundles cordova.js. I am diffing the files in cordova-build trying to figure out what may be significant. Both of the applications throw socket.io not found in bundle, no parent bundle
. Even when it says cordova.js is missing, when I go to .meteor/local/cordova-build/platforms/android/app/src/main/assets/www/
, cordova.js is there.
Gradle version is 4.1 in throwing app and 4.1.3 in app with cordova.js in the bundle. build.gradle differs in defaultBuildToolsVersion (27 in the error throwing app, 28 in the other). Adding App.setPreference('android-targetSdkVersion', '28’)
to my mobile-config.js does not fix it (as expected, considering the emulators also getting the error). The Cordova version is 7.1.4 in the erroring app and 8.1.0 in the other.
I will keep looking into the .meteor/local
files to see if I can pinpoint what makes Cordova get bundled.
Can you share your folder structure, package.json, meteor package & cordova-plugins. I had to manually update cordova-plugin-meteor-webapp because I specified it myself in my cordova-plugins. But runs fine with ngrok on Android 9 devices using Meteor 1.10.2.
Sure. This is the 1.10.1 app. It's pretty much just the skeleton from meteor create
.
Folder structure:
.
├── .gitignore
├── .meteor
│ ├── .finished-upgraders
│ ├── .gitignore
│ ├── .id
│ ├── packages
│ ├── platforms
│ ├── release
│ └── versions
├── client
│ ├── main.css
│ ├── main.html
│ └── main.js
├── mobile-config.js
├── package-lock.json
├── package.json
├── server
│ └── main.js
└── tests
└── main.js
package.json:
{
"name": "testAndroid",
"private": true,
"scripts": {
"start": "meteor run",
"test": "meteor test --once --driver-package meteortesting:mocha",
"test-app": "TEST_WATCH=1 meteor test --full-app --driver-package meteortesting:mocha",
"visualize": "meteor --production --extra-packages bundle-visualizer"
},
"dependencies": {
"@babel/runtime": "^7.8.3",
"jquery": "^3.4.1",
"meteor-node-stubs": "^1.0.0"
},
"meteor": {
"mainModule": {
"client": "client/main.js",
"server": "server/main.js"
},
"testModule": "tests/main.js"
}
}
packages:
meteor-base@1.4.0 # Packages every Meteor app needs to have
mobile-experience@1.1.0 # Packages for a great mobile UX
mongo@1.10.0 # The database Meteor supports right now
blaze-html-templates # Compile .html files into Meteor Blaze views
jquery # Wrapper package for npm-installed jquery
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.2.0 # Meteor's client-side reactive programming library
standard-minifier-css@1.6.0 # CSS minifier run for production mode
standard-minifier-js@2.6.0 # JS minifier run for production mode
es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.14.3 # Enable ECMAScript2015+ syntax in app code
typescript@3.7.6 # Enable TypeScript syntax in .ts and .tsx modules
shell-server@0.5.0 # Server-side component of the `meteor shell` command
autopublish@1.0.7 # Publish all data to the clients (for prototyping)
insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
cordova plugins:
"cordovaDependencies": {
"cordova-plugin-whitelist": "1.3.4",
"cordova-plugin-wkwebview-engine": "1.2.1",
"cordova-plugin-meteor-webapp": "1.9.1",
"cordova-plugin-statusbar": "2.4.3",
"cordova-plugin-splashscreen": "5.0.3"
}
the problem could be clearText disabled by default in the v1.10.2 i run the following fix to run HCP successfully.
This solved my issue:
App.appendToConfig('
<edit-config file="app/src/main/AndroidManifest.xml"
mode="merge"
target="/manifest/application"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:usesCleartextTraffic="true"> </application>
</edit-config>');
Source from the doc: https://docs.meteor.com/packages/autoupdate.html#usesCleartextTraffic
Related to #85, I am getting errors about packages missing from the bundle. Hot Module Reloading is not working with my setup. I am running Meteor 1.10.1 and webapp v1.9.1.
When I upgraded an existing project running 1.8.1 to 1.10.1, the application would not render, related to meteor/10878.
Using
meteor create testAndroid
andmeteor add-platform android
to create a fresh app gets these errors: