The application could not be started

Hi everyones i got a anoying problem:

The application could not be started. Ensure that the application has been installed to the target device and has a launchable activity (MainLauncher = true).

Things i do:

  • adb uninstall ; nothing happends

    • try to uninstal app from device: the app dont apeard, even like a fake app whith 0kb
    • Uninstall Mono Shared Runtine and Api from app
    • Check in another device

Nothing solve my problem and i dont know who i must do.

Answers

  • juanzeta33juanzeta33 USMember ✭✭

    Hey, see in your Manifest if you have an initial activity or see in the activity class, if haved the main launcher set in true.

  • JonDouglasJonDouglas USXamarin Team, University, Developer Group Leader Xamurai
    edited February 2017

    Please see my bug logged on this here: https://bugzilla.xamarin.com/show_bug.cgi?id=52114

    There are a few workarounds that you can use to get your app deploying again. Please see the bug description for more help.

    On a side note, please check what Juan has mentioned in the sense that you have an Activity in your obj/Debug/android/AndroidManifest.xml that looks similar to the following:

        <activity android:icon="@drawable/icon" android:label="App5" android:name="md593b8d625023f6802361dd1b8a6546be5.MainActivity">
          <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
        </activity>
    
Sign In or Register to comment.