Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29497

Why app is not opening on some android devices in react native project

$
0
0

I have apk release from react native project, it opens and works fine on some android emulators like Nexus 6 (Edited) API 22 - android 5.1), and never open on another like (Galaxy Nexus API 29 - android 9.0), it gives error pixel launcher keeps stopping (app info or close app).

And for other emulators like (Nexus 6P (Edited) API 29 - android 10.0), I have list coming from json api call never appears , I tried also to make it static with no difference.

My build.gradle file:

buildscript {    ext {        buildToolsVersion = "28.0.3"        minSdkVersion = 16        compileSdkVersion = 28        targetSdkVersion = 28    }    repositories {        google()        jcenter()    }    dependencies {        classpath("com.android.tools.build:gradle:3.4.2")        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }}allprojects {    repositories {        mavenLocal()        maven {            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm            url("$rootDir/../node_modules/react-native/android")        }        maven {            // Android JSC is installed from npm            url("$rootDir/../node_modules/jsc-android/dist")        }        google()        jcenter()        maven { url 'https://www.jitpack.io' }    }}

Viewing all articles
Browse latest Browse all 29497

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>