Page 1 of 1
[Solved] standalone error: cannot find the template manifest
Posted: Wed Aug 26, 2015 7:37 pm
by Ledigimate
Dear experts
I'm working in LiveCode 6.7.2 and when I try to save a standalone for Android I keep getting an error saying it cannot find the template "Manifest".
I installed the latest JDK (both i586 and x64), installed the latest Android SDK, and reinstalled LiveCode 6.7.2, set the paths to the SDKs in LiveCode's preferences, all to no avail.
What could I be doing wrong?
Thanks
Gerrie
Re: saving standalone error: could not find template manifes
Posted: Thu Aug 27, 2015 4:32 pm
by MaxV
Re: saving standalone error: cannot not find template "Manif
Posted: Thu Aug 27, 2015 4:56 pm
by Ledigimate
Thank you, MaxV.
I followed the steps in the Wiki to the letter, but still no joy. The steps in the wiki works perfectly on a clean install of Windows 7 64-bit. It just won't work on my Windows 10 Pro machine which was upgraded from Windows 8.1 Pro.
LiveCode correctly detected the Java SDK folder path after I specified the Android SDK path, so I'm beginning to suspect a problem with the SDK folders' security permissions.
I'll play with the security permissions a bit and let you know what I find.
EDIT: I upgraded another Windows 8.1 Pro machine at the office to Windows 10 Pro using the same upgrade media, and there it works without a hitch. The plot thickens...
Re: saving standalone error: cannot find the template "Manif
Posted: Sat Mar 26, 2016 10:21 pm
by Ledigimate
After I've long given up on trying to solve this issue, I decided today to give it one more try, this time using Sysinternals' procmon to see the exact path of the file it says it cannot find.
It turned out there was an unnecessary folder on my system:
%userprofile%\Documents\My LiveCode\Runtime\Android
As soon as I deleted the "Android" folder, the problem was solved.
Lesson learned: DO NOT create an "Android" folder in your "%userprofile%\Documents\My LiveCode\Runtime" folder UNLESS for some bizarre reason you'd like to overrride LiveCode's Mobile Runtime for Android with your own, in which case you need to really know what you're doing!