Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android: Crashing on launch in react native version 0.59.9 #5220

Closed
NweThazin opened this issue Jun 19, 2019 · 2 comments
Closed

Android: Crashing on launch in react native version 0.59.9 #5220

NweThazin opened this issue Jun 19, 2019 · 2 comments

Comments

@NweThazin
Copy link

@NweThazin NweThazin commented Jun 19, 2019

Issue Description

KEEP crashing on launch on android oreo and above version
To solve the google issues, updated react native version to 0.59.9 and also update sdk version to 28

Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void android.support.v4.view.ViewCompat.setOnApplyWindowInsetsListener(android.view.View, android.support.v4.view.OnApplyWindowInsetsListener) (ViewCompat.java:2203)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:637)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void android.support.v7.app.AppCompatDelegateImpl.setContentView(android.view.View) (AppCompatDelegateImpl.java:457)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void android.support.v7.app.AppCompatActivity.setContentView(android.view.View) (AppCompatActivity.java:145)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void com.reactnativenavigation.NavigationActivity.addDefaultSplashLayout() (NavigationActivity.java:130)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void com.reactnativenavigation.NavigationActivity.onCreate(android.os.Bundle) (NavigationActivity.java:35)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void sg.com.srx.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:16)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7183)
2019-06-19 15:22:30.018 8930-8930/sg.com.srx I/zygote64: at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1220)

Steps to Reproduce / Code Snippets / Screenshots

[FILL THIS OUT]


Environment

  • React Native Navigation version:2.21.0
  • React Native version:0.59.9
  • Platform(s) (iOS, Android, or both?):Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Both

Use following sdk version for android
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 19
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.1.0"
googlePlayServicesVersion = googlePlayServicesVersion
androidMapsUtilsVersion = "0.5+"
}

@support

This comment has been minimized.

Copy link

@support support bot commented Jun 27, 2019

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the react-native-navigation tag.

@support support bot closed this Jun 27, 2019
@lukebrandonfarrell

This comment has been minimized.

Copy link

@lukebrandonfarrell lukebrandonfarrell commented Jul 15, 2019

This is still an issue.

"react-native-navigation": "^2.22.3"
"react-native": "0.58.6"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.