bug: live-reload not working when using adb reverse
See original GitHub issueBug Report
App set for live-reload with
"android": {
"webContentsDebuggingEnabled": true
},
"server": {
"cleartext": true,
"url": "http://localhost:8080"
}
The app runs in the simulator, displays the “Using app server http://localhost:8080” toast, but it serves static assets from the build folder and the live-reload really does not work.
I start the Android studio with
yarn cap sync android && yarn cap copy android && yarn cap open android
Capacitor Version
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 2.4.6
@capacitor/core: 2.4.6
@capacitor/android: 2.4.6
@capacitor/electron: 2.4.6
@capacitor/ios: 2.4.6
Installed Dependencies:
@capacitor/cli 2.4.5
@capacitor/core 2.4.5
@capacitor/ios 2.4.5
@capacitor/android 2.4.5
@capacitor/electron not installed
[success] Android looking great! 👌
Found 9 Capacitor plugins for ios:
capacitor-dark-mode (1.0.5)
capacitor-plugin-ios-swipe-back (1.0.3)
capacitor-rate-app (0.1.1)
capacitor-secure-storage-plugin (0.5.0)
cordova-plugin-appcenter-crashes (0.5.1)
cordova-plugin-appcenter-shared (0.5.1)
cordova-plugin-fingerprint-aio (4.0.2)
cordova-plugin-inappbrowser (5.0.0-dev)
onesignal-cordova-plugin (2.11.2)
[success] iOS looking great! 👌
Platform(s)
Android
Other Technical Details
yarn --version
output: 1.22.10
node --version
output: v12.19.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Get error when running ionic live reload on wifi adb
So i connected my device with wifi and the regular ionic build works fine. But when i trying to build with live reload...
Read more >Live reload with wifi ADB not working - Ionic Forum
Hi, I am trying to debug my app trough WiFi with adb. The regular build is working fine. But the live reload(ionic cordova...
Read more >Quest 1 adb bug: cannot adb reverse over WiFi (TCP/IP)
I want to use adb reverse over WiFi to go to localhost:3000 in Oculus Browser and debug the app. What works: - connecting...
Read more >Debugging
Debugging. Accessing the In-App Developer Menu. You can access the developer menu by shaking your device or by selecting "Shake Gesture" ...
Read more >React Native App Development on Physical Android device ...
Awais Khan, adb reverse tcp:8081 tcp:8081 doesn't work on Android version 5 or below. So, You have Android device with at least version...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
closing as the PR was merged, the fix will be available on next release (2.4.7)
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.