Mvvmcross: Upgrading from 6.4 to 7.0

Created on 24 Sep 2020  路  7Comments  路  Source: MvvmCross/MvvmCross

I upgraded to version 7.0 but now I have errors on building

I'm getting:

No resource identifier found for attribute 'MvxBind' in package 'my.app.package' (APT1000)

and also for MvxLang

Do i have to add something extra to my projects?

question

Most helpful comment

Not really.

Just make sure that you:

  1. Don't mix with old versions of MvvmCross packages
  2. You are targeting Android 10
  3. Did all the namespace and type changes. I made a list of what I had to do in one of the Apps I work on here: https://gist.github.com/Cheesebaron/16676992798ccd7f5b8202d94c61d28e
Gist
GitHub Gist: instantly share code, notes, and snippets.

All 7 comments

Not really.

Just make sure that you:

  1. Don't mix with old versions of MvvmCross packages
  2. You are targeting Android 10
  3. Did all the namespace and type changes. I made a list of what I had to do in one of the Apps I work on here: https://gist.github.com/Cheesebaron/16676992798ccd7f5b8202d94c61d28e
Gist
GitHub Gist: instantly share code, notes, and snippets.

I have a question. What about MvxFragmentActivity? It was deleted but what is my alternative? Should I use MvxActivity now instead?

MvxActivity is the one now 馃憤

And what is analogue for MvxAppCompatSetup now? I found this one

MvvmCross.Droid.Support.V7.AppCompat.MvxAppCompatSetup MvvmCross.Platforms.Android.Core.MvxAndroidSetup

But I don't have MvvmCross.Platforms namespace in my android project

@sledderGIT I was recently confused for half an hour with that one and turned out my Android project wasn't targeting 10.0 in _Project Options -> General -> Compile using Android version_.

Ah in my case to fix this problem I've just deleted MvvmCross package and installed it again

@romulotil did that solve your problem?

Was this page helpful?
0 / 5 - 0 ratings