Android Studio device monitor cannot work well - android-studio-3.0

Cannot click anything:
Developer mode and USB debug have been opened in my phone.

Related

How do I make web inspector work iOS 13.3.1 and Safari 13.0.5 or Safari Technology Preview 13.2?

I am connecting my iPhone 5 SE with an Apple OEM lighting-to-thunderbolt cable. I have the latest version of macOS (10.15.3) installed.
I have made sure that the Web Inspector setting in Settings > Safari > Advanced is turned on.
On both Safari and Safari Technology Preview I have enabled the Develop menu. My device does not show up in either.
I tried removing trusted devices from my iPhone by resetting my location and privacy in General > Reset. I then re-added my macOS system as a trusted device. This did not help either.
Any thoughts?
I am using OSX 10.15.3, (non-preview) Safari 13.0.5 and an iPhone 7 (A1660) running iOS 13.3. I plugged the phone into the Mac for the first time and trusted the computer. The Web Inspector and Remote Automation settings are available on the phone. Desktop Safari is able to find the phone in its Develop tab. It is possible to debug web pages or progressive web apps saved to the home screen, when one or both of Web Inspect and Remote Automation are enabled on the phone. Even if the debugger is not enabled, desktop Safari still knows the phone is there but shows No Inspectable Applications.
Try setting up WiFi sync for the phone, and connecting it with the cable.
I am using this tool- Safari Technology Preview to debug my iphone on mac.
Download link- https://developer.apple.com/safari/technology-preview/

How do I run/test my Flutter app on a real device?

I want to run/test (not automated test) my Flutter app on a real iPhone and Android phone during development. However, Flutter docs seem to only document how to do it with the iOS simulator or Android emulators.
I think it's already a no-brainer for iOS/Android devs but I am neither and Flutter is my first foray into mobile development.
Is there any link to a beginner's guide somewhere on how to develop while running it on a real device (with all of Flutter's live-reload goodness)?
Additional context
I'm a web developer.
I use Android Studio and VS Code.
I work on a MacBook.
For Android, this is pretty easy:
Enable Developer options and USB debugging on your device. This varies slightly by Android version, but the short version is you tap on the Device Build Number 7 times. Then a "Developer Options" option comes up and you can click "enable USB Debugging." See the linked Android documentation for the most up-to-date instructions.
Then plug your phone into your computer with a USB cable. You'll probably see some popup on your phone asking if you want to allow USB debuggng with that computer. Say "yes".
Run Flutter just like you would if you had a simulator running.
Using the right cable can make a difference. If the device is charging but nothing happens, try using another cable, preferably the one that came with the device. A notification on the device (e.g. "connected as a media device") and on Windows (e.g. "Device connected and ready to go") are indications that the USB connection is working. You should then be able to see the device on the CLI with:
flutter devices
For iOS this is a little more complicated because you need an Apple ID or to sign up for a "Developer Account":
Open XCode, then open "Preferences>Accounts". Sign in with your ID.
"Manage Certificates" > click on the "+" sign and select "iOS Development".
Plug your device into your machine. Find your device in the drop down (Window > Organizer).
Below the Team pop-up menu, click Fix Issue.
In Xcode, click the Run button.
(in subsequent runs, you can deploy to the iOS device with Android Studio, VS Code, or any other IDE of choice, you just need to set up that certificate the first time with Xcode. Here's Apple's documentation on setting up Xcode to run a physical device.)
Also, you can use your android device wirelessly using scrcpy.
Visit this link and install scrcpy. https://github.com/Genymobile/scrcpy
After you install and path scrcpy on your PC/Laptop.
Make sure your phone is connected to your PC/Laptop.
Enable Developers Options and Connect your device to the WIFI.
Open CMD.
Input "adb tcpip 5555". The adb should be restarted
Next, input "adb connect ipaddressofyourdevice:5555"
Ex: adb connect 192.168.254.19:5555
Now, you can use your device wirelessly.
Attach your real device on your development PC. To check setup process, run flutter doctor command. If result success of all required criteria then hit
flutter run

Android device isn't showing up in Visual Studio for Mac

I want to debug on a Samsung Galaxy Note 10 but the device isn't showing up in Visual Studio Community 2017 for Mac. In addition, the tablet isn't showing up in Finder even though it's plugged in with a USB cabel. I use macOS High Sierra on my iMac.
Why is the Android tablet not showing up in Visual Studio?
Visual Studio
It works now. It was necessary to enable the developer options and usb debugging.
developer options and usb debugging

Remote debugging for Flash CS6 and AIR iOS?

I'm using Flash CS6 and I would like to debug an AIR iOS app on my device but I can't establish a connection. I have my iPod Touch 5G connected via USB, checked "allow remote debugging", published the .ipa for "device debugging" and started the AS3 debugging session from the debug panel.
All I get is a window on my iPod that says enter HOST or IP. I tried both but the window comes up every time again and again without connecting. What step do I miss?
Ensure your computer and iPod are connected to the same wifi network.
Delete the app from your device and watch it as your app is installed to make sure that Flash is actually installing a new binary. (mine sometimes doesn't).
Try unplugging your phone, refresh device list, then re-plugging it in and refreshing the device list before starting the debug.
Try doing Debug menu > Debug Movie > On Device via USB > select your device. (to do this the .fla file must be the active file within Flash.) Note I'm using Flash Pro CC 2014 though, not CS6.

Is it possible to wirelessly debug an iphone webapp?

I currently have to have my iPhone physically connected by USB to run remote debugging in Safari. Is it possible to do it via bluetooth or some other wireless method?
You have to plug the phone to your computer, is not possible to do it remotely so far.
It is now possible to do wireless remote debugging using "Safari Technology Preview":
Remote debugging with mobile Safari also works without a cable connection to the desktop computer. But you have to install Safari Technology Preview on your Mac as the stable Safari version currently does not support wireless remote debugging. Just do the same setup as described above, but connect the cable and open Safari on your iOS device. In Safari Technology Preview, make sure you enabled “Show Develop menu in menu bar” and enable Develop → "Your mobile Device Name" → Connect via Network in the menu. Now you can unplug the cable and check whether Develop → "Your mobile Device Name" still shows up on the desktop Safari.
It is possible now - I put it here to tie the threads - see here
https://apple.stackexchange.com/a/333876/100894
Currently, it is not possible to debug directly on iPhone from a Mac wirelessly. You will need to connect the iPhone via USB cable to a mac and then use the Safari Preview Technology browser.

Resources