Done building, successfully deployed, but INSTALL_FAILED_INVALID_APK

7 posts, 0 answers
  1. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 06 Feb 2014 Link to this post

    I get a done building and successfully deployed message, however the app does not open (because it is not installed) on the device. I also see a INSTALL_FAILED_INVALID_APK message. Please see below my (obfuscated) log.

    [2014-02-06 15:26:33.614] Log (Info,None): Project "xxxxxxxx" (default targets):
    Done building project "xxxxxxxx.proj".

    Successfully deployed application com.xxxxx.xxxxxxxx to GT-I9100.
    [2014-02-06 15:26:44.219] Log (Exception,High): Telerik.BlackDragon.Client.Mobile.MadBee.Exceptions.PackageInstallationException: INSTALL_FAILED_INVALID_APK
       at Telerik.BlackDragon.Client.Mobile.MadBee.Device.InstallRemotePackage(String remoteFilePath, Boolean reinstall)
       at Telerik.BlackDragon.Client.Mobile.MadBee.Device.InstallPackage(String packageFilePath, Boolean reinstall)
       at Telerik.BlackDragon.Client.Mobile.Android.AndroidDevice.#Hs.#kad()
       at System.Threading.Tasks.Task.InnerInvoke()
       at System.Threading.Tasks.Task.Execute()

    What can be wrong?
  2. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 07 Feb 2014 in reply to Jan-Dirk Link to this post

    When I use 'Publish' to generate the APK, then I can install it without any problems.

    Steve???? :)
  3. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 11 Feb 2014 Link to this post

    Hello Jan-Dirk,

    Thanks for your feedback.
    Unfortunately, I wasn't able to reproduce your issue.

    Would you please provide us some steps to follow and your project name in order to reproduce the exception and investigate the cause?

    I look forward to hearing from you.

    Regards,
    Zdravko
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  4. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 11 Feb 2014 in reply to Zdravko Link to this post

    Zdravko,

    I am not following any specific steps to deploy to my device. I just make sure that I don't have the app installed on my device (Samsung Galaxy S2) and click the build and deploy button.

    The name of the app is 'Assets to EAM'.
  5. Steve
    Steve avatar
    2 posts
    Member since:
    Oct 2011

    Posted 12 Feb 2014 in reply to Jan-Dirk Link to this post

    I am having the exact same problem.
  6. Martin
    Admin
    Martin avatar
    29 posts

    Posted 13 Feb 2014 Link to this post

    Hi guys,

    We've managed to reproduce the issue with a Nexus 4 phone with the CyanogenMod 11 custom ROM. It seems that the security settings do not allow the package to be installed from the temporary directory where we deploy on the device. 

    The fix for this issue will be out with the 1.11.2 hotfix of AppBuilder which we will release in a few days.

    Kind regards,
    Martin
    Telerik
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. For more information on the new name, and to learn more about the Platform, register for the free online keynote and webinar on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT)
  7. Jan-Dirk
    Jan-Dirk avatar
    327 posts
    Member since:
    Jun 2012

    Posted 17 Feb 2014 in reply to Martin Link to this post

    Looking forward to it!
Back to Top