0

EDIT: The Problem has been fixed after multiple Cleans and deleting bin folders and so on, no idea why i had to do this over 10 times.

I have extended Application class and im getting the following Error

System.NotSupportedException: Unable to activate instance of type NetConnect.ApplicationStartup from native handle 0xbe9dcd6c (key_handle 0xcfa4138).

With Respect to MonoDroid: Error when calling constructor of custom view - TwoDScrollView adding

public ApplicationStartup(IntPtr handle, JniHandleOwnership ownerShip) 
            : base(handle, ownerShip)

did not resolve my Problem.

This is the full Code causing the problem.

namespace NetConnect
{
    [Application]
    public class ApplicationStartup : Application
    {

        public ApplicationStartup(IntPtr handle, JniHandleOwnership ownerShip)
            : base(handle, ownerShip)
        {

        }
        public override void OnCreate()
        {
            base.OnCreate();
        }
    }
}
Community
  • 1
  • 1
joachim
  • 652
  • 2
  • 7
  • 23

0 Answers0