Closed db-flutterwave closed 1 year ago
Thanks for sending a repro. I've just tested on a physical device running Android 13, and all works fine without any problems
Thanks @cortinico, this is quite strange, I just ran it again after seeing your message and it worked, possibly something was failing on my machine relating to Gradle that I didn't get an error for, will close for now and investigate, if I find anything I'll run some more tests and report back. Thanks.
I am having the same issue here.
@db-flutterwave, have you done something?
Starting: Intent { cmp=app_name/.MainActivity } Error type 3 Error: Activity class {com.app_name/com.app_name.MainActivity} does not exist.
Simulator: Pixel XL API UpsideDownCake.
System: OS: macOS 13.2 CPU: (8) arm64 Apple M1 Memory: 124.30 MB / 8.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 19.9.0 - /opt/homebrew/bin/node Yarn: 1.22.18 - /opt/homebrew/bin/yarn npm: 9.6.4 - /opt/homebrew/bin/npm Watchman: 2023.04.10.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.12.0 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 Android SDK: Android NDK: 22.1.7171670 IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9477386 Xcode: 14.3/14E222b - /usr/bin/xcodebuild Languages: Java: 11.0.19 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.6 => 0.71.6 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
@Tavernari I was facing the same issue, https://github.com/facebook/react-native/issues/36995 fixed it for me.
Description
I initialised a fresh React Native app on my Intel mac and tried running the
react-native run-android
command and the app builds but fails to start on my emulator with the following error.Note: My issue is not how to upgrade but rather how to resolve the launch bug for development so I can run my app in development.
React Native Version
0.71.6
Output of
npx react-native info
System: OS: macOS 13.1 CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 125.73 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 19.9.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.6.3 - /usr/local/bin/npm Watchman: 2023.04.10.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4 Android SDK: Not Found IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9619390 Xcode: 14.3/14E222b - /usr/bin/xcodebuild Languages: Java: 11.0.18 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.6 => 0.71.6 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
react-native run-android
on the newly initialised project.Snack, code example, screenshot, or link to a repository
https://github.com/db-flutterwave/react-native-0.71.6-test