Comments (10)
Confirming it works 🎉
from cli.
The template changed to using the short (?) form, .MainActivity, which is what the code currently assumes.
Yeah and I think that's why this slipped through. Your suggestion to fix it makes sense to me, send #2269 with this change. Let's see what @cortinico says about it
from cli.
Thank you for testing! Will release it on Monday
from cli.
from cli.
I can confirm I see the same error
System:
OS: macOS 14.2.1
CPU: (8) arm64 Apple M1
Memory: 62.17 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.10.0
path: ~/.nvm/versions/node/v20.10.0/bin/node
Yarn:
version: 1.22.21
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v20.10.0/bin/npm
Watchman:
version: 2023.12.04.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.11.3
path: /Users/edoardodusi/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
Android SDK:
API Levels:
- "28"
- "29"
- "30"
- "31"
- "32"
- "33"
- "34"
Build Tools:
- 29.0.2
- 30.0.2
- 30.0.3
- 31.0.0
- 32.0.0
- 32.1.0
- 33.0.0
- 33.0.0
- 33.0.1
- 34.0.0
System Images:
- android-28 | Google APIs ARM 64 v8a
- android-30 | Intel x86 Atom_64
- android-32 | Google APIs ARM 64 v8a
- android-34 | Google Play ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11076708
Xcode:
version: 15.2/15C500b
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.9
path: /usr/bin/javac
Ruby:
version: 3.3.0
path: /Users/edoardodusi/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react: Not Found
react-native: Not Found
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
from cli.
I believe this is also what happened to @Titozzz as well. What's the activity defined in your AndroidManifest.xml
@tido64 @edodusi?
from cli.
I believe this is also what happened to @Titozzz as well. What's the activity defined in your
AndroidManifest.xml
@tido64 @edodusi?
It's a fully qualified name, com.microsoft.reacttestapp.MainActivity
. The fix above checks for it before doing concatenations.
Edit: The template changed to using the short (?) form, .MainActivity
, which is what the code currently assumes.
from cli.
Let's see what @cortinico says about it
Thanks for looking into this. #2269 looks like the correct approach 👍
from cli.
Forwarding to @jblarriviere who's gonna test right now if that fixes our issue :)
from cli.
Thanks for the quick turnaround!
from cli.
Related Issues (20)
- `profile-hermes` throws an error when more than one device is connected HOT 1
- Improve the developer experience of specifying device/simulator HOT 5
- How to `bundle` when upgrading from version 7 to 12 HOT 10
- How do we build different variation of android apps?
- TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["X-React-Native-Project-Root"] at ServerResponse.setHeader (node:_http_outgoing:651:3) HOT 16
- Setting `buildTypes` for a dependency still adds it to main list of packages, is this expected?
- Getting Error While initialization react native app in ubuntu 22.04.3 LTS. HOT 2
- Error when converting default `settings.gradle` to Kotlin DSL (`settings.gradle.kts`) HOT 3
- --mode vs (deprecated) --variant flag - clarity required HOT 8
- How to solve "Cannot find module 'react-native/cli" correctly? HOT 4
- Support for javascript template when initialize latest React Native HOT 1
- How can I get cli-platform-ios to recognize my M1-based Mac as a Destination/target-device? HOT 1
- 🚨 Security Vulnerability: ip npm package is unsafe for use as of v1.1.8 HOT 21
- Could not create an empty Git repository, see debug logs with --verbose HOT 14
- Unable to start server in new window when using yarn with pnpm linker HOT 2
- FAILURE: Build failed with an exception.
- FAILURE: Build failed with an exception. Script '/home/xyz/Documents/CQ/projectName/node_modules/@react-native-community/cli-platform-android/native_modules.gradle' line: 375 HOT 1
- Implement support for Android activity aliases
- Not possible to specify macCatalyst UDID as run target
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.