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

Errors while Upgrading from 0.72.14 to 0.73.0 #282

Open
naheedsa opened this issue May 5, 2024 · 1 comment
Open

Errors while Upgrading from 0.72.14 to 0.73.0 #282

naheedsa opened this issue May 5, 2024 · 1 comment

Comments

@naheedsa
Copy link

naheedsa commented May 5, 2024

Old Version

0.72.14

New Version

0.73.0

Description

Getting this error, seems like related to flipper? not sure.
Do I need to migrate .java files to kotlin also?

Steps to reproduce

./gradlew clean && npm run android

Affected Platforms

Runtime - Android

Output of npx react-native info

System:
  OS: Linux 6.5 KDE neon 6.0 6.0
  CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  Memory: 10.10 GB / 31.14 GB
  Shell:
    version: 5.1.16
    path: /bin/bash
Binaries:
  Node:
    version: 18.18.2
    path: ~/.nvm/versions/node/v18.18.2/bin/node
  Yarn:
    version: 1.22.21
    path: ~/.nvm/versions/node/v18.18.2/bin/yarn
  npm:
    version: 10.2.3
    path: ~/.nvm/versions/node/v18.18.2/bin/npm
  Watchman:
    version: 4.9.0
    path: /usr/bin/watchman
SDKs:
  Android SDK:
    API Levels:
      - "28"
      - "30"
      - "31"
      - "32"
      - "33"
      - "34"
    Build Tools:
      - 30.0.2
      - 30.0.3
      - 31.0.0
      - 33.0.0
      - 33.0.1
      - 34.0.0
      - 35.0.0
    System Images:
      - android-30 | Google APIs Intel x86 Atom
      - android-30 | Google Play Intel x86 Atom
      - android-31 | Google APIs Intel x86_64 Atom
      - android-32 | Google APIs Intel x86_64 Atom
      - android-33 | Google APIs Intel x86_64 Atom
      - android-34 | Google Play Intel x86_64 Atom
    Android NDK: Not Found
IDEs:
  Android Studio: Not Found
Languages:
  Java:
    version: 11.0.22
    path: /usr/bin/javac
  Ruby:
    version: 3.0.2
    path: /usr/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 11.3.8
    wanted: 11.3.8
  react:
    installed: 18.3.1
    wanted: 18.3.1
  react-native:
    installed: 0.73.0
    wanted: 0.73.0
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: false

Stacktrace or Logs

> Task :app:compileDebugJavaWithJavac FAILED
ASM Instrumentation process wasn't able to resolve some classes, this means that
the instrumented classes might contain corrupt stack frames. Make sure the
dependencies that contain these classes are on the runtime or the provided
classpath. Otherwise, the jvm might fail to load the corrupt classes at runtime
when running in a jvm environment like unit tests.

Classes that weren't resolved:
> com.facebook.react.bridge.WritableMap
> androidx.appcompat.view.ContextThemeWrapper
> sun.misc.Unsafe
> com.google.crypto.tink.subtle.Ed25519Sign$KeyPair

Reproducer

could not find relevant issue

Screenshots and Videos

Screenshot_20240505_101250
Screenshot_20240505_101306

@cortinico
Copy link
Collaborator

Can you provide the full build log not as an image but as text?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Inbox
Status: Inbox
Development

No branches or pull requests

2 participants