This is a migrated thread and some comments may be shown as answers.

Plugin for VS not working

1 Answer 66 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Seyfor
Top achievements
Rank 1
Seyfor asked on 05 Dec 2016, 07:20 PM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Preslav
Telerik team
answered on 08 Dec 2016, 04:50 PM
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.

 
Tags
Report a bug
Asked by
Seyfor
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or