Unable to find [App Inspection] option in Android Studio under View <Tool Window< - android-studio-3.0

I want to do network inspection on my android app running in emulator of android studio and want to inspect all respond and request content. I get to know that same can be done by clicking on App Inspection and App inspection is there in View<Tool Windows < App Inspection. But this option is not available there.
Is there any problem with my configuration. Also it seems like my emulator device is offline. However my app is working fine in the emulator device.
I have tried creating various AVDs as I believe it is something to do with AVD config.

Related

IOS Simulator doesn't connect to VS Code

I made my app on a windows machine. Now, I am trying to run the app on my Macbook Pro 14. when I select IOS Simulator from devices it starts to boot and VS Code waits for it to connect but it never connects even when the simulator has loaded. When I try to run it after that, a new instance of the simulator appears in the taskbar. which sits idle.
Also, Dart Dev Tools don't load I think. I'll link the important things below.

Why cant I build apps on my PC but I can on my mac? Xamarin

So I got my MacBook pro yesterday in hopes of developing some local apps to build on my phone.
And after setting everything up, Visual studio on my mac and XCode, and I already had Visual Studio on my PC things started messing up.
I tried debugging my app on my phone from my PC, with the phone connected to my PC ofcourse, didnt work, so I read around on the internet for a good 4 hours and it said that I should create a blank project in XCode, and for the Signing in preferences I had to choose Team, so I did and it debugged the application on my iphone when my iphone was connected to my Mac,
However I DONT want to code on Mac computers, I want to use my PC.
But everytime I try to debug the application from my PC it keeps saying
Could not find any available provisioning profiles for iOS.
I am running a iPhone 7 with the version 10.1.1 because I dont want to update due to various reasons.
I tried changing the Deployment target to something really low but that didnt fix it.
Why is this happening?
Visual representation of what the error looks like
Not sure if this picture helps, this is the project properties > iOS Bundle Signing
And my device log is empty aswell.. Why?
ANother error message saying it doesnt support
EDIT
I plugged it into the mac and now its visible in the Device log and I can see stuff happening in the device log but I still cant boot the project on my iPhone
Apple doesn't allow developing for iphone on a non IOS device. This simply means that you can't build apps on a Linux or Windows computer/laptop the normal way. You are stuck on building your project on an IOS device.
There are 2 options to fully develop on a Windows laptop though.
One way of doing so is by using your mac as a gateway to send your app from Windows to IOS to your phone. More info about this can be found here:
https://learn.microsoft.com/en-gb/xamarin/ios/get-started/installation/windows/
The second option is a newer one called Xamarin Live Player. You don't need to use a mac at all for developing, but you still need a mac if you want to publish the app. This option also works differently from normal development as you need to download an extra program on your phone.
https://www.xamarin.com/live
You could try to do manual provisioning. Create a development provisioning profile at the Apple Developer site, and have XCode download it for you. Then it should show on your PC for you to select.
See the Xamarin documentation on manual provisioning for some more details:
https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/manual-provisioning?tabs=vsmac#creating-a-development-provisioning-profile

Test website on iphone from linux

I have a website and client says it is not working on his iPhone6 browser. Tested layout with chrome dev tools, but most likely problem is not in layout, but some js error occurred.
I have a linux desktop and android device. Is there any way to install/emulate iOS anywhere?
UPD
Ok, this is impossible without device or laptop with iOS. I'll try to install it on vmware or virtualbox.
UPD2
One more way to see the error - setup sentry to log js errors and ask client to test it again
iOS could be emulated only through Xcode on Mac OS.
Even though, you always can emulate Mac OS ;)
I had the same problem. This website saved me: https://appetize.io/app/standalone_2p3b4d0weqbr42d31n6cfqby74?device=iphone8&scale=75&orientation=portrait&osVersion=13.7
The emulator that you see on the front page only works for 60 seconds but if you sign up (and don't choose a paid subscription) you can still test it for free in an emulator that can run for longer time. There you can also choose phone type, iOS version etc...

remote debug chrome on iphone using windows

I know to debug mobile safari you'll need a mac, but is it possible to debug ios version of chrome on a windows machine (via a usb cable)? seems like a simple question, but for some reason I can't find anything on it using google. everything I find always seems to point to debugging mobile safari via mac or debugging mobile chrome for mac users.
FYI: I plan on getting the device, but I need to know if the aforementioned is possible before getting the iphone.

Debugging PhoneGap on Device

Normally I'm a JEE guy but these days I'm working on a mobile app. I chose PhoneGap because there are not so many needs to UI and I thought this would be the easiest way to serve the app on many platforms.
I'm wondering if my setup is good and if it's possible to get console output when running on the device. I'm working on MacOS and iPhone6.
I installed PhoneGap and Cordova via npm and serving the files with phonegap serve.
For local debugging I'm using the chrome plugin "Ripple".
For debugging on the device I'm using the PhoneGap Developer App from the AppStore, together with weinre on my Laptop to get some debugging data. In weinre I can see everything except console outputs. Is this normal? Or any idea how I could get the console to weinre, too?
I also found some tutorials on the web using XCode and some native iPhone emulator but didn't get this working yet. Which way is the more preferable way of debugging on device?
You don't need any tool for debugging cordova app. For iOS just start the app in stimulator and start safari. In safari go to Develop > 'your pc name' > ios simulator.
http://webdesign.tutsplus.com/articles/quick-tip-using-web-inspector-to-debug-mobile-safari--webdesign-8787
For Android run the app in your device and in the chrome go to http://chrome://inspect/#devices
Weinre is quite old and should not be be used anymore, instead, you want to use the remote debugging tools in your browser. For iOS, you can use Safari to debug your Cordova app. I've got a full article here, https://dzone.com/articles/overview-mobile-debugging, but the process involves doing one setting on your mobile device, and then simply opening up Safari and going to the debug menu. You can also do this with Chrome and Android apps.
Another option is GapDebug (https://www.genuitec.com/products/gapdebug/) which lets you do iOS and Android together in one Chrome tab.

Resources