question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android release build issue with version 4.2.0

See original GitHub issue

Is this a bug report or a feature request?

Bug report

Have you read the guidelines regarding bug report?

Yes

Have you read the documentation in its entirety?

Yes

Have you made sure that your issue hasn’t already been reported/solved?

Yes

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

Android

Is the bug reproductible in a production environment (not a debug one)?

Yes

Have you been able to reproduce the bug in the provided example?

Yes

Environment

Environment:
    React: 16.8.3
    React native: 0.59.10
    react-native-render-html: 4.2.0

Steps to Reproduce

(Write your steps here:)

  1. Generate signed apk or production build for android

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

It gives below error while creating signed apk

Unable to resolve module 'react-native-webview' from '/node_modules/react-native-render-html/src/HTMLRenderers.js': Module 'react-native-webview' does not exist in the Haste module map

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
a-skubacommented, Dec 31, 2019

Yes, you have to install react-native-webview. The PR you are sending is not fixing anything, some more refactor is needed.

0reactions
a-skubacommented, Jan 3, 2020

@bd-arc you can close this 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Known issues with Android Studio and Android Gradle Plugin
To fix this issue, upgrade your Android 11 emulator to version 9 or higher by navigating to Tools > SDK Manager. In the...
Read more >
Release APK crashes on tns-android@4.2.0 #1146 - GitHub
I'm able to build apk, but the app crashes after splash screen. The same app works fine on tns-android@4.1.3.
Read more >
AGP 4.2.0-beta-xx crashed on build android ... - Issue Tracker
AGP 4.2.0-beta-xx crashed on build android app under GradleTestKit ; Comments (8) ; Duplicates (1) ; Blocking (0) ; Resources (4) ...
Read more >
Can't create new Kotlin project after updating to Android ...
Kotlin Issue #187403740: Android Studio 4.2.0 generates projects with the wrong Kotlin version: "1.5.0-release-764". Change Log.
Read more >
Android Studio 4.2.2 available
General fixes · Issue #187353303: AGP 4.2.0 produces test APK that is missing a class, perhaps due to mixed java/kotlin source set ·...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found