Giter Club home page Giter Club logo

androidsupportcomponents's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

androidsupportcomponents's Issues

v7.AppCompat 23.3.0+ missing SwitchCompat Thumb/Track TintList properties

Xamarin.Android Version (eg: 6.0):

Testing with Android APIs 16+

Operating System & Version (eg: Mac OSX 10.11):

Mac OSX 10.11.6

Support Libraries Version (eg: 23.3.0):

Needed in 23.3.0 for Xamarin.Forms project, but also tested 23.4.0.1

Describe your Issue:

According to the Android SwitchCompat docs, the SwitchCompat control should have ThumbTintList and TrackTintList properties (see the getThumbTintList, setThumbTintList, etc. method descriptions in the Android SwitchCompat docs). These properties aren't available in the Xamarin.Android.Support.v7.AppCompat package. Were they added in a later version of the Android v7.AppCompat library?

Steps to Reproduce (with link to sample solution if possible):

NA

Include any relevant Exception Stack traces, build logs, adb logs:

NA

Error inflating BottomNavigationView

Xamarin.Android Version (eg: 6.0):

7.0.2.37

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Support Libraries Version (eg: 23.3.0):

25.0.1-rc1

Describe your Issue:

It throws InflateException when there's android.support.design.widget.BottomNavigationView anywhere in layout files.

Steps to Reproduce (with link to sample solution if possible):

Put the following in any layout file:

<android.support.design.widget.BottomNavigationView
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:design="http://schema.android.com/apk/res/android.support.design"
     android:id="@+id/navigation"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:layout_gravity="start"
     design:menu="@menu/nav" />

or simpler, just:

<android.support.design.widget.BottomNavigationView />

Include any relevant Exception Stack traces, build logs, adb logs:

Android.Views.InflateException: Binary XML file line #1: Error inflating class android.support.design.widget.BottomNavigationView ---> Java.Lang.Reflect.InvocationTargetException: Exception of type 'Java.Lang.Reflect.InvocationTargetException' was thrown. ---> Java.Lang.NoClassDefFoundError: Failed resolution of: Landroid/support/transition/AutoTransition; ---> Java.Lang.ClassNotFoundException: Didn't find class "android.support.transition.AutoTransition" on path:

issue with Xamarin.Build.Download

Xamarin.Android Version: 7.1

Operating System & Version: Windows 10

Support Libraries Version: 25.1.1

Issue description:

I see that now all(or almost all) Android.Support.XXX packages depend on Xamarin.Build.Download package.
Xamarin.Build.Download is a big issue for us. We have a pretty large Xamarin.Android project with a lot of resources and a lot of dependencies, so after upgrading to new Android.Support.XXX packages we also got Xamarin.Build.Download package. Now when I build or run project visual studio freezes for 5-10 minutes, and I see that process aapt.exe takes almost all of the CPU resources, when it finish visual studio starts to response. When I remove
<Import Project="..\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets" Condition="Exists('..\packages\Xamarin.Build.Download.0.4.2\build\Xamarin.Build.Download.targets')" />
visual studio works well, and I'm able to run and debug project without waiting for 5-10 minutes.

I've set build output to diagnostic but I don't see any logs after build, but again: visual studio doesn't response for 5-10 minutes and I see aapt.exe in the process list,

I'd like to help solve this issue, but I don't know how...

Xamarin.Android.* libs in 26.0.2-beta1 causing XF app build failure - error APT0000

Xamarin.Android Version (eg: 6.0):

Xamarin.Forms 2.4.0.280

Operating System & Version (eg: Mac OSX 10.11):

Windows 10 Pro 64-bit (1703 - 15063.608)

Support Libraries Version (eg: 23.3.0):

26.0.2-beta1

Describe your Issue:

I used Xamarin.Forms 2.4.0.280 + Xamarin.Android.*** support libraries in version 25.4.0.2 - everything works fine. Today I decided to try newest beta release of Xamarin.Android.*** support libraries, so I've updated them to 26.0.2-beta1.
After that, my project building starts crashing with below error:
error APT0000: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

Steps to Reproduce (with link to sample solution if possible):

Update XF app, that uses Xamarin.Android libaries in 25.4.0.2, to 26.0.2-beta1.

Include any relevant Exception Stack traces, build logs, adb logs:

6>C:\workspace\MyApp.Mobile\MyApp\MyApp.Android\obj\Debug\__library_projects__\Xamarin.Android.Support.v7.AppCompat\library_project_imports\res\values-v26\values-v26.xml(2): error APT0000:  Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.
6>C:\workspace\MyApp.Mobile\MyApp\MyApp.Android\obj\Debug\__library_projects__\Xamarin.Android.Support.Design\library_project_imports\res\values-v26\values-v26.xml(2): error APT0000:  Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'.

Unable to convert instance of type 'Android.Support.V7.Widget.AppCompatTextView' to type 'Android.Support.V7.Widget.Toolbar' android 7.0

Xamarin 4.5.0.486
Xamarin.Android 7.3.1.2

Windows 10

Support Libraries Version:
AppCompat 23.3.0
Java JDK 1.8

I have update the version of xamarin and now i'm gotting this erro on Android 7.0
I'm usuaing Xamarin.Forms in a PCL project.

This is my activity class:

protected override void OnCreate(Bundle bundle)
{
    System.Net.ServicePointManager.ServerCertificateValidationCallback += (o, certificate, chain, errors) => true;

    base.OnCreate(bundle);
    ConfigureHockeyApp();

    TabLayoutResource = Resource.Layout.tab;
    ToolbarResource = Resource.Layout.Toolbar;

    UserDialogs.Init(this);
    ImageCircleRenderer.Init();

    Xamarin.Forms.Forms.Init(this, bundle);


    App.Version = Application.Context.ApplicationContext.PackageManager.GetPackageInfo(Application.Context.ApplicationContext.PackageName, 0).VersionName;
    LoadApplication(new App());
}

My style xml :

<?xml version="1.0" encoding="utf-8" ?>
<resources>

  <style name="MainTheme" parent="MainTheme.Base">
  </style>
  <!-- Base theme applied no matter what API -->
  <style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
    <!--If you are using revision 22.1 please use just windowNoTitle. Without android:-->
    <item name="windowNoTitle">true</item>
    <!--We will be using the toolbar so no need to show ActionBar-->
    <item name="windowActionBar">true</item>
    <!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette -->
    <!-- colorPrimary is used for the default action bar background -->
    <item name="colorPrimary">#39b549</item>
    <!-- colorPrimaryDark is used for the status bar -->
    <item name="colorPrimaryDark">#4d4d4d</item>
    <!-- colorAccent is used as the default value for colorControlActivated
         which is used to tint widgets -->
    <item name="colorAccent">#4d4d4d</item>
    <!-- You can also set colorControlNormal, colorControlActivated
         colorControlHighlight and colorSwitchThumbNormal. -->
    <item name="windowActionModeOverlay">true</item>

    <item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
  </style>

  <style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
    <item name="colorAccent">#39b549</item>
  </style>

  <style name="MyTheme.Base" parent="Theme.AppCompat.Light">
  </style>

  <style name="MyTheme.Splash" parent ="Theme.AppCompat.Light.NoActionBar">
    <item name="android:windowBackground">@drawable/splash_screen_jpg</item>
  </style>
</resources>

And this is the full stack:

at Java.Interop.JavaObjectExtensions.CastClass (Android.Runtime.IJavaObject instance, System.Type resultType) [0x0005d] in <9ab9faae1b4b4f0da28e7c4ac61e2c78>:0
at Java.Interop.JavaObjectExtensions.JavaCast[TResult] (Android.Runtime.IJavaObject instance) [0x0002f] in <9ab9faae1b4b4f0da28e7c4ac61e2c78>:0
at Java.Interop.JavaObjectExtensions.JavaCast[TResult] (Android.Runtime.IJavaObject instance) [0x00000] in <9ab9faae1b4b4f0da28e7c4ac61e2c78>:0
at Android.Runtime.Extensions.JavaCast[TResult] (Android.Runtime.IJavaObject instance) [0x00000] in <9ab9faae1b4b4f0da28e7c4ac61e2c78>:0
at Xamarin.Forms.Platform.Android.AppCompat.NavigationPageRenderer.SetupToolbar () [0x00015] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\NavigationPageRenderer.cs:558
at Xamarin.Forms.Platform.Android.AppCompat.NavigationPageRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs1[TElement] e) [0x0009b] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\NavigationPageRenderer.cs:224 at Xamarin.Forms.Platform.Android.VisualElementRenderer1[TElement].SetElement (TElement element) [0x000f4] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:193
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:129
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Platform.cs:289
at Xamarin.Forms.Platform.Android.AppCompat.Platform.AddChild (Xamarin.Forms.Page page, System.Boolean layout) [0x00015] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\Platform.cs:250
at Xamarin.Forms.Platform.Android.AppCompat.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x00089] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\Platform.cs:239
at Xamarin.Forms.Platform.Android.FormsAppCompatActivity.InternalSetPage (Xamarin.Forms.Page page) [0x0009b] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\FormsAppCompatActivity.cs:374
at Xamarin.Forms.Platform.Android.FormsAppCompatActivity.SetMainPage () [0x00000] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\FormsAppCompatActivity.cs:444
at Xamarin.Forms.Platform.Android.FormsAppCompatActivity.LoadApplication (Xamarin.Forms.Application application) [0x00183] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\FormsAppCompatActivity.cs:135
at SiagriMobile.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x0008e] in D:\Projetos\SiagriMobile\SiagriMobile\SiagriMobile.Droid\MainActivity.cs:30
at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle
(System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <27c17fe440cf491ba8255bcefade6e02>:0
at (wrapper dynamic-method) System.Object:22f7ebf7-d694-404c-87d6-9dc44c55a3b5 (intptr,intptr,intptr)

This is my Toolbar, and axml file:

<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/toolbar"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="?attr/colorPrimary"
    android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
    android:popupTheme="@style/ThemeOverlay.AppCompat.Light" />

I tryed to run in Android 6.0 and its working fine.

ChainStyle not be used at ConstraintLayout

Xamarin 4.5.0.486
Xamarin.Android 7.3.1.2
Windows 10

Support Libraries 25.3.1
and Xamarin.Android.Support.Constraint.Layout 1.0.2

Describe your Issue:

Xamarin.Android.Support.Constraint.Layout app:layout_constraintVertical_chainStyle not be used as ConstraintLayout.

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

No resource identifier found for attribute 'layout_constraintVertical_chainStyle' in package .

Release 23.4.0

Can you please release 23.4.0 or outline what PRs are needed?

Can't install Xamarin.Android.Support.Compat 24.2.1

Xamarin.Android Version (eg: 6.0):

7.0.1.3

Operating System & Version (eg: Mac OSX 10.11):

Win 10 Anniversary

Support Libraries Version (eg: 23.3.0):

24.2.1

Describe your Issue:

When adding the NuGet package I get this:
...
Attempting to resolve dependencies for package 'Xamarin.Android.Support.Compat.24.2.1' with DependencyBehavior 'Lowest'
Resolving dependency information took 0 ms
Resolving actions to install package 'Xamarin.Android.Support.Compat.24.2.1'
Resolved actions to install package 'Xamarin.Android.Support.Compat.24.2.1'
Retrieving package 'Xamarin.Android.Support.Compat 24.2.1' from 'nuget.org'.
For adding package 'Xamarin.Android.Support.Compat.24.2.1' to project 'MYPROJECT' that targets 'monoandroid60'.
Install failed. Rolling back...
Package 'Xamarin.Android.Support.Compat.24.2.1' does not exist in project 'MYPROJECT' Package 'Xamarin.Android.Support.Compat.24.2.1' does not exist in folder 'D:\PATH\MYPROJECT\packages'
Executing nuget actions took 6 ms
Could not install package 'Xamarin.Android.Support.Compat 24.2.1'. 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.

Steps to Reproduce (with link to sample solution if possible):

Create a new blank android project, target:
Compile: 5.1, Min: 4.1, Target: 4.1

Strong name signing for Android.Support assemblies

Hi!

Can you please sign your assemblies in the next update to the nuget packages?

Referenced assembly 'Xamarin.Android.Support.Core.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

Referenced assembly 'Xamarin.Android.Support.Design, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.

We use strong name signing for our projects and it is a bit of a cascading requirement. In the meantime, I will use the strong name signer tool (https://brutaldev.com/post/net-assembly-strong-name-signer) to workaround the issue.

Thanks
Callan.

Compile error in mac

Xamarin.Android Version (eg: 6.0):

xamarin.android-7.1.0-43

Operating System & Version (eg: Mac OSX 10.11):

Mac OSX 10.11

Google Play Services Version (eg: 8.4.0):

Xamarin.Android.Support.Compat 25.2.0-beta1
Xamarin.Android.Support.Core.UI 25.2.0-beta1
Xamarin.Android.Support.Core.Utils 25.2.0-beta1
Xamarin.Android.Support.Design 25.2.0-beta1
Xamarin.Android.Support.Fragment 25.2.0-beta1
Xamarin.Android.Support.Media.Compat 25.2.0-beta1
Xamarin.Android.Support.Transition 25.2.0-beta1
Xamarin.Android.Support.v4 25.2.0-beta1
Xamarin.Android.Support.v7.AppCompat 25.2.0-beta1
Xamarin.Android.Support.v7.CardView 25.2.0-beta1
Xamarin.Android.Support.v7.MediaRouter 25.2.0-beta1
Xamarin.Android.Support.v7.Palette 25.2.0-beta1
Xamarin.Android.Support.v7.RecyclerView 25.2.0-beta1
Xamarin.Android.Support.Vector.Drawable 25.2.0-beta1

Describe your Issue:

AndroidLibraryProjects.zip unzip error
image
It should unzip like this
image

Steps to Reproduce (with link to sample solution if possible):

Build it on Mac use the Xamarin.Android.Support 25.2.0-beta1 Version

Include any relevant Exception Stack traces, build logs, adb logs:

Internal classes are public and may actually be useful.

Google for some reason marks classes inside of internal packages as public, and sometimes they are useful.

In this case BottomNavigationItemView and BottomNavigationMenuView are some culprits:

Related to comments on #62 from @corjohnson
Some additional info: https://stackoverflow.com/questions/36032177/android-new-bottom-navigation-bar/36033640#36033640 and https://stackoverflow.com/questions/41649494/how-to-remove-icon-animation-for-bottom-navigation-view-in-android/41690461

Too many field references

Xamarin.Android Version (eg: 6.0):

Version: 7.0.2.37

Operating System & Version (eg: Mac OSX 10.11):

Sierra

Support Libraries Version (eg: 23.3.0):

24.2.1

Describe your Issue:

Can't compile app after nugget updates

Steps to Reproduce (with link to sample solution if possible):

update to latest nuggets go support libraries and Xamarin.facenook

Include any relevant Exception Stack traces, build logs, adb logs:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Tool exited with code: 2. Output: 

trouble writing output: Too many field references: 70587; max is 65536.
You may try using --multi-dex option.
References by package:
3 android.accounts
30 android.app
1 android.content
36 android.content.pm
9 android.content.res
3 android.database
48 android.graphics
2 android.media
1 android.media.browse
2 android.net
3 android.opengl
19 android.os
3 android.print
1 android.provider
8 android.runtime
2708 android.support.compat
2708 android.support.coreui
2708 android.support.coreutils
2782 android.support.customtabs
2708 android.support.design
58 android.support.design.internal
679 android.support.design.widget
2708 android.support.fragment
2861 android.support.graphics.drawable
2708 android.support.graphics.drawable.animated
2708 android.support.mediacompat
2708 android.support.v4
13 android.support.v4.accessibilityservice
17 android.support.v4.animation
863 android.support.v4.app
111 android.support.v4.content
1 android.support.v4.content.pm
1 android.support.v4.content.res
9 android.support.v4.graphics
41 android.support.v4.graphics.drawable
4 android.support.v4.hardware.display
12 android.support.v4.hardware.fingerprint
10 android.support.v4.internal.view
350 android.support.v4.media
300 android.support.v4.media.session
7 android.support.v4.net
19 android.support.v4.os
63 android.support.v4.print
9 android.support.v4.provider
55 android.support.v4.text
6 android.support.v4.text.util
102 android.support.v4.util
433 android.support.v4.view
137 android.support.v4.view.accessibility
8 android.support.v4.view.animation
495 android.support.v4.widget
397 android.support.v7.app
2708 android.support.v7.appcompat
2708 android.support.v7.cardview
8 android.support.v7.content.res
18 android.support.v7.graphics.drawable
2708 android.support.v7.recyclerview
1 android.support.v7.text
2 android.support.v7.transition
124 android.support.v7.util
77 android.support.v7.view
248 android.support.v7.view.menu
1398 android.support.v7.widget
89 android.support.v7.widget.helper
1 android.support.v7.widget.util
2708 android.support.wearable
22 android.support.wearable.activity
2 android.support.wearable.companion
8 android.support.wearable.input
4 android.support.wearable.media
5 android.support.wearable.provider
542 android.support.wearable.view
128 android.support.wearable.watchface
7 android.text
1 android.text.util
14 android.util
19 android.view
8 android.view.accessibility
1 android.view.inputmethod
15 android.widget
158 bolts
2708 bolts.applinks
3109 com.facebook
159 com.facebook.appevents
39 com.facebook.appevents.internal
46 com.facebook.applinks
550 com.facebook.internal
174 com.facebook.login
81 com.facebook.login.widget
32 com.facebook.messenger
51 com.facebook.share
360 com.facebook.share.internal
113 com.facebook.share.model
124 com.facebook.share.widget
2702 com.google.android.gms
20 com.google.android.gms.actions
13 com.google.android.gms.ads.identifier
53 com.google.android.gms.auth
7 com.google.android.gms.auth.api.credentials
57 com.google.android.gms.auth.api.signin
13 com.google.android.gms.auth.api.signin.internal
75 com.google.android.gms.auth.firstparty.shared
2702 com.google.android.gms.base
38 com.google.android.gms.clearcut
94 com.google.android.gms.common
87 com.google.android.gms.common.api
179 com.google.android.gms.common.api.internal
42 com.google.android.gms.common.data
49 com.google.android.gms.common.images
171 com.google.android.gms.common.internal
1 com.google.android.gms.common.internal.safeparcel
4 com.google.android.gms.common.server
12 com.google.android.gms.common.server.converter
33 com.google.android.gms.common.server.response
62 com.google.android.gms.common.stats
27 com.google.android.gms.dynamic
2 com.google.android.gms.dynamite.descriptors.com.google.android.gms.flags
16 com.google.android.gms.flags.impl
2805 com.google.android.gms.gcm
47 com.google.android.gms.iid
325 com.google.android.gms.internal
2718 com.google.android.gms.measurement
350 com.google.android.gms.measurement.internal
32 com.google.android.gms.playlog.internal
6 com.google.android.gms.security
26 com.google.android.gms.signin.internal
371 com.squareup.okhttp
92 com.squareup.okhttp.internal
246 com.squareup.okhttp.internal.framed
134 com.squareup.okhttp.internal.http
15 com.squareup.okhttp.internal.io
16 com.squareup.okhttp.internal.tls
347 com.squareup.picasso
7 java.lang
7 java.lang.annotation
6 java.net
1 java.nio
6 java.util
4 java.util.concurrent
3 java.util.logging
12 md5000ebe06cc2f48a20a556eeae0c3cc8a
4 md50890773b370883bd2a9663699cac82d1
2 md50adc1702d640cd02f710d8e07040fe7d
2 md50d1192fa26e0ea90ab1f3e11360c3d59
8 md51c2d49f89f3f016dbee9c4564847d236
8 md51fabd57966a212ca82e7b20b5e5a4037
8 md531f8cc8d4d39b2fa02686ee0eb368905
6 md538aeae9bdd295ab387ed884128b5042a
6 md53b54e9e4871bdc9f8c75aac983d44f39
2 md555f960953c2d2771f58ed7e82f11629b
4 md5613e4112eea159c70f91693ed7674968
2 md58ca8ca9a1f8dc9075a0cb027f5be086b
132 md594e289dcf9ae1d6f7104a9e79c37526c
4 md59f70a99687498e7ba187118950981d26
12 md5a104545e4d19c4ffe9ec3d5074a3b979
6 md5a7dc5efaa3df19864db17f2d2f415d22
2 md5b84297ba8e47a8e699fdff0f5b6b8bca
2 md5d8b46a50680b342c7baa0696ed489930
2 md5e6df0d51c0b26573e8336e434596095c
6 mono
4 mono.android.accessibilityservice
2 mono.android.accounts
12 mono.android.animation
31 mono.android.app
2 mono.android.bluetooth
20 mono.android.content
2 mono.android.database.sqlite
6 mono.android.drm
6 mono.android.gesture
2 mono.android.graphics
2 mono.android.graphics.drawable
8 mono.android.hardware
2 mono.android.hardware.display
2 mono.android.hardware.input
2 mono.android.inputmethodservice
8 mono.android.location
60 mono.android.media
16 mono.android.media.audiofx
2 mono.android.media.effect
2 mono.android.media.midi
2 mono.android.media.session
2 mono.android.media.tv
2 mono.android.net
6 mono.android.net.nsd
2 mono.android.net.sip
18 mono.android.net.wifi.p2p
2 mono.android.nfc
10 mono.android.os
10 mono.android.preference
2 mono.android.renderscript
6 mono.android.runtime
6 mono.android.sax
2 mono.android.speech
4 mono.android.speech.tts
8 mono.android.support.design.widget
4 mono.android.support.v4.app
4 mono.android.support.v4.content
2 mono.android.support.v4.media.session
2 mono.android.support.v4.os
18 mono.android.support.v4.view
4 mono.android.support.v4.view.accessibility
12 mono.android.support.v4.widget
6 mono.android.support.v7.app
32 mono.android.support.v7.widget
22 mono.android.support.wearable.view
2 mono.android.text
2 mono.android.transition
72 mono.android.view
4 mono.android.view.accessibility
2 mono.android.view.animation
2 mono.android.view.textservice
8 mono.android.webkit
72 mono.android.widget
6 mono.com.facebook.internal
2 mono.com.facebook.login.widget
2 mono.com.facebook.share.widget
2 mono.com.google.android.gms.common.api
2 mono.com.google.android.gms.common.images
2 mono.com.google.android.gms.security
2 mono.com.squareup.picasso
4 mono.java.lang
2 mono.java.util
2 mono.javax.xml.transform
100 okio
2 opentk
2 opentk.platform.android
2 opentk_1_0
2 opentk_1_0.platform.android
1 org.json
2702 ... mypackagename

NavigationClick event of Android.Support.V7.Widget.Toolbar is missing

Xamarin.Android Version (eg: 6.0): 7.0.1.3

Operating System & Version (eg: Mac OSX 10.11): Mac OS X 10.11.6

Support Libraries Version (eg: 23.3.0): 24.2.1

Describe your Issue:

In Xamarin.Android.Support.v7.AppCompat library for some reasons NavigationClick event of Android.Support.V7.Widget.Toolbar class is missing. I see that it's commented in corresponding addition class in source code of bindings: https://github.com/xamarin/AndroidSupportComponents/blob/master/v7-appcompat/source/Additions/Toolbar.cs. It seems to be a bug. Can you clarify this please?

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

Error CS1061: Type 'Android.Support.V7.Widget.Toolbar' does not contain a definition for 'NavigationClick' and no extension method 'NavigationClick' of type 'Android.Support.V7.Widget.Toolbar' could be found. Are you missing an assembly reference?

TextInputEditText missing

package id="Xamarin.Android.Support.Design" version="25.4.0.1" targetFramework="monoandroid71"

Xamarin.Android Version (eg: 6.0):

7.4.0.21

Operating System & Version (eg: Mac OSX 10.11):

Win10

Support Libraries Version (eg: 23.3.0):

25.4.0.1

Describe your Issue:

TextInputEditText class is missing. Was there in v25.3

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

https://developer.android.com/reference/android/support/design/widget/TextInputEditText.html

Crash INVALID_PARAMETERS

In version 1.2.5-beta has an error soon after registering in the method IPushNotificationListener.OnError (string message, DeviceType deviceType)

I can get the token more after it returns the error:

Java.IO.IOException: INVALID_PARAMETERS
At System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <3fd174ff54b146228c505f23cf75ce71>: 0
at Java.Interop.JniEnvironment + InstanceMethods.CallVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue * args) [0x00069] in : 0
at Android.Runtime.JNIEnv.CallVoidMethod (System.IntPtr jobject, System.IntPtr jmethod, Android.Runtime.JValue * parms) [0x0000e] in : 0
at Android.Gms.Gcm.GcmPubSub.Subscribe (registrationToken System.String, System.String topic, extra Android.OS.Bundle) [0x00096] in <442f26a0595046369060be9502394e67>: 0
At PushNotification.Plugin.PushNotificationRegistrationIntentService.SubscribeTopics (System.String token) [0x00023] in <06cf100f14f94017b47f90010ef822f3>: 0
at PushNotification.Plugin.PushNotificationRegistrationIntentService.OnHandleIntent (Android.Content.Intent intent) [0x0004a] in <06cf100f14f94017b47f90010ef822f3>: 0
--- End of the handling Java.IO.IOException stack trace ---
Java.io.IOException: INVALID_PARAMETERS
At com.google.android.gms.iid.zzc.zzb (Unknown Source)
At com.google.android.gms.iid.zzc.zza (Unknown Source)
At com.google.android.gms.iid.InstanceID.zzc (Unknown Source)
At com.google.android.gms.iid.InstanceID.getToken (Unknown Source)
At com.google.android.gms.gcm.GcmPubSub.subscribe (Unknown Source)
At md563bb5d7cd114ceda82ec85fb57ce3637.PushNotificationRegistrationIntentService.n_onHandleIntent (Native Method)
At md563bb5d7cd114ceda82ec85fb57ce3637.PushNotificationRegistrationIntentService.onHandleIntent (PushNotificationRegistrationIntentService.java:37)
At android.app.IntentService $ ServiceHandler.handleMessage (IntentService.java:66)
At android.os.Handler.dispatchMessage (Handler.java:111)
At android.os.Looper.loop (Looper.java:207)
At android.os.HandlerThread.run (HandlerThread.java:61)

  • Register - PushNotificationRegistationIntentService

AlertDialogs second view with action buttons is scrollable (25.1.0-beta2)

Xamarin.Android Version (eg: 6.0):

Xamarin.Android 7.0.2.42 (501e63c)

Operating System & Version (eg: Mac OSX 10.11):

Android 6

Support Libraries Version (eg: 23.3.0):

Xamarin Android Support Library - v4 25.1.0-beta2

Describe your Issue:

AlertDialog has a scroll bar on the second view if the buttons are among each other.
screenshot_20170110-084849

Steps to Reproduce (with link to sample solution if possible):

Use AlertDialog.Builder and fill the Dialog until it produces a scroll bar

Include any relevant Exception Stack traces, build logs, adb logs:

v7-palette source code?

I have checked whole solution and files of v7-palette, but I cant find the actual code where it is written how to get the colors from image. Where can I find that code?

Trying to use the ConstrainLayout Nuget package

Xamarin.Android Version:

Xamarin.Android 7.0

Operating System & Version:

Windows 10

Support Libraries Version:

24.2.1

Describe your Issue:

I am trying to use the nuget package for the new ConstraintLayout (alpha9). I also downloaded the corresponding version from the Google SDK tools and copied them to ..\AppData\Local\Xamarin.Android.Support.Constraint.Layout\1.0.0-alpha9.
However, the following errors are shown if I try to build the project:

No resource identifier found for attribute 'layout_constraintBottom_toBottomOf' in package 'ConstraintLayoutSample.ConstraintLayoutSample' ConstraintLayoutSample C:...\Main.xml 2
No resource identifier found for attribute 'layout_constraintLeft_toLeftOf' in package 'ConstraintLayoutSample.ConstraintLayoutSample' ConstraintLayoutSample C:...\Main.xml 2
No resource identifier found for attribute 'layout_constraintLeft_toLeftOf' in package 'ConstraintLayoutSample.ConstraintLayoutSample' ConstraintLayoutSample C:...\Main.xml 2
No resource identifier found for attribute 'layout_constraintRight_toRightOf' in package 'ConstraintLayoutSample.ConstraintLayoutSample' ConstraintLayoutSample C:...\Main.xml 2
No resource identifier found for attribute 'layout_constraintTop_toTopOf' in package 'ConstraintLayoutSample.ConstraintLayoutSample' ConstraintLayoutSample C:...\Main.xml 2

Missing BottomSheetDialog

Support Libraries Version (eg: 23.3.0): 25.4.0-rc1

Describe your Issue:

Assembly Xamarin.Android.Support.Design is missing the BottomSheetDialog class. The class is normally located in Android.Support.Design.Widget namespace. It was available in last nuget 25.3.1.

Release bindings for 24.2.0

The Android Support libraries have gone through quite a change with 24.2. I would love to get my hands on it after it has been released for Xamarin!

Crash when using SwipeLayout.NestedScrollingEnabled in support 25.3.1

Xamarin.Android Version (eg: 6.0):

both 7.3.1.2 and 7.2.0.7

Operating System & Version (eg: Mac OSX 10.11):

10.12.4

Support Libraries Version (eg: 23.3.0):

25.3.1

Describe your Issue:

This exception only occurs on 25.3.1. This does not happen on any other currently released version of the Android support packages. This only happens on Android < 5.0. It seems like the code refers to the implementation in View instead of the support version.

Java.Interop.JniEnvironment
no method with name='setNestedScrollingEnabled' signature='(Z)V' in class Landroid/view/View;

System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()<177beafef290420e9428203111dc0c38>:0
Java.Interop.JniEnvironment.InstanceMethods.GetMethodID(JniObjectReference type, string name, string signature)<539dacac719e4cdf80ab7683d0864862>:0
Java.Interop.JniType.GetInstanceMethod(string name, string signature)<539dacac719e4cdf80ab7683d0864862>:0
Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(string encodedMember)<539dacac719e4cdf80ab7683d0864862>:0
Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualVoidMethod(string encodedMember, IJavaPeerable self, JniArgumentValue* parameters)<539dacac719e4cdf80ab7683d0864862>:0
Android.Views.View.set_NestedScrollingEnabled(bool value)<4a8761a434a5446cbb6d39141be66b72>:0

Steps to Reproduce (with link to sample solution if possible):

  1. Create a new SwipeLayout
  2. Set NestedScrollingEnabled to false on this layout

Include any relevant Exception Stack traces, build logs, adb logs:

RemovePage in Navigation crash

Xamarin.Android Version : 7.2.0.7

Operating System & Version: Windows 8.1

Support Libraries Version: 25.3.1

Describe your Issue:

After upgrading the various Xamarin.Android.XXXX packages from 23.3.0 to 25.3.1 with NuGet, an app will crash when using Page.Navigation.RemovePage (for example to remove the page below the top page on the stack) and then Page.Navigation.AsyncPop().

Steps to Reproduce (with link to sample solution if possible):

  1. Add three pages in navigation stasck
  2. Remove one of them with RemovePage method
  3. Call PopAsync method

Expected Results

You will be returned to page 1

Actual Results

The app crashes

Cannot install pakage in VS2015 community with all latest updates

I'm trying to install package with nuget PM, but i'm getting error message:

Could not install package 'Xamarin.Android.Support.Compat 24.2.1'. 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.

Error inflating class android.support.design.widget.NavigationView

Xamarin.Android Version (eg: 6.0):

Xamarin.Android
Version: 7.1.0.2

Operating System & Version (eg: Mac OSX 10.11):

Mac OS 10.12.3

Support Libraries Version (eg: 23.3.0):

25.1.1

Describe your Issue:

When using AppCompat theme I'm getting an error:
Binary XML file line #1: Binary XML file line #1: Error inflating class android.support.design.widget.NavigationView

Steps to Reproduce (with link to sample solution if possible):

http://pastebin.com/ivxN3hLW

Include any relevant Exception Stack traces, build logs, adb logs:

The inner exception message is: "You need to use a Theme.AppCompat theme (or descendant) with the design library."

Shared Element Transitions not working (v24.2.1-rc1)

Xamarin.Android Version (eg: 6.0):

7.0.1.3

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Support Libraries Version (eg: 23.3.0):

v24.2.1-rc1

Describe your Issue:

I updated to the alpha nuget package to test out the DiffUtils when I noticed that my shared transition elements were not animating any more. This was still working on the stable package. I understand that this is obviously still in alpha, but I just wanted to check if you were aware of the issue

Steps to Reproduce (with link to sample solution if possible):

I just used a very basic empty sample with the following code to navigate from one activity to the second activity:
Pair participant = new Pair(imgImage, ViewCompat.GetTransitionName(imgImage));
var opts = ActivityOptionsCompat.MakeSceneTransitionAnimation(this, participant);
Intent detailsIntent = new Intent(this, typeof(SecondActivity));
StartActivity(detailsIntent, opts.ToBundle());

Include any relevant Exception Stack traces, build logs, adb logs:

TextInputEditText missing

Support Libraries Version: Xamarin.Android.Support.Design 25.4.0.1

Describe your Issue:

Assembly Xamarin.Android.Support.Design is missing the TextInputEditText class. Had to rollback to 25.3.1 to use the class.

Xamarin.Android.Support.Animated.Vector.Drawable path too long

Xamarin.Android Version (eg: 6.0):

25.1.1

Operating System & Version (eg: Mac OSX 10.11):

Windows 7

Support Libraries Version (eg: 23.3.0):

25.1.1

Describe your Issue:

Path to dll is unnecessarily long leading to error message during build: 'The "ResolveLibraryProjectImports" task failed unexpectedly...' with the exact error message being "System.IO.PathTooLongException".
Project package folder is not very deep: "C:\123\123456789012\123\1234567\123\packages", but the addition of 'Xamarin.Android.Support.Animated.Vector.Drawable' twice - first to the folder, then the name of the dll - causes the overflow

Steps to Reproduce (with link to sample solution if possible):

Just create a visual studio project in a folder of the above length referencing this nuget and attempt to build

Include any relevant Exception Stack traces, build logs, adb logs:

Error The "ResolveLibraryProjectImports" task failed unexpectedly.
System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
at System.IO.PathHelper.GetFullPathName()...

Fail to see component in v.s. 2015 designer with Xamarin.Android.Support.Design

When working with V.S 2015 Xamarin.
My Main.axml Code:

<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer_layout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fitsSystemWindows="true">

<android.support.design.widget.NavigationView
android:id="@+id/nav_view"
android:layout_height="match_parent"
android:layout_width="325dp"
android:layout_gravity="start"
android:fitsSystemWindows="true"
app:headerLayout="@layout/nav_header"
app:menu="@menu/drawer_view" />
</android.support.v4.widget.DrawerLayout>

The android.support.v4.widget.DrawerLayout is marked with blue line under it and popup showing "android.support.v4.widget.DrawerLayout element is not declared".
When I switch to the Designer I nothing is shown.

Is this component version supports V.S2015 Designer?

Unable to load vector drawable resources with app:srcCompat="@drawable/my_drawable" from Android Library project

Xamarin.Android Version (eg: 6.0):

Xamarin.Android 6.1.1.1 (7db2aac)

Operating System & Version (eg: Mac OSX 10.11):

Microsoft Visual Studio Enterprise 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01055

Support Libraries Version (eg: 23.3.0):

23.4.0

Describe your Issue:

On Android KitKat platforms and above, activities from an Android library project using vector drawables with AppCompat are unable to resolve drawable resources, resulting in an unhandled exception crashing the app.

A simple workaround is to manually add the <AndroidResgenExtraArgs>"--no-version-vectors"</AndroidResgenExtraArgs> to the Android application project file.

Steps to Reproduce (with link to sample solution if possible):

A reproduction sample is available here https://github.com/ggirard07/AppCompatRepro
Or you could do it by yourself by following the steps:

  1. Create a new Android Application project (blank app)
  2. Add a new Android Library project to the solution
  3. Implement an activity in the Library project that consume vector drawables with AppCompat and srcCompat attribute.
  4. Modify the Android application project to start the Android library project activity.

Include any relevant Exception Stack traces, build logs, adb logs:

07-04 12:50:01.359 E/mono-rt (13471): android.content.res.Resources$NotFoundException: File res/drawable/ic_flashlight.xml from drawable resource ID #0x7f02004b
07-04 12:50:01.359 E/mono-rt (13471):   at android.content.res.Resources.loadDrawable(Resources.java:2235)
07-04 12:50:01.359 E/mono-rt (13471):   at android.content.res.Resources.getDrawable(Resources.java:733)
07-04 12:50:01.359 E/mono-rt (13471):   at android.content.res.Resources.getDrawable(Resources.java:711)
07-04 12:50:01.359 E/mono-rt (13471):   at android.support.v7.widget.ResourcesWrapper.getDrawable(ResourcesWrapper.java:12

An error occurred while retrieving package metadata for 'Xamarin.GooglePlayServices.Base.30.0.1-alpha2'

Xamarin.Android Version (eg: 6.0): 6.0.4.0

Operating System & Version (eg: Mac OSX 10.11): Windows 7

Support Libraries Version (eg: 23.3.0): 30.0.1-alpha2

Describe your Issue:

I tried to upgade from the stable Xamarin.GooglePlayServices.Maps to 30.0.1-alpha2 which worked fine however the compiler complained that it then needed to install Xamarin.GooglePlayServices.Tasks which was not included as a nuget dependency. While attempting to install that I now get:

PM> 
PM> Install-Package Xamarin.GooglePlayServices.Tasks -Pre
Attempting to gather dependency information for package 'Xamarin.GooglePlayServices.Tasks.30.0.1-alpha2' with respect to project 'EugsClient.Droid', targeting 'MonoAndroid,Version=v6.0'
Install-Package : An error occurred while retrieving package metadata for 'Xamarin.GooglePlayServices.Base.30.0.1-alpha2' from source 'C:\Projects\EugsClient\EugsClient\packages'.At line:1 char:1
+ Install-Package Xamarin.GooglePlayServices.Tasks -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

PM> Install-Package Xamarin.GooglePlayServices.Tasks -Pre
Restoring NuGet package Xamarin.GooglePlayServices.Base.30.0.1-alpha2.
  GET https://www.nuget.org/api/v2/curated-feeds/microsoftdotnet/Packages(Id='Xamarin.GooglePlayServices.Base',Version='30.0.1-alpha2')
Adding package 'Xamarin.GooglePlayServices.Base.30.0.1-alpha2' to folder 'C:\Projects\EugsClient\EugsClient\packages'
Added package 'Xamarin.GooglePlayServices.Base.30.0.1-alpha2' to folder 'C:\Projects\EugsClient\EugsClient\packages'
Attempting to gather dependency information for package 'Xamarin.GooglePlayServices.Tasks.30.0.1-alpha2' with respect to project 'EugsClient.Droid', targeting 'MonoAndroid,Version=v6.0'
Install-Package : An error occurred while retrieving package metadata for 'Xamarin.GooglePlayServices.Base.30.0.1-alpha2' from source 'C:\Projects\EugsClient\EugsClient\packages'.At line:1 char:1
+ Install-Package Xamarin.GooglePlayServices.Tasks -Pre
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

PM> Install-Package Xamarin.GooglePlayServices.Tasks -Pre -Verbose
  GET https://api.nuget.org/v3/registration1-gz/xamarin.googleplayservices.tasks/index.json
  OK https://api.nuget.org/v3/registration1-gz/xamarin.googleplayservices.tasks/index.json 233ms
Attempting to gather dependency information for package 'Xamarin.GooglePlayServices.Tasks.30.0.1-alpha2' with respect to project 'EugsClient.Droid', targeting 'MonoAndroid,Version=v6.0'
Install-Package : An error occurred while retrieving package metadata for 'Xamarin.GooglePlayServices.Base.30.0.1-alpha2' from source 'C:\Projects\EugsClient\EugsClient\packages'.At line:1 char:1
+ Install-Package Xamarin.GooglePlayServices.Tasks -Pre -Verbose
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Install-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

PM> 

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

IntelliSense missing for Android layout files when adding Xamarin.Android.Support.Design

Xamarin.Android Version (eg: 6.0):

7.1

Operating System & Version (eg: Mac OSX 10.11):

Windows 10, Visual Studio 2017

Support Libraries Version (eg: 23.3.0):

25.1.1

Describe your Issue:

IntelliSense is missing for Android layout files when adding the Xamarin.Android.Support.Design package.
When I use widgets from the android.support.design namespace in my layout, the generated xml schema in "...\obj\Debug\Schemas\25\schemas.android.com.apk.res.auto.xsd" contains duplicate attributes for "itemIconTint" and "itemTextColor"

The error message is only barely visible as a small blue squiggly underline at the beginning of the last line in the layout file:
error_message

Excerpt from the xsd file with the duplicate attributes:
attributes

In addition: After removing the design widgets the error remains, even after deleting the obj folder, "Clean Solution" and Visual Studio restart. The xsd file is generated with the duplicate attributes as soon as a layout file is opened, even if it doesn't contain the res-auto namespace declaration or android.support.design widgets.

Steps to Reproduce (with link to sample solution if possible):

  1. Create Blank Android Project
  2. Install-Package Xamarin.Android.Support.v7.AppCompat
  3. Open Resource\layout\Main.axml -> "...\obj\Debug\Schemas\25\schemas.android.com.apk.res.auto.xsd" is generated without duplicates (ca. 768 KB) (IntelliSense is still working)
  4. Install-Package Xamarin.Android.Support.Design
  5. Open Resource\layout\Main.axml -> "...\obj\Debug\Schemas\25\schemas.android.com.apk.res.auto.xsd" is generated with duplicates (ca. 1717 KB) (IntelliSense is no longer working)

Android compilation time increase since upgrade to v24

Xamarin.Android Version (eg: 6.0):

Xamarin.Android version 7.0

Operating System & Version (eg: Mac OSX 10.11):

Max OSX 10.11.6

Support Libraries Version (eg: 23.3.0):

24.2.1

Describe your Issue:

Since the upgrade to v24 (from v23), the Android compilation time has increased a lot!

Very small part of the diagnostics build output (support packages v24 and Android target framework 7.0):

Target perfomance summary:
     2.491 ms  _AddCorlibReference                                     1 calls
     0.936 ms  _AddDebugStaticResources                                1 calls
     4.082 ms  _AddLibraryProjectsEmbeddedResourceToProject            1 calls
     0.337 ms  _AddMultiDexDependencyJars                              1 calls
     8.415 ms  _AddStaticResources                                     1 calls
   493.536 ms  _AdjustJavacVersionArguments                            1 calls
175672.993 ms  _BuildAdditionalResourcesCache                          1 calls
   192.357 ms  _BuildLibraryImportsCache                               1 calls
   281.155 ms  _BuildSdkCache                                          1 calls
     2.881 ms  _CalculateAdditionalResourceCacheDirectories            1 calls
     1.292 ms  _CheckDuplicateJavaLibraries                            1 calls
     0.069 ms  _CheckForContent                                        1 calls
     0.094 ms  _CheckForDeletedResourceFile                            1 calls
     0.183 ms  _CheckForInvalidConfigurationAndPlatform                1 calls
     0.459 ms  _CheckInstantRunCondition                               1 calls
     0.835 ms  _CheckProjectItems                                      1 calls
     0.069 ms  _CheckTargetFramework                                   1 calls
   622.210 ms  _CheckTargetFrameworks                                  1 calls
   517.327 ms  _CollectAdditionalResourceFiles                         1 calls
    11.265 ms  _CollectConfigFiles                                     1 calls
    19.990 ms  _CollectMdbFiles                                        1 calls
    17.692 ms  _CollectMonoAndroidOutputs                              1 calls
    14.038 ms  _CollectPdbFiles                                        1 calls
     1.034 ms  _CompileDex                                             1 calls
  4739.303 ms  _CompileJava                                            1 calls
 31375.906 ms  _CompileToDalvikWithDx                                  1 calls
     4.502 ms  _ComputeAndroidAssetsPaths                              1 calls
    39.130 ms  _ComputeAndroidResourcePaths                            1 calls
     0.744 ms  _ConvertPdbFiles                                        1 calls
     1.728 ms  _CopyAppConfigFile                                      1 calls
    29.169 ms  _CopyConfigFiles                                        1 calls
   153.116 ms  _CopyIntermediateAssemblies                             1 calls
   282.216 ms  _CopyMdbFiles                                           1 calls
 12916.033 ms  _CreateAdditionalResourceCache                          1 calls
  3877.113 ms  _CreateBaseApk                                          1 calls
     4.102 ms  _CreateIntermediateAssembliesDir                        1 calls
     0.524 ms  _CreatePackageWorkspace                                 1 calls
     0.843 ms  _CreatePropertiesCache                                  1 calls
     0.267 ms  _DefineBuildTargetAbis                                  1 calls
    29.977 ms  _DetermineJavaLibrariesToCompile                        1 calls
     2.589 ms  _ExtractLibraryProjectImports                           1 calls
   447.851 ms  _FindCompiledJavaFiles                                  1 calls
   214.552 ms  _FindJavaStubFiles                                      1 calls
    58.729 ms  _GenerateAndroidAssetsDir                               1 calls
  2465.391 ms  _GenerateAndroidResourceDir                             1 calls
 19554.993 ms  _GenerateJavaDesignerForComponent                       1 calls
  6690.174 ms  _GenerateJavaStubs                                      1 calls
    13.889 ms  _GeneratePackageManagerJava                             1 calls
     2.271 ms  _GenerateTargetFrameworkMonikerAttribute                1 calls
    16.850 ms  _GetAdditionalResourcesFromAssemblies                   1 calls
     2.272 ms  _GetAddOnPlatformLibraries                              1 calls
     0.502 ms  _GetCompileOutputsForClean                              1 calls
     2.974 ms  _GetLibraryImports                                      1 calls
     0.579 ms  _GetMonoPlatformJarPath                                 1 calls
   256.447 ms  _GetPrimaryCpuAbi                                       1 calls
     6.563 ms  _GetReferenceAssemblyPaths                              1 calls
     0.072 ms  _IncludeInstanceRunReference                            1 calls
   596.326 ms  _LinkAssembliesNoShrink                                 1 calls
    10.918 ms  _PrepareAssemblies                                      1 calls
     0.077 ms  _ReadPropertiesCache                                    1 calls
    55.570 ms  _RecordCleanFile                                        1 calls
   530.209 ms  _ResolveAssemblies                                      1 calls
  1142.915 ms  _ResolveLibraryProjectImports                           1 calls
     6.823 ms  _ResolveMonoAndroidSdks                                 1 calls
   173.457 ms  _ResolveSatellitePaths                                  1 calls
     0.814 ms  _SeparateAppExtensionReferences                         1 calls
   111.219 ms  _SetLatestTargetFrameworkVersion                        1 calls
     0.246 ms  _SetupApplicationJavaClass                              1 calls
     0.050 ms  _SetupDesignTimeBuildForBuild                           1 calls
     0.058 ms  _SetupDesignTimeBuildForIntellisense                    1 calls
     0.182 ms  _SetupInstantRun                                        1 calls
     3.529 ms  _StripEmbeddedLibraries                                 1 calls
  9173.470 ms  _UpdateAndroidResgen                                    1 calls
     3.666 ms  _ValidateAndroidPackageProperties                       1 calls
     0.334 ms  _ValidateLinkMode                                       1 calls
     0.127 ms  _ValidateResourceCache                                  1 calls
     3.506 ms  _WriteResolvedAssemblies                                1 calls
     0.136 ms  AssignLinkMetadata                                      1 calls
    10.032 ms  AssignProjectConfiguration                              5 calls
     5.861 ms  AssignTargetPaths                                       6 calls
     0.491 ms  BclBuildAddProjectReferenceProperties                   1 calls
     0.764 ms  BclBuildValidateNugetPackageReferences                  1 calls
     1.256 ms  ConfigureMultiBrandProject                              1 calls
    94.698 ms  CopyFilesMarkedCopyLocal                                1 calls
  1951.619 ms  CoreCompile                                             1 calls
     0.210 ms  CreateManifestResourceNames                             1 calls
     2.600 ms  DeployOutputFiles                                       1 calls
     0.032 ms  EnsureNuGetPackageBuildImports                          1 calls
     0.157 ms  GenerateResources                                       1 calls
     0.163 ms  GenerateSatelliteAssemblies                             1 calls
     1.774 ms  GenerateTargetFrameworkMonikerAttribute                 1 calls
  3954.499 ms  GetCopyToOutputDirectoryItems                           6 calls
    49.371 ms  GetReferenceAssemblyPaths                               1 calls
   122.024 ms  ImplicitlyExpandDesignTimeFacades                       1 calls
     0.883 ms  PrepareForBuild                                         1 calls
     0.159 ms  ProcessGoogleServicesJsonChecks                         1 calls
  2298.292 ms  ProcessMultiBrandProject                                1 calls
   139.717 ms  ResolveAssemblyReferences                               1 calls
   809.012 ms  ResolveProjectReferences                                1 calls
     5.490 ms  SplitProjectReferencesByExistent                        6 calls
     0.638 ms  SplitResourcesByCulture                                 1 calls
     0.524 ms  VectorDrawableCheckBuildToolsVersionTask                1 calls

Tasks perfomance summary:
 29192.666 ms  Aapt                                                   26 calls
   493.441 ms  AdjustJavacVersionArguments                             1 calls
    43.148 ms  AndroidComputeResPaths                                  2 calls
     0.142 ms  AssignCulture                                           1 calls
     3.865 ms  AssignProjectConfiguration                              5 calls
     5.234 ms  AssignTargetPath                                       18 calls
     1.832 ms  CalculateAdditionalResourceCacheDirectories             1 calls
     1.230 ms  CheckDuplicateJavaLibraries                             1 calls
     0.766 ms  CheckProjectItems                                       1 calls
   622.142 ms  CheckTargetFrameworks                                   1 calls
    24.383 ms  CollectLibraryAssets                                    1 calls
 21485.752 ms  CompileToDalvik                                         1 calls
  2849.454 ms  ConvertResourcesCases                                   3 calls
  2528.481 ms  Copy                                                   10 calls
    28.803 ms  CopyConfigFiles                                         1 calls
   144.185 ms  CopyGeneratedJavaResourceClasses                        2 calls
    29.499 ms  CopyIfChanged                                           1 calls
   220.276 ms  CopyMdbFiles                                            1 calls
     2.983 ms  CopyResource                                            4 calls
 12909.043 ms  CreateAdditionalLibraryResourceCache                    1 calls
     4.594 ms  CreateAndroidResourceStamp                              1 calls
  1223.739 ms  CreateItem                                             63 calls
     3.906 ms  CreateManagedLibraryResourceArchive                     1 calls
  9773.689 ms  CreateMultiDexMainDexClassList                          1 calls
     5.418 ms  CreateProperty                                         45 calls
     1.903 ms  CreateResgenManifest                                    1 calls
     1.018 ms  CreateTemporaryDirectory                                2 calls
  1935.192 ms  Csc                                                     1 calls
     0.874 ms  Delete                                                  1 calls
    24.850 ms  DetermineJavaLibrariesToCompile                         1 calls
     0.393 ms  FindAppConfigFile                                       1 calls
    12.002 ms  FindUnderPath                                           1 calls
  6288.522 ms  GenerateJavaStubs                                       1 calls
    10.127 ms  GeneratePackageManagerJava                              1 calls
   507.929 ms  GenerateResourceDesigner                                1 calls
175660.288 ms  GetAdditionalResourcesFromAssemblies                    1 calls
     2.190 ms  GetAddOnPlatformLibraries                               1 calls
     0.562 ms  GetAndroidDefineConstants                               1 calls
     1.803 ms  GetAndroidPackageName                                   1 calls
     0.663 ms  GetAppSettingsDirectory                                 1 calls
    60.787 ms  GetExtraPackages                                        2 calls
    21.901 ms  GetFilesThatExist                                       3 calls
   179.715 ms  GetImportedLibraries                                    1 calls
     0.888 ms  GetJavaPlatformJar                                      1 calls
     0.524 ms  GetMonoPlatformJar                                      1 calls
   256.057 ms  GetPrimaryCpuAbi                                        1 calls
    36.014 ms  GetReferenceAssemblyPaths                               2 calls
  4709.106 ms  Javac                                                   1 calls
   592.300 ms  LinkAssemblies                                          1 calls
     1.543 ms  MakeDir                                                 6 calls
     1.754 ms  Message                                                16 calls
  4754.145 ms  MSBuild                                                 6 calls
     4.251 ms  ReadAdditionalResourcesFromAssemblyCache                1 calls
     2.811 ms  ReadImportedLibrariesCache                              1 calls
     2.525 ms  ReadLibraryProjectImportsCache                          1 calls
     0.254 ms  ReadLinesFromFile                                       1 calls
   110.415 ms  ReadResolvedSdksCache                                   1 calls
    33.918 ms  RemoveDirFixed                                          2 calls
    33.896 ms  RemoveDuplicates                                        1 calls
    28.964 ms  RemoveUnknownFiles                                      2 calls
   516.806 ms  ResolveAssemblies                                       1 calls
   309.790 ms  ResolveAssemblyReference                                2 calls
  1122.271 ms  ResolveLibraryProjectImports                            1 calls
   280.832 ms  ResolveSdks                                             1 calls
   281.227 ms  Touch                                                  10 calls
     0.466 ms  ValidatePackageReferences                               1 calls
     0.488 ms  VectorDrawableCheckBuildToolsVersionTask                1 calls
    13.490 ms  WriteLinesToFile                                        4 calls

Build succeeded.

This is a screenshot of our buildserver where you can see quite an increase of the build time!
android-compilation-increase

Diagnostics build output previous build (with support packages v23 and Android target framework 6.0)

Target perfomance summary:
     4.379 ms  _AddCorlibReference                                     1 calls
     4.000 ms  _AddDebugStaticResources                                1 calls
    10.737 ms  _AddLibraryProjectsEmbeddedResourceToProject            1 calls
     0.699 ms  _AddMultiDexDependencyJars                              1 calls
    62.400 ms  _AddStaticResources                                     1 calls
   482.713 ms  _AdjustJavacVersionArguments                            1 calls
   438.641 ms  _BuildAdditionalResourcesCache                          1 calls
   230.518 ms  _BuildLibraryImportsCache                               1 calls
   148.218 ms  _BuildSdkCache                                          1 calls
     8.501 ms  _CalculateAdditionalResourceCacheDirectories            1 calls
    10.302 ms  _CheckDuplicateJavaLibraries                            1 calls
     0.113 ms  _CheckForContent                                        1 calls
     0.239 ms  _CheckForDeletedResourceFile                            1 calls
     0.321 ms  _CheckForInvalidConfigurationAndPlatform                1 calls
     2.960 ms  _CheckInstantRunCondition                               1 calls
     2.174 ms  _CheckProjectItems                                      1 calls
     0.104 ms  _CheckTargetFramework                                   1 calls
   315.196 ms  _CheckTargetFrameworks                                  1 calls
   423.095 ms  _CollectAdditionalResourceFiles                         1 calls
    16.085 ms  _CollectConfigFiles                                     1 calls
    40.836 ms  _CollectMdbFiles                                        1 calls
    30.236 ms  _CollectMonoAndroidOutputs                              1 calls
    27.221 ms  _CollectPdbFiles                                        1 calls
     1.847 ms  _CompileDex                                             1 calls
 10801.496 ms  _CompileJava                                            1 calls
 46358.313 ms  _CompileToDalvikWithDx                                  1 calls
    28.799 ms  _ComputeAndroidAssetsPaths                              1 calls
    82.215 ms  _ComputeAndroidResourcePaths                            1 calls
     1.222 ms  _ConvertPdbFiles                                        1 calls
     3.392 ms  _CopyAppConfigFile                                      1 calls
    36.506 ms  _CopyConfigFiles                                        1 calls
   249.692 ms  _CopyIntermediateAssemblies                             1 calls
   428.036 ms  _CopyMdbFiles                                           1 calls
  2594.483 ms  _CreateAdditionalResourceCache                          1 calls
  5550.604 ms  _CreateBaseApk                                          1 calls
     8.031 ms  _CreateIntermediateAssembliesDir                        1 calls
     1.318 ms  _CreatePackageWorkspace                                 1 calls
     1.013 ms  _CreatePropertiesCache                                  1 calls
     0.494 ms  _DefineBuildTargetAbis                                  1 calls
    30.175 ms  _DetermineJavaLibrariesToCompile                        1 calls
    10.185 ms  _ExtractLibraryProjectImports                           1 calls
   514.473 ms  _FindCompiledJavaFiles                                  1 calls
   232.158 ms  _FindJavaStubFiles                                      1 calls
   150.282 ms  _GenerateAndroidAssetsDir                               1 calls
   841.423 ms  _GenerateAndroidResourceDir                             1 calls
 13573.984 ms  _GenerateJavaDesignerForComponent                       1 calls
 11625.012 ms  _GenerateJavaStubs                                      1 calls
    28.173 ms  _GeneratePackageManagerJava                             1 calls
     5.038 ms  _GenerateTargetFrameworkMonikerAttribute                1 calls
    21.895 ms  _GetAdditionalResourcesFromAssemblies                   1 calls
     6.778 ms  _GetAddOnPlatformLibraries                              1 calls
     1.328 ms  _GetCompileOutputsForClean                              1 calls
     6.341 ms  _GetLibraryImports                                      1 calls
     2.189 ms  _GetMonoPlatformJarPath                                 1 calls
   494.532 ms  _GetPrimaryCpuAbi                                       1 calls
     0.742 ms  _GetReferenceAssemblyPaths                              1 calls
     0.374 ms  _IncludeInstanceRunReference                            1 calls
  1184.081 ms  _LinkAssembliesNoShrink                                 1 calls
    22.670 ms  _PrepareAssemblies                                      1 calls
     0.098 ms  _ReadPropertiesCache                                    1 calls
    94.068 ms  _RecordCleanFile                                        1 calls
   852.572 ms  _ResolveAssemblies                                      1 calls
  1305.448 ms  _ResolveLibraryProjectImports                           1 calls
    19.616 ms  _ResolveMonoAndroidSdks                                 1 calls
   291.677 ms  _ResolveSatellitePaths                                  1 calls
     1.273 ms  _SeparateAppExtensionReferences                         1 calls
   109.174 ms  _SetLatestTargetFrameworkVersion                        1 calls
     0.416 ms  _SetupApplicationJavaClass                              1 calls
     0.065 ms  _SetupDesignTimeBuildForBuild                           1 calls
     0.165 ms  _SetupDesignTimeBuildForIntellisense                    1 calls
     0.342 ms  _SetupInstantRun                                        1 calls
     6.897 ms  _StripEmbeddedLibraries                                 1 calls
 10852.759 ms  _UpdateAndroidResgen                                    1 calls
     9.011 ms  _ValidateAndroidPackageProperties                       1 calls
     0.393 ms  _ValidateLinkMode                                       1 calls
     0.311 ms  _ValidateResourceCache                                  1 calls
     6.332 ms  _WriteResolvedAssemblies                                1 calls
     0.220 ms  AssignLinkMetadata                                      1 calls
    16.918 ms  AssignProjectConfiguration                              5 calls
    10.283 ms  AssignTargetPaths                                       6 calls
     0.858 ms  BclBuildAddProjectReferenceProperties                   1 calls
    10.772 ms  BclBuildValidateNugetPackageReferences                  1 calls
     4.868 ms  ConfigureMultiBrandProject                              1 calls
    95.253 ms  CopyFilesMarkedCopyLocal                                1 calls
  1842.395 ms  CoreCompile                                             1 calls
     0.330 ms  CreateManifestResourceNames                             1 calls
     7.176 ms  DeployOutputFiles                                       1 calls
     0.189 ms  EnsureNuGetPackageBuildImports                          1 calls
     0.251 ms  GenerateResources                                       1 calls
     0.129 ms  GenerateSatelliteAssemblies                             1 calls
     3.962 ms  GenerateTargetFrameworkMonikerAttribute                 1 calls
  6453.888 ms  GetCopyToOutputDirectoryItems                           6 calls
    26.352 ms  GetReferenceAssemblyPaths                               1 calls
   236.118 ms  ImplicitlyExpandDesignTimeFacades                       1 calls
     1.816 ms  PrepareForBuild                                         1 calls
     0.260 ms  ProcessGoogleServicesJsonChecks                         1 calls
   330.735 ms  ProcessMultiBrandProject                                1 calls
   150.458 ms  ResolveAssemblyReferences                               1 calls
  1248.670 ms  ResolveProjectReferences                                1 calls
    12.312 ms  SplitProjectReferencesByExistent                        6 calls
     1.105 ms  SplitResourcesByCulture                                 1 calls
     8.355 ms  VectorDrawableCheckBuildToolsVersionTask                1 calls

Tasks perfomance summary:
 25412.561 ms  Aapt                                                   16 calls
   482.520 ms  AdjustJavacVersionArguments                             1 calls
   110.212 ms  AndroidComputeResPaths                                  2 calls
     0.251 ms  AssignCulture                                           1 calls
     6.347 ms  AssignProjectConfiguration                              5 calls
     9.179 ms  AssignTargetPath                                       18 calls
     7.043 ms  CalculateAdditionalResourceCacheDirectories             1 calls
    10.170 ms  CheckDuplicateJavaLibraries                             1 calls
     2.060 ms  CheckProjectItems                                       1 calls
   315.010 ms  CheckTargetFrameworks                                   1 calls
     5.940 ms  CollectLibraryAssets                                    1 calls
 31621.992 ms  CompileToDalvik                                         1 calls
  4387.461 ms  ConvertResourcesCases                                   3 calls
   774.655 ms  Copy                                                   10 calls
    35.187 ms  CopyConfigFiles                                         1 calls
   195.011 ms  CopyGeneratedJavaResourceClasses                        2 calls
    30.898 ms  CopyIfChanged                                           1 calls
   323.446 ms  CopyMdbFiles                                            1 calls
     7.264 ms  CopyResource                                            4 calls
  2586.732 ms  CreateAdditionalLibraryResourceCache                    1 calls
    12.348 ms  CreateAndroidResourceStamp                              1 calls
  1251.829 ms  CreateItem                                             53 calls
    10.121 ms  CreateManagedLibraryResourceArchive                     1 calls
 14596.149 ms  CreateMultiDexMainDexClassList                          1 calls
    11.932 ms  CreateProperty                                         45 calls
    11.592 ms  CreateResgenManifest                                    1 calls
     2.396 ms  CreateTemporaryDirectory                                2 calls
  1818.611 ms  Csc                                                     1 calls
     0.645 ms  Delete                                                  1 calls
    28.270 ms  DetermineJavaLibrariesToCompile                         1 calls
     0.802 ms  FindAppConfigFile                                       1 calls
    17.906 ms  FindUnderPath                                           1 calls
 10746.108 ms  GenerateJavaStubs                                       1 calls
    20.430 ms  GeneratePackageManagerJava                              1 calls
   528.528 ms  GenerateResourceDesigner                                1 calls
   421.848 ms  GetAdditionalResourcesFromAssemblies                    1 calls
     6.618 ms  GetAddOnPlatformLibraries                               1 calls
     5.700 ms  GetAndroidDefineConstants                               1 calls
     1.352 ms  GetAndroidPackageName                                   1 calls
     1.873 ms  GetAppSettingsDirectory                                 1 calls
    58.472 ms  GetExtraPackages                                        2 calls
    39.167 ms  GetFilesThatExist                                       3 calls
   211.032 ms  GetImportedLibraries                                    1 calls
     6.334 ms  GetJavaPlatformJar                                      1 calls
     2.089 ms  GetMonoPlatformJar                                      1 calls
   493.396 ms  GetPrimaryCpuAbi                                        1 calls
     5.440 ms  GetReferenceAssemblyPaths                               2 calls
 10759.122 ms  Javac                                                   1 calls
  1175.008 ms  LinkAssemblies                                          1 calls
     3.648 ms  MakeDir                                                 6 calls
     2.688 ms  Message                                                16 calls
  7680.181 ms  MSBuild                                                 6 calls
     5.400 ms  ReadAdditionalResourcesFromAssemblyCache                1 calls
     6.025 ms  ReadImportedLibrariesCache                              1 calls
    10.075 ms  ReadLibraryProjectImportsCache                          1 calls
     0.658 ms  ReadLinesFromFile                                       1 calls
   107.749 ms  ReadResolvedSdksCache                                   1 calls
    43.802 ms  RemoveDirFixed                                          2 calls
    66.148 ms  RemoveDuplicates                                        1 calls
    61.685 ms  RemoveUnknownFiles                                      2 calls
   826.402 ms  ResolveAssemblies                                       1 calls
   436.710 ms  ResolveAssemblyReference                                2 calls
  1281.816 ms  ResolveLibraryProjectImports                            1 calls
   147.881 ms  ResolveSdks                                             1 calls
   667.213 ms  Touch                                                  10 calls
    10.288 ms  ValidatePackageReferences                               1 calls
     8.281 ms  VectorDrawableCheckBuildToolsVersionTask                1 calls
    16.510 ms  WriteLinesToFile    

Both were done with a Clean and Rebuild.

Project resources are missing in Resources window and axml intellisence after adding (Xamarin.Android.Support.V7.AppCompat)

Xamarin.Android Version (eg: 6.0):

7.3.0.13

Operating System & Version (eg: Mac OSX 10.11):

Windows 10, Visual Studio 2015 Update 3

Support Libraries Version (eg: 23.3.0):

25.3.1 (And some older versions)

Describe your Issue:

Project resources are missing in (Resources Window -> Project Resoures Tab) and in axml intellisence, after installing (Support.V7.AppCompat) from NuGet.

Steps to Reproduce (with link to sample solution if possible):

  1. Create Blank Android Project
  2. Open Resource\layout\Main.axml
  3. Add ImageView and try to change the (src) property from Properties window. The resources window has drawable resource called (icon). OK (Figure 1)
    2017-05-25_15-48-13
  4. Install package (Xamarin.Android.Support.v7.AppCompat) (and all its dependencies) from NuGet.
  5. Restart VS (This is another issue that I have to restart to be able to recompile after installing some libraries from NuGet !)
  6. Clean the project (From Build menu), and rebuild the project.
  7. Open Resource\layout\Main.axml again and try to set the (src) property of the ImageView. The resources window now has multiple project resources (from support library) but not the resources that are in the project ! (Figure 2)
    2017-05-25_15-56-39
  8. These resources are missing now in axml intellisence when trying to set the (src) property of the ImageView in xml file.
  9. If I uninstall (Support.V7.AppCompat) and leave its dependencies, the resources come back again in the resources list is Resources window and axml intellisence.

Does NavigationEvent work?

Xamarin.Android Version (eg: 6.0):

7.0.1.2

Operating System & Version (eg: Mac OSX 10.11):

windows 10

Support Libraries Version (eg: 23.3.0):

23.4.0.1

Describe your Issue:

Tried the sample for customtabs, can't get navigationEvent to be called!!
Is this just me? does the navigationevent actually work for others in the sample?

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

Listview Refreshindicator disappears direct on Android after upgrade

Xamarin.Android Version (eg: 6.0):

6.0

Operating System & Version (eg: Mac OSX 10.11):

Windows 10

Support Libraries Version (eg: 23.3.0):

24.2.1 and higher

Describe your Issue:

I am using a XF listview and want to disable pull to refresh while loading. I am binding the listview IsPullToRefreshEnabled to the oposite of the IsRefreshing property. When I pull to refresh I see the listview refresh icon turning until the new data is shown. I am using binding and retreive my data async.
This all worked fine up to version 23.4.0.1 of the android support libs. When I upgrade to version 24.2.1 or higher and I pull to refresh I do see the refesh icon for a short moment and then it disseapers before the new data is retreived and shown.

Steps to Reproduce (with link to sample solution if possible):

See the small and simple sample application I added. It will show the bug discribed. When you donwgrade the support libs to version 23.4.0.1 OR remove the binding on IsPullToRefreshEnabled and set it to True it will work like expected.

RefreshIndicator.zip

Include any relevant Exception Stack traces, build logs, adb logs:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.