Plugin for VS not working

Thread is closed for posting
2 posts, 1 answers
  1. Matjaž
    Matjaž avatar
    82 posts
    Member since:
    Jul 2015

    Posted 05 Dec 2016 Link to this post

    After upgrading plugin for Visual studio to version 2016.4.1129.5, run native emulator is not working.

    After clicking AppBuilder -> Run Native Emulator -> Android -> Visual Studio -> 5.2" Marshhmallow API level 23 and waiting for some time I get error on screen (attachment).

    In AppBuilder output I get:

    [2016-12-05 20:14:05.816] Log (Info,High): Sending build request for project Mobile with parameters ProjectTypeGuids={F0A65104-D4F4-4012-B799-F612D75820F6}
    Platform=Android
    ProjectConfiguration=debug
    AcceptResults=Url;LocalPath
    BuildConfiguration=debug
    Framework=NativeScript
    FrameworkVersion=2.3.0
    LiveSyncToken=SkEtmcKNySq87FC0klHi+kNVaW3teGDtszy8H3s0JdpZsXbeOhbHSfy2l4/NB2YMkkm1JXKnd7d0KbaXPyunuV2c42ZovZMte3zhLEZmwuU=.
    [2016-12-05 20:15:31.718] Log (Info,Medium): Server build succeeded.
    [2016-12-05 20:15:31.718] Log (Info,High): Downloading from https://ab-builds-results.s3.amazonaws.com/vSCFA9Ln90aXXqB8oSCX-Q/AndroidManifest.xml?AWSAccessKeyId=AKIAIPNQETGWQZSHPABA&Expires=1483643736&Signature=8OePKrPMtzn37S9fEEdSTy28GsM%3D to D:\Projekti\Mobile\bin\debug\Android\AndroidManifest.xml.
    [2016-12-05 20:15:32.308] Log (Info,High): File downloaded successfully at D:\Projekti\Mobile\bin\debug\Android\AndroidManifest.xml.
    [2016-12-05 20:15:36.137] Log (Info,High): File downloaded successfully at D:\Projekti\Mobile\bin\debug\Android\Mobile.apk.
    Failed to deploy application com.telerik.Mobile to 5.2-inch Marshmallow (6.0.0) XXHDPI Phone: INSTALL_FAILED_UPDATE_INCOMPATIBLE.
  2. Answer
    Preslav
    Admin
    Preslav avatar
    452 posts

    Posted 08 Dec 2016 Link to this post

    Hi Matjaž,

    Thank you for providing the exact steps. I was able to reproduce the issue in the Visual Studio Android emulator when I tried to deploy the same application for the second time.

    I have also tested the scenario in Android Studio emulator and the faulty behavior did not appear there. This makes me think that it is only related to the Android emulator in VS.

    Additionally, the error message:
    INSTALL_FAILED_UPDATE_INCOMPATIBLE
    means that, the deploying process cannot finish because the application is already installed on the device. This said, I was able to successfully install the application after uninstalling it from the emulator.

    I logged this bug in our internal issue-tracking system. We will do our best to release a fix for it as soon as possible. Until that happens, you can use one of the following workarounds:
    1. Use the Android Studio emulator.
    2. Uninstall the application from the emulator every time before running the Build and Deploy option.

    Please accept our sincere apologies for any inconvenience caused by this problem. 

    Regards,
    Preslav
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top