Closed hgx closed 1 month ago
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
:warning: | Missing Reproducible Example |
---|---|
:information_source: | We could not detect a reproducible example in your issue report. Please provide either:
|
@hgx Apart from Run
command on Android Stdio. Are you able to build android apk on real device using npx react-native run-android
.
@shubhamguptadream11
npx react-native run-android
Can run on real device.
Clicking 'Run' on Android Studio doesn't work
The same issue occurred when installing Build APK (s)
onto the device
Can you try to update Android Studio to ladybug? I have version
Android Studio Ladybug | 2024.2.1
Build #AI-242.21829.142.2421.12409432, built on September 24, 2024
Runtime version: 21.0.3+-79915917-b509.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
And is working fine for me.
Thanks all
This should be related to the packaging method I have chosen.
Run/Debug Configurations - Installation Options - Deploy
'APK from app bundle'
After changing back to 'Default APK', it has been restored to normal
Description
I followed the tutorial to create a new project, but I am unable to run it on my Android device through Android Studio.
I haven't made any changes yet!
package.json
Steps to reproduce
npx @react-native-community/cli@latest init AwesomeProject
cd AwesomeProject
npx react-native run-android
So far everything is normal.After connecting to my phone, I encountered this issue when clicking 'Run' on Android Studio
React Native Version
0.75.4
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
none
Screenshots and Videos
No response