Android Studio bug - android-studio

I need to test an application on Android Studio, but my virtual machine is not creating correctly and the studio does not see my phone, even though the debug mode is enabled on it. How can I test my application?

Check out the android developer official site how to connect the real device and run app. And for create virtual device follow this tutorial from the official site

Related

How to run Android Studio emulator on M1 Mac?

I'm having a devil of a time using the Android Emulator on my new M1 Mac. My Android project compiles fine, and I can run it on a hardware device. But I'm not able to run it on the Emulator.
I followed instructions carefully, and set up an arm64-based emulator running API 31. When I press the "Run" button in Android Studio, the emulator opens and boots normally. However, Android Studio is never able to launch my app on it. I see a message "Waiting for all target devices to come online", and that's it.
I have of course tried restarting the emulator, restarting Android Studio, rebooting my computer, and wiping the data from the emulator. I have also made sure that Developer mode is enabled in the emulated Android environment and "USB Debugging" is turned on.
Another suggestion I saw was to un-check "Enable ADB Integration" in Android Studio. This option doesn't exist in my copy of Android Studio, although I did some further research and found that it is now called "Use libusb backend" instead. It is unchecked by default. I tried checking it anyway, and that didn't help.
I'm at a loss as to what to do next. I really need to be able to test my app in the emulator as my inventory of physical devices is fairly limited.
Thanks,
Frank
Download Android Studio Preview, create emulator (API 30 or S), now you can use emulator on both preview or stable Android Studio.

android studio is not able to recognize my device

I am using Flutter for developing my android apps but for some my android studio is not able to recognize my device even though my device is detecting that fully. Is there a way to fix this?
And also for the record, I have tried all the possible methods available on stack overflow and internet like Enabling USB debugging, MTP Transfer, Installing universal USB Driver.
Some phones like OPPO, VIVO, etc is having an extra drivers. It will be shown when you connect your phone with pc. You have to install that driver too. Also check whether this phone is working with another computer or any other phones works in your computer too(to check both your phone and PC is ok). Also check in normal android app development instead of flutter, like checking your phone connection in android studio with java or kotlin.
if all this didn't works then install Visual Studio Code and check the same thing it it. may be this is some issues in Android studio. please inform the details here after all this.
Go to file> Invalidate cache/Restart > click invalid cache and restart button in android studio.
Then run.
If still cannot connect device:
goto file>settings> appearance & behaviour > Android SDK > sdk tools >deselect android sdk platform tools > apply>ok.
It installed the requested components.
then goto app > edit configuration> uncheck allow parallel run in right corner>ok

Did Android Studio 3.6.1 remove the connection assistant?

A young friend of mine would like to push a game created using www.buildbox.com to his Samsung Android Tablet. He is using Windows 10 and Android Studio 3.6.1.
But the Device Drop Down is greyed out and for some reason the AVD Manager, the SDK Manager and the Connection Assistant are missing from this tools menu.
On my Android Studio 3.4 I can still see the Connection Assistant
I checked the Release notes but could not find anything.
https://developer.android.com/studio/releases
I checked that Windows can see the tablet as a USB device and the friend told me that developer mode is enabled.
Any ideas what is going on ?
So I got a chance to look further into the problem.
It turned out, that the problem seems to be with Buildbox not generating a proper Android project. In particular the generated project is missing a proper module and a proper app configuration. Once I added those the missing connection tool reappeared.
However I still got an error.

Enabling nested virtualisation for Android Studio on Linux platform

I want to run emulator for Android Studio on a Linux platform. Upon contaction Google (since I'm using Google server) I was told this : "nested virtualisation is not enabled out of the box for Compute Engine instances. Therefore you need to enable it manually," and was given this link for further query "https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances". Can anyone help me with this since I'm not getting the exact procedure to run an emulator for Android Studio on a Linux platform hosted on a Google server.

Xamarin set up IOS build host

I am using visual studio for Xamarin development and I have a business license for both Android and IOS. The Android version of my project is nearing completion and I want to begin development on the IOS version.
I am following the process listed in the requirements and installation section of the below link:
http://developer.xamarin.com/guides/ios/getting_started/installation/windows/introduction_to_xamarin_ios_for_visual_studio/
I have added my Apple Account ID to XCode however as far as I can tell you need to manually assign an IOS Certificate to the build hosts keychain to beable to build from visual studio
If you are using Visual Studio for Xamarin.iOS development, you also
have the option of provisioning manually using the Apple Developer
Portal.
Now as far as I can tell this has a $99 cost involved? Is this fee mandatory before I can build any IOS apps from visual studio ?
EDIT:
After pairing the build host and building my app it seems my suspicions are confirmed. A IOS Development Certificate
stored in the keychain is required
As far as i know you don't actually need the iOS Certificates for developing with Visual Studio and the build host, as long as you're running your app on the iOS simulator. However, as soon as you want to test your app on a real device you need the certificates. And just a reminder, you should test on real devices as soon as possible. I got some really bad surprises after developing exclusively on the simulator for more than 6 weeks ...

Resources