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.

react-native 0.59 version not running on Android 9

See original GitHub issue

I’m using react-native 0.59.5 , I updated it from 0.57 version and find out the bug that my app doesn’t run on Android 9 devices. App build is successful but when it starting to run I get the following error screen:

Снимок

React Native version: 0.59.5

React Native Environment Info: System: OS: Windows 10 CPU: (8) x64 Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 4.15 GB / 15.67 GB Binaries: npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 3.3.0.0 AI-182.5107.16.33.5314842

Steps To Reproduce

  1. run react-native run-android
  2. get “Build Sucessful”
  3. Bundler opens but not run process and stack on Loading dependecy graph.done
  4. App starting to run and gets error screen

Describe what you expected to happen: Expectation: Start the app as it should be.

Issue Analytics

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

github_iconTop GitHub Comments

23reactions
madokecommented, May 13, 2019

Hi @ashotosipyan, adding android:usesCleartextTraffic="true" to your <application> tag in AndroidManifest.xml should fix the problem

0reactions
shivo-hamcommented, Oct 4, 2019

android:usesCleartextTraffic=“true” why is working

Read more comments on GitHub >

github_iconTop Results From Across the Web

React native app cannot be installed at Android 9.0
As the question title said, my react native app cannot run at Android 9.0. Error occurs when installing, the error prompts with "There...
Read more >
Upgrade to React Native 0.59 - Matt Oakes
The first step is to upgrade the dependencies in your package.json and install them. Remember that each React Native version ties to a...
Read more >
Blog - React Native
We are excited to release a new version of React Native, 0.69.0. This version comes with several improvements for the New Architecture of...
Read more >
Announcing React Native 0.68
Today we are announcing the 0.68.0 release of React Native, with opt-in to the New React Native Architecture, bug fixes and more.
Read more >
Announcing React Native 0.66
Today we're releasing React Native v0.66 for Android 12 and iOS 15 ... to the most recent stable release if you have not...
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