cordova-plugin-splashscreen icon indicating copy to clipboard operation
cordova-plugin-splashscreen copied to clipboard

Android Build Resource Loading Problem on launch

Open remingtonchan opened this issue 7 years ago • 2 comments

I build my Android app through Meteor-Cordova.

All is well when I build a new version of the app using the latest code base.

However, when I deploy a new code base to my prod server, I encounter a resource not found error on subsequent launches of the app.

ImageView: android.content.res.Resources$NotFoundException: Resource ID #0x7f010000

The app is able to launch and function properly upon the first launch after install, even older builds. It's always the subsequent launches that face this error.

The current way I "fix" it is to rebuilt the mobile app BUT having to change the version of the plugin used (I toggle between 5.0.2 and 4.1.0).

I haven't got a clue when this really started or what's causing this issue. I don't have custom launch screens or icons yet and I use Meteor's default resources for the splash.

EDIT: I think this error persists even if the app is able to properly function after a new build is made after I change the version of the plugin. Still unsure what might the issue be though.

remingtonchan avatar Dec 13 '18 06:12 remingtonchan

Can you share how you fixed this? Future readers (looking for similar problems via Google) might benefit. Thanks.

janpio avatar Dec 13 '18 15:12 janpio

@janpio Sorry, I meant to edit my post further, but ended up closing the issue yesterday.

remingtonchan avatar Dec 14 '18 04:12 remingtonchan