Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Task :Teapot:externalNativeBuildRelease FAILED HOT 1
- Resource Not Found error after close and relaunch the app HOT 1
- Duplicate class in play.core On Build Unity 2020 LTS
- AAssetManager cannot handle a pack nearly 2GB on 32 bit device
- Resource Not Found Exception
- Q: Instant Apps
- dynamic-feature mlkit translate
- Resource Not Found Relaunch Application on-Demand Dynamic Feature Module HOT 4
- Resources$NotFoundException HOT 4
- Sample code at app-bundle-samples/PlayAssetDelivery/NativeSample/ not generating all standalone apks HOT 1
- Play Asset Delivery Error Code does not match HOT 1
- Can PAD deliver SO?
- Security Policy violation Binary Artifacts HOT 28
- I want put all arr files to dynamic feature module, but have question
- Question: Would the install-time delivery still violate the maximum size limitation?
- GoogleAnalytics sample app build fails with "Unable to make protected void java.net.URLClassLoader.addURL(java.net.URL) accessible"
- ContentProvider in dynamic module HOT 1
- What about the assets file in the aar package?
- Dynamic feature UnsatisfiedLinkError
- Error receiving broadcast Intent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-bundle-samples.