Android Monitor for android studio 3.0 - android

I've just updated Android Studio 3.0 today. But turns out Android Monitor is missing.
https://developer.android.com/studio/profile/am-gpu.html
Almost developers have to support a wide range of devices. But Android Studio 3.0 only support API 21 and above
My question is: do we have any alternative tools to do this? I just don't want to use android studio 2.3.3 along side with Android Studio 3.0

Related

Developping Android app for deprecated version (gingerbread) on Android studio

I have to develop an app for a device on gingerbread version (9-10) of Android.
Android studio don't allow to have a minSDK less than version 14.
Is there a solution to develop and build an app for gingerbread version ?
Thanks.
Use Android Studio 2.3.3 (the oldest version). You'll find API-9 the minimum SDK.

Errors when changing Android version (Target Framework) in Xamarin Forms

I have a C# Xamarin Forms Solution in Visual Studio 2019 that was created from the Xamarin Forms Template.
When the Android version (Target Framework), (found in the 'Application' Tab of the properties Window of the Android project) is set to either
1) Android 8.1 (Oreo)
2) Android 9.0 (Pie)
then my app works great on a phone running Android 9.0
However, as soon as I change it to 'Android 8.0 (Oreo)' then Visual Studio generates errors and warnings. Here is an image of them:
The reason I think I need to change the Android version to 8.0 is so that I can use the app on Android phones with this version. When I try to install the APK file (built targeting either 8.1 or 9.0) on an 8.0 Android device then the app does not work.
The error suggestion to "..increase the $(TargetFrameworkVersion)..." seems odd considering I am trying to target a lower version.
I should point out that I have all the Android SDK's installed for 8.0/8.1/9.0 and all the Android SDK Build Tools.
What am I doing wrong? I am wanting to target Android 8.0 (Oreo).
I am very new to Xamarin.
You only need to change the Minimum Android Version to run on lower API versions. Make Target Android version higher (to version 9) and Minimum Android Version to a version which you would like to support (maybe version 6). Also note that if you have any android support libraries or Xamarin.Forms, those also have a minimum build version. You have to target equal or higher version to build with those. Another thing you have to check is Supported Architectures (Properties-> Android Options -> Advanced -> Supported Architectures). Make sure it checked the architecture of the device that you try to deploy

Targeting Mvvmcross 6.0 for MonoDroid v8.0

I'm trying to create a Android project with MvvmCross.
But I'm trying to target MonoDroid 8.0 which is API-26 Android Oreo 8.0. Cause my test device is this and cannot be upgraded to 8.1.
But when trying to install any Mvvmcross.Droid package I get a
Package MvvmCross.Droid.Support.Design 6.0.1 is not compatible with
monoandroid80 (MonoAndroid,Version=v8.0)
Does that mean if I'm trying to target any older version other than 8.1 I cannot use Mvvmcross 6.0 and have to use older versions of Mvvmcross?
If anybody else if facing a similar problem.
Note : MVVMCross 6 targets minimum MonoDroid 8.1 which is API 27 and you need to install them in order for the app to compile and run on any versions of Android.
So solved this by installing the API 27 sdk and making sure the Target Version is set to API 27 or 8.1 version.

Visual Studio not showing installed Android api levels

I am developing an Android app in Visual Studio. In the Android SDK manager, all API's from API level 23 (Android 6.0) to API level 25 (Android 7.1) are installed.
But when I open the project properties in Visual Studio, the "Compile using Android version" option is showing apis only till 23(Android 6.0). I want to target 7.1 as most of the smartphones will now have it.
There are another problem if I go with Android 6.0. Some packages like Xamarin.Firebase.Messaging fails to install with the following error.
Install-Package: Could not install package 'Xamarin.Firebase.Messaging 42.1001.0'.
You are trying to install this package into a
project that targets 'MonoAndroid,Version=v6.0', but the package does not contain
any assembly references or content files that are
compatible with that framework. For more information, contact the package author.
I can see that all options available under API level 25 are installed in SDK manager. Kindly help me so that i can target Android 7.1 from the Visual Studio Android app. Thanks
Is your Xamarin installation up to date? I suspect that your version of Xamarin.Android is 6.x which means that you won't be able to target Android 7.0 or 7.1 even if they are installed through the SDK manager. You can check the version from Help > About Microsoft Visual Studio.
For example, my version is 7.1.0.19 and I'm able to target Androd 7.1 just fine.
To check for updates, you should open Tools > Options > Xamarin > Other and click Check now.
Update for Visual Studio 2017:
If you're using Visual Studio 2017 or newer, Xamarin updates are delivered as part of Visual Studio updates. To manually check for updates, go to Tools > Extensions and Updates... In the left hand menu, open Updates and select Product Updates. If there are updates available, they will be shown on this list.
In Visual Studio 2017 preview there is an improved Google Android emulation support with a new Android emulator that's built into Visual Studio (this supercedes the Visual Studio Emulator for Android):
I checked it this morning and it had Android emulators up to API 27 including Oreo.
However, I did try to trigger API 28 P-Type even switching the SDK Manager from the Microsoft repository to the Google repository but it still didn't show up, but, at least you got everything you need up to API 27.
References:
https://www.visualstudio.com/vs/preview/
https://blog.xamarin.com/3-reasons-to-try-visual-studio-2017-version-15-4-previews/

which android studio version have Android 5.1 (API level 22)?

I have downloaded some projects of android apk to learn from it ..
i try to open it using the latest version of android studio (2.2.3) , but it's take too long time and then stop ,I looked for a solution to this problem and found that these applications were built on previous versions of the sdk So to solve this problem, I should use an earlier version of Android Studio, so I want to know what is the Android studio version which have Android 5.1 (API level 22).
You can have a single installation of Android Studio and all the SDKs you want to use (partially or fully installed)
You have to download the sdk via sdk manager download the latest sdk

Categories

Resources