{"action":"created","issue":{"url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2193","repository_url":"https://api.github.com/repos/xamarin/xamarin-android","labels_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2193/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2193/comments","events_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2193/events","html_url":"https://github.com/xamarin/xamarin-android/issues/2193","id":361438450,"node_id":"MDU6SXNzdWUzNjE0Mzg0NTA=","number":2193,"title":"DeleteBinObj bug with AndroidResource","user":{"login":"jonathanpeppers","id":840039,"node_id":"MDQ6VXNlcjg0MDAzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/840039?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanpeppers","html_url":"https://github.com/jonathanpeppers","followers_url":"https://api.github.com/users/jonathanpeppers/followers","following_url":"https://api.github.com/users/jonathanpeppers/following{/other_user}","gists_url":"https://api.github.com/users/jonathanpeppers/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanpeppers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanpeppers/subscriptions","organizations_url":"https://api.github.com/users/jonathanpeppers/orgs","repos_url":"https://api.github.com/users/jonathanpeppers/repos","events_url":"https://api.github.com/users/jonathanpeppers/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanpeppers/received_events","type":"User","site_admin":false},"labels":[{"id":769337515,"node_id":"MDU6TGFiZWw3NjkzMzc1MTU=","url":"https://api.github.com/repos/xamarin/xamarin-android/labels/Area:%20App+Library%20Build","name":"Area: App+Library Build","color":"000000","default":false},{"id":349989583,"node_id":"MDU6TGFiZWwzNDk5ODk1ODM=","url":"https://api.github.com/repos/xamarin/xamarin-android/labels/bug","name":"bug","color":"ee0701","default":true},{"id":840876265,"node_id":"MDU6TGFiZWw4NDA4NzYyNjU=","url":"https://api.github.com/repos/xamarin/xamarin-android/labels/vs-sync","name":"vs-sync","color":"e9ccff","default":false}],"state":"open","locked":false,"assignee":{"login":"jonathanpeppers","id":840039,"node_id":"MDQ6VXNlcjg0MDAzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/840039?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanpeppers","html_url":"https://github.com/jonathanpeppers","followers_url":"https://api.github.com/users/jonathanpeppers/followers","following_url":"https://api.github.com/users/jonathanpeppers/following{/other_user}","gists_url":"https://api.github.com/users/jonathanpeppers/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanpeppers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanpeppers/subscriptions","organizations_url":"https://api.github.com/users/jonathanpeppers/orgs","repos_url":"https://api.github.com/users/jonathanpeppers/repos","events_url":"https://api.github.com/users/jonathanpeppers/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanpeppers/received_events","type":"User","site_admin":false},"assignees":[{"login":"jonathanpeppers","id":840039,"node_id":"MDQ6VXNlcjg0MDAzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/840039?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanpeppers","html_url":"https://github.com/jonathanpeppers","followers_url":"https://api.github.com/users/jonathanpeppers/followers","following_url":"https://api.github.com/users/jonathanpeppers/following{/other_user}","gists_url":"https://api.github.com/users/jonathanpeppers/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanpeppers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanpeppers/subscriptions","organizations_url":"https://api.github.com/users/jonathanpeppers/orgs","repos_url":"https://api.github.com/users/jonathanpeppers/repos","events_url":"https://api.github.com/users/jonathanpeppers/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanpeppers/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xamarin/xamarin-android/milestones/7","html_url":"https://github.com/xamarin/xamarin-android/milestone/7","labels_url":"https://api.github.com/repos/xamarin/xamarin-android/milestones/7/labels","id":3549329,"node_id":"MDk6TWlsZXN0b25lMzU0OTMyOQ==","number":7,"title":"d16-0","description":null,"creator":{"login":"xamarin-release-manager","id":1002812,"node_id":"MDQ6VXNlcjEwMDI4MTI=","avatar_url":"https://avatars0.githubusercontent.com/u/1002812?v=4","gravatar_id":"","url":"https://api.github.com/users/xamarin-release-manager","html_url":"https://github.com/xamarin-release-manager","followers_url":"https://api.github.com/users/xamarin-release-manager/followers","following_url":"https://api.github.com/users/xamarin-release-manager/following{/other_user}","gists_url":"https://api.github.com/users/xamarin-release-manager/gists{/gist_id}","starred_url":"https://api.github.com/users/xamarin-release-manager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xamarin-release-manager/subscriptions","organizations_url":"https://api.github.com/users/xamarin-release-manager/orgs","repos_url":"https://api.github.com/users/xamarin-release-manager/repos","events_url":"https://api.github.com/users/xamarin-release-manager/events{/privacy}","received_events_url":"https://api.github.com/users/xamarin-release-manager/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":5,"state":"open","created_at":"2018-08-06T14:55:56Z","updated_at":"2018-09-18T18:59:28Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-09-18T18:59:11Z","updated_at":"2018-09-18T21:29:25Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Steps to Reproduce\r\n\r\n1. `File | New Project | Android App (Xamarin) | Tabbed App`, set `Minimum Android Version` to `Android 5.0 (Lollipop)`\r\n2. Build\r\n3. Open `Resource\\layout\\activity_main.axml` (I used the ancient VS XML editor instead of the designer, to remove that from the equation)\r\n4. Add a new `TextView`\r\n5. Run via F5 or the Play button\r\n\r\nA crash at runtime is encountered:\r\n```\r\nUnhandled Exception:\r\n\r\nAndroid.Views.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class android.support.design.widget.BottomNavigationView occurred\r\n```\r\n\r\nOn this line:\r\n```csharp\r\nSetContentView (Resource.Layout.activity_main);\r\n```\r\nMy `TextView` source is basically the default if dragged from the toolbox in the designer:\r\n```xml\r\n  <TextView\r\n      android:text=\"Text\"\r\n      android:layout_width=\"match_parent\"\r\n      android:layout_height=\"wrap_content\"\r\n      android:minWidth=\"25px\"\r\n      android:minHeight=\"25px\"\r\n      android:id=\"@+id/textView1\" />\r\n```\r\n\r\nOnce in this state, a `Rebuild` fixes the problem. You can deploy again to see the issue resolved.\r\n\r\n### Expected Behavior\r\n\r\nModifying a layout should not cause a runtime exception!\r\n\r\n### Actual Behavior\r\n\r\nModifying a layout causes runtime exception! `Rebuild` resolves the issue...\r\n\r\n### Version Information\r\n\r\nI have been able to repro this on VS 2017 15.8.4, and the build of Xamarin.Android we will be shipping with 15.9 P3.\r\n\r\n### Log File\r\n\r\nRelevant logs: [DeleteBinObj.zip](https://github.com/xamarin/xamarin-android/files/2394164/DeleteBinObj.zip)\n\n> VS bug [#686581](https://devdiv.visualstudio.com/DevDiv/_workitems/edit/686581)"},"comment":{"url":"https://api.github.com/repos/xamarin/xamarin-android/issues/comments/422562447","html_url":"https://github.com/xamarin/xamarin-android/issues/2193#issuecomment-422562447","issue_url":"https://api.github.com/repos/xamarin/xamarin-android/issues/2193","id":422562447,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjU2MjQ0Nw==","user":{"login":"jonathanpeppers","id":840039,"node_id":"MDQ6VXNlcjg0MDAzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/840039?v=4","gravatar_id":"","url":"https://api.github.com/users/jonathanpeppers","html_url":"https://github.com/jonathanpeppers","followers_url":"https://api.github.com/users/jonathanpeppers/followers","following_url":"https://api.github.com/users/jonathanpeppers/following{/other_user}","gists_url":"https://api.github.com/users/jonathanpeppers/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanpeppers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanpeppers/subscriptions","organizations_url":"https://api.github.com/users/jonathanpeppers/orgs","repos_url":"https://api.github.com/users/jonathanpeppers/repos","events_url":"https://api.github.com/users/jonathanpeppers/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanpeppers/received_events","type":"User","site_admin":false},"created_at":"2018-09-18T21:29:25Z","updated_at":"2018-09-18T21:29:25Z","author_association":"CONTRIBUTOR","body":"Hmm, weird `classes.dex` has the type from the error message!\r\n\r\n```\r\nobj\\Debug\\MonoAndroid81\\android\\bin> dexdump.exe .\\classes.dex | Select-String 'Landroid/support/design/widget/BottomNavigationView;'\r\n\r\ntype          : 'Landroid/support/design/widget/BottomNavigationView;'\r\n```\r\n\r\nSo perhaps `obj\\Debug\\MonoAndroid81\\android\\bin\\packaged_resources` is the file that's messed up?\r\n\r\nI'll keep digging..."}}
{"actor":{"display_login":"jonathanpeppers"}}