Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Object refrence not set to an instance of an object on project creation.

husseinbaalbakihusseinbaalbaki USMember
edited October 2017 in Xamarin.Android

Hello all,
I am receiving this error "Object refrence not set to an instance of an object" while creating a new andriod project.
I have:
windows 7 64 bit
Visual studio 2015 Enterprise version 14.0
Xamarin 4.7.9

i have tried everything but cannot find a solution.

Posts

  • LotokLotok GBMember ✭✭
    edited October 2017

    Show some code so people can be more helpful. That error usually means you have done something like this

      SomeObject myObject;
      //do stuff
      myObject.PerformSomeAction(); //error throws here
    

    At no point is myObject instantiated, which is your problem

       myObject = new SomeObject();
    
  • there is no code, this occurs when i create a new android project

Sign In or Register to comment.