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

Done building, successfully deployed, but INSTALL_FAILED_INVALID_APK

6 Answers 46 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.
Jan-Dirk
Top achievements
Rank 1
Jan-Dirk asked on 06 Feb 2014, 02:31 PM
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?

6 Answers, 1 is accepted

Sort by
0
Jan-Dirk
Top achievements
Rank 1
answered on 07 Feb 2014, 02:02 PM
When I use 'Publish' to generate the APK, then I can install it without any problems.

Steve???? :)
0
Zdravko
Telerik team
answered on 11 Feb 2014, 10:09 AM
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)
0
Jan-Dirk
Top achievements
Rank 1
answered on 11 Feb 2014, 10:24 AM
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'.
0
Steve
Top achievements
Rank 1
answered on 12 Feb 2014, 05:31 PM
I am having the exact same problem.
0
Martin
Telerik team
answered on 13 Feb 2014, 03:38 PM
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)
0
Jan-Dirk
Top achievements
Rank 1
answered on 17 Feb 2014, 10:38 AM
Looking forward to it!
Tags
Report a bug
Asked by
Jan-Dirk
Top achievements
Rank 1
Answers by
Jan-Dirk
Top achievements
Rank 1
Zdravko
Telerik team
Steve
Top achievements
Rank 1
Martin
Telerik team
Share this question
or