Couldn't Install (-113) - Android (Xiaomi) Phone - android-studio

I recently upgrade my Andriod Stuido to the latest version.
I am not able to install any apk built from Android Studio to my Mi 11 Phone.
The following error message is shown:
Couldn't Install ()-113
Any hints on why the problems occurs and how it can be solved?
P.S. My own app built using pervious Android Studio version can still be installed again into my phone now.

I finally found the answer myself.
The USB Debugt was turned on in the past but somehow it become off.....

Related

Flutter is not being recognized on the machine

I formatted my computer and installed windows 10 again because I wanted to play and Linux was having problems.
I am trying to install flutter and dart for application development, but he is accusing this error.
Flutter doctor
I tested it before changing the flutter to beta and it recognized the flutter and dart plugins, however I want to leave it in the stable channel.
However, my code doesn't recognize it, I believe it is because of these errors with the flutter and dart plugins.
Code
I already installed the plugins through android studio and also vscode.
I tried to uninstall and install again, restart the computer, set path ...
I managed to solve it, I will leave here the solution for those who had the same problem as me.
I changed the channel to the Master and ran a flutter upgrade.
Now everything is running smoothly.
Maybe some bug with the stable channel, I can't say.
So:
Flutter channel master
Flutter upgrade
VOILÁ
Flutter doctor
Did you install flutter plugin in android studio properly? (Recheck in android studio.)
if yes then remove it and reinstall it.
if (1) not working then update your android studio.
keep your flutter sdk in c drive
if still flutter cannot trace plugin then set flutter sdk and dart sdk manually in android studio.
for dart
for flutter

Cannot Start Android Emulator on Android Studio Version 2.3.3 After Android Oreo Installation

I am unable start android emulator on android version 2.3.3 after android Oreo installation.
At first it worked,but now after a weekend when i ran a project the emulator doesn't pop up.
AVD loading notification is shown as in the below screenshot(dummy screenshot image in reality the notification is different)
But it will not appear,I have completely installed every package related to android Oreo in the sdk tool manager
Still the same result,if anyone has the same issue and have found a solution.Please,help.
Try to use cmd command like
*path_to_your_android_sdk*\tools\emulator -avd *device_name, f.e Nexus_5_API_23*
It should give you some detailed output about what happened wrong or would launch emulator.
Also make sure you are using last version of emulator (you have added screenshots only for SDK).
If nothing works - just remove all related to emulator sdk tools and reinstall them.

configure your forms app unable to select iOS on target platform

Hi all new to this but just downloaded and installed xamarin studio to my mac but iOS on the target platforms: section on the configure your forms app page is greyed out and cant be selected
any idea how to solve this please
The Xamarin studio don't install everything you need automatically.
1 - Install the latest iOS SDK.
2 - Install the latest version of Xcode.
3 - Install the Xamarin Studio.
Full Guide:
https://developer.xamarin.com/guides/ios/getting_started/installation/mac/
I had the same issue Visual Studio 7.2.2, the iOS box was disabled. There were couple of issues I had
I had the Xcode app named as XCode9.app in the application folder so VS was unable to find the location, so I fixed that one.
I then searched for installed components About VisualStudio--> ShowDetails and found that Xamarin.iOS10 was installed which seem to have incompatibility with XCode9 so I ran the VS installer once again and found that Xamarin.iOS11 was out and after installing the update and restarting, everything worked.
Download the visual studio for mac again and run the installer. It will show you the missing components and give you a way to install them correctly. Worked for me here. It will check what is already installed, you won't have to install everything again.

Cannot start emulator symbol not found _AVMediaTypeVideo

I am unable to start emulator. It is giving this error
Cannot launch AVD in emulator.
Output
dyld:symbol not found _AVMediaTypeVideo
I have tried restarting Android Studio, rebooting the system. Can anyone help?
Happens after upgrading Android SDK Tools to 24.1.2 rev 24.3
Upgrading to SDK Tools from 24.3.1 to 24.3.3 fixed this issue for me. You can update the SDK Tools via the SDK Manager in Android Studio.
I had this same problem on my MacBook Pro yesterday with the latest version of Android SDK tools (i.e., 24.3.1). I found that updating my MacOS X to OS X Yosemite resolved the issue. Now, my emulators are starting again.
I am going to assume they are using some symbols that are only available in Yosemite.
Same here. I downloaded the SDK separately and changed the SDK location in Android Studio to use the downloaded one. Now the emulator starts up again.

Android Studio: android-19 not found, but it's clearly installed

I've tried rebuilds, opening/closing android studio, switching to api level 18 and everything: I get this output:
Error:Module 'LabsCore': platform 'android-19' not found.
Error:Module 'facebook': platform 'android-19' not found.
In the sdk manager it is really all installed, I checked multiple times. Is this an issue with android studio/gradle plugin in the latest version?
I faced the same error after updrade to Android Studio 0.5.3/0.5.4. Take a look at this question. And the cholm's answer that was the solution for me.

Resources