8000 Resources$NotFoundException after accessing a layout file in DFM · Issue #379 · google/bundletool · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Resources$NotFoundException after accessing a layout file in DFM #379
Open
@giangpham96

Description

@giangpham96

Describe the bug

Crash after code inside DFM access a layout file in DFM

Bundletool version(s) affected
Version: 1.18.0

Stacktrace

\\ the above isn't relevant

Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7e020000
      at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:230)

\\ the following isn't relevant

To Reproduce

  • Clone the repo
  • Build the aab with
    ./gradlew :app:bundleDebug
  • Build the apks with
    bundletool build-apks --local-testing --bundle app-debug.aab --output app.apks
  • Install the app with
    bundletool install-apks --apks app.apks
  • Open the app, it will install the dynamic module
  • The app crashes when accessing the CustomView

Expected behavior

  • The view can successfully inflate its layout

Known workaround
If you have found a workaround, please specify what it is.
Upload the aab to Play Store internal track and install as a tester

Environment:
OS: Android 13

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0