I have Xamarin Android project created in Visual Studio. I would like to create unit test project for my mobile app. I tired xUnit Test Project but I have problem with linking both projects: Linking xUnit with Android app
I tried also Unit Test App (android) and I didn't have any problems with linking both projects but in this project I have problems and I don't know how can I initialize/use classes/functions from my main android project. I'm trying using (MainProjectName)
but Unit tests project doesn't see any other projects/directories.
EDIT: When I try to build Unit Test App I get an error:
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets(2,2): Error XA5211: Embedded wear app package name differs from handheld app package name (com.companyname.matchfinder != UnitTests.UnitTests). (XA5211) (UnitTests)