[Solved] standalone error: cannot find the template manifest

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 132
Joined: Mon Jan 14, 2013 3:37 pm

[Solved] standalone error: cannot find the template manifest

Post by Ledigimate » Wed Aug 26, 2015 7:37 pm

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
Last edited by Ledigimate on Tue Mar 29, 2016 7:10 am, edited 2 times in total.
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: saving standalone error: could not find template manifes

Post by MaxV » Thu Aug 27, 2015 4:32 pm

Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 132
Joined: Mon Jan 14, 2013 3:37 pm

Re: saving standalone error: cannot not find template "Manif

Post by Ledigimate » Thu Aug 27, 2015 4:56 pm

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...
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

Ledigimate
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 132
Joined: Mon Jan 14, 2013 3:37 pm

Re: saving standalone error: cannot find the template "Manif

Post by Ledigimate » Sat Mar 26, 2016 10:21 pm

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!
010100000110010101100001011000110110010100111101010011000110111101110110011001010010101101010100011100100111010101110100011010000010101101001010011101010111001101110100011010010110001101100101

Post Reply