Giter VIP home page Giter VIP logo

Comments (7)

keyboardsurfer avatar keyboardsurfer commented on July 18, 2024

Can you reproduce the issue with the sample code given in this repository or is it an issue occurring in your own implementation? If it's the latter, please ask a question on StackOverflow and link it here.

from app-bundle-samples.

tprochazka avatar tprochazka commented on July 18, 2024

No, it happens only in my application. So I tried to compare my app with this sample and everything is the same, only SplitCompat.install() in your activity is a difference, but I tried the same in my app and it still doesn't work.

It always crashes on some MissingResourceException, and it looks that not on my resources but on 3rd library resource, for example, I'm using Chrome Cast support in my app and it failing on

     Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x7e0a0070
        at android.content.res.Resources.getText(Resources.java:363)
        at android.content.res.Resources.getString(Resources.java:456)
        at androidx.mediarouter.media.SystemMediaRouteProvider$JellybeanImpl.<init>(SystemMediaRouteProvider.java:271)
2020-05-13 00:13:44.816 23246-23246/? E/AndroidRuntime:     at androidx.mediarouter.media.SystemMediaRouteProvider$JellybeanMr1Impl.<init>(SystemMediaRouteProvider.java:740)
        at androidx.mediarouter.media.SystemMediaRouteProvider$JellybeanMr2Impl.<init>(SystemMediaRouteProvider.java:813)
        at androidx.mediarouter.media.SystemMediaRouteProvider$Api24Impl.<init>(SystemMediaRouteProvider.java:871)
        at androidx.mediarouter.media.SystemMediaRouteProvider.obtain(SystemMediaRouteProvider.java:55)
        at androidx.mediarouter.media.MediaRouter$GlobalMediaRouter.<init>(MediaRouter.java:1987)
        at androidx.mediarouter.media.MediaRouter.getInstance(MediaRouter.java:263)
        at androidx.mediarouter.app.MediaRouteButton.<init>(MediaRouteButton.java:128)
        at androidx.mediarouter.app.MediaRouteButton.<init>(MediaRouteButton.java:121)

I already spent 5 days on it.

from app-bundle-samples.

keyboardsurfer avatar keyboardsurfer commented on July 18, 2024

The issue you're facing sounds similar to this bug. Can you provide us with more information there, so we can help to chase it up and hopefully resolve it if it's on our end.

from app-bundle-samples.

tprochazka avatar tprochazka commented on July 18, 2024

For me, it happens at least on Android 9 and 10. So not only A6.
What kind of information can help you?
I think that the best would be a testing project.

from app-bundle-samples.

keyboardsurfer avatar keyboardsurfer commented on July 18, 2024

Yes, a MVCE would be great.
To minimize overhead I recommend using the sample in this repository and making adjustments to it.

from app-bundle-samples.

tprochazka avatar tprochazka commented on July 18, 2024

MVCE is sadly usually very complicated. I tried to put some parts of my app to your sample and it works. I also tried to put your Activity to my app and it also works. It's for example limitation that you can't use any Context in the app? Should works, for example, all variants inside of the activity?

    applicationContext.getText()
    baseContext.getText()
    getText()

from app-bundle-samples.

keyboardsurfer avatar keyboardsurfer commented on July 18, 2024

At this point I've got to ask you to head over to StackOverflow with essential information on the issue you're facing, as the sample at hand seems to be working for you.

from app-bundle-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.