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

Updating the apk version is not replacing files in the device

9 Answers 883 Views
Android Devices
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Surya
Top achievements
Rank 1
Surya asked on 25 Jan 2013, 11:49 AM
when I tried to update the App with a newer version with some changes, I started facing few issues. 
For example, I changed the version code and version name of the App using Icenium and installed the updated version. As usual, the device asked for a replacement and once done with the installation, I found that, the version name is replaced in the device. However, I see the same old version with no changes updated. When I am clearing the application data from the application settings o the device, I can see the newer version is opening with the changes. Is there any way that I can replace the existing app version with a new updated version without clearing the application data from the settings??
I am using Samsung Android tab 2 with android version 4.0.4, for the checking.

9 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 20 Mar 2013, 02:08 PM
I am starting to see the same issue.  Strangely this only affects 1 android device, the others appear to work fine.  I am stumped as to how to fix it ...  I have tried uninstalling the app, reinstalling the app ... rebooting my phone and re-installing ... clearing data cache ... nothing seems to fix it.

Every time I install my application I see the files from several versions ago, when I force a 'live sync' (hitting the menu button) the application will flicker as if it just updated but will display the same old version every time. None of my changes are applied.
0
Steve
Telerik team
answered on 08 Apr 2013, 03:57 PM
Hello David,

We have not observed such behavior on our end either. Please check whether there isn't an update for your device and apply it. If there isn't any or the problem persists, please share what is the device and OS version and we would investigate further.

Greetings,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
David
Top achievements
Rank 1
answered on 08 Apr 2013, 04:06 PM
Hi Steve,
  I am running the latest version of the device, it is a Nexus 4 running Android 4.2.2.  I am more than happy to send you any log data or diagnostics if you need some in order to investigate it.  It is really strange that it is only affecting this one device and not the other ones.  I had a similar issue at one point in the past that affected multiple devices but I just exported the code for that project and re-imported it into new one and everything seemed to work fine from that point on.
  -David
0
Steve
Telerik team
answered on 09 Apr 2013, 04:22 PM
Hi David,

We do not have Nexus 4 at our disposal but tested on Nexus 7 with 4.2.2 and it does not exhibit the problem you talk about. We see in some of your other threads that you have Nexus 7 as well, does the problem occur on it?

This seems like a really weird problem and we're not really sure how to track it down. Can you post a log from the device when you deploy the application? You can do that by going to where "ADB" (Android Debug Bridge) is extracted on your system. When Graphite is started ADB is extracted in your temp folder. Start command prompt, type "cd %TEMP%". Search for adb.exe, it should be somewhere in your temp folder. After you find it type "adb logcat > c:\logcat.txt", after that press "ctrl +c". There will be a logcat.txt file in your root folder. Attach it to this post so we can check it out.

Kind regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
0
David
Top achievements
Rank 1
answered on 11 Apr 2013, 06:41 PM
Hi Steve,
  I have been trying to get a logcat file for you but have been having some issues.  This may be a hardware issue as I noticed a very similar problem on my Galaxy Nexus started to occur, I was having trouble getting the adb to connect to the galaxy nexus after a bit and found this thread.  They mentioned that they had issues with a particular micro usb cable.  I uninstalled the app on the Galaxy Nexus and deployed it through the new cable with graphite and things seem to be working there again.  I will be doing some more testing with my Nexus 4 to see if it solves the issue there too.  I just wanted to give you guys a heads up that it may just be a hardware issue I will update you guys once I find anything.
0
Finys1
Top achievements
Rank 1
answered on 16 Sep 2015, 05:54 AM

Hi Telerik Team,

I developed a cross mobile application targeting for iOS and Android . In the app i integrated Paypal 3.1.4 .

It worked good at first time of installation ,later while updating using Live Sync with three finger gesture then Paypal is not working.

I am attaching my logcat to you, please check it and give guidelines to avoid this issue.

0
Kaloyan
Telerik team
answered on 18 Sep 2015, 03:05 PM
Hi Finys1,

Thank you for the provided log. We will need some additional time to investigate it in details. Meanwhile, could you please elaborate on the following things:
​ - Does the application correct its behavior after restarting it on the device?
 - In which AppBuilder client are you developing?
 - What is the application deployment method used? Via cable connection or via QR code?
 - Is the device connected to your machine while LiveSyncing the app or not?
 - What is the exact device's model and Android version?

Thank you for the help in advance. I am looking forward to your reply.

Regards,
Kaloyan
Telerik
 

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

 
0
Rahul
Top achievements
Rank 1
answered on 26 Feb 2016, 07:19 AM

my apk file is not working on the mobile but it is not working on online telerik mobile testing successfully.

please provide me the solution of it.

0
Tina Stancheva
Telerik team
answered on 01 Mar 2016, 03:56 PM
Hello Rahul,

If your app doesn't run on a device, I would recommend debugging it to see whether there are any exceptions causing issues. Depending on which Telerik Platform client you're using you have different options for debugging the app - please have a look at this section of our documentation for more information.

Note that you can only debug the app if it is directly running on a device and you're not using the AppBuilder companion apps.

If you're having troubles getting to the bottom of the issue, I will be happy to help. I will, however, need your app in order to examine its implementation and test its behavior locally. I will also need to know the device type and model where you're running the app. I would therefore recommend that you submit a support ticket and attach the project in it along with steps to replicate the issue and more details about the mobile device.

Regards,
Tina Stancheva
Telerik
 

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

 
Tags
Android Devices
Asked by
Surya
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Steve
Telerik team
Finys1
Top achievements
Rank 1
Kaloyan
Telerik team
Rahul
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or