can't find Android.* namespace

Error 88 The type or namespace name 'Activity' could not be found (are you missing a using directive or an assembly reference?) F:\Android\MainActivity.cs

This is cryptic. Anyone see this before? Only reference I saw was a suggestion to delete the .suo file and recreate it which I have done w/o luck :-P

It can't find Android.App, Android.View, etc. I tried removing/adding the Mono.Android package. I'm just baffled.
Xamarin Studio barfs the same error too.


  • KenYeeKenYee USMember ✭✭

    Found it. Do NOT move your "using Android.*" statements into your namespace if your namespace ends in Android. I was following StyleCop's fixes and this hosed it. What a waste of a few hours :-P

Sign In or Register to comment.