Re: Could not encode class bundle

2017-12-23 Thread J. Landman Gay via use-livecode
That was it, I can build now. Finally I can make toast. :) Thanks Panos. On 12/23/17 2:35 PM, panagiotis merakos wrote: Hi Jacque, JDK 1.8 first became acceptable in LC 8.1.1. But if you apply this change locally in a version of LC < 8.1.1, then 1.8 *should* work with LC < 8.1.1 too (have not

Re: Could not encode class bundle

2017-12-23 Thread panagiotis merakos via use-livecode
Hi Jacque, JDK 1.8 first became acceptable in LC 8.1.1. But if you apply this change locally in a version of LC < 8.1.1, then 1.8 *should* work with LC < 8.1.1 too (have not tested that though) https://github.com/livecode/livecode/pull/4403 Best, Panos -- On Sat, Dec 23, 2017 at 7:54 PM, J. La

Re: Could not encode class bundle

2017-12-23 Thread J. Landman Gay via use-livecode
Before I install 1.8, will there be a conflict with older versions of LC that required 1.6 from Apple? I occasionally need to build on different versions for different products. Do you know when 1.8 became acceptable? I remember not too long ago that I had to find and re-install 1.6 in order t

Re: Could not encode class bundle

2017-12-22 Thread J. Landman Gay via use-livecode
Well, I have four versions of LiveCode installed so I may have reported the wrong version here. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On December 22, 2017 4:36:18 PM Ali Lloyd via use-livecode wrote

RE: Could not encode class bundle

2017-12-22 Thread Ralph DiMola via use-livecode
: Could not encode class bundle Yes, looking at previous instances of this error I think using JDK 1.8 is the easiest fix. I'm not sure exactly why this changed from DP 10 to 11 though... On Fri, Dec 22, 2017 at 10:04 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wro

Re: Could not encode class bundle

2017-12-22 Thread Ali Lloyd via use-livecode
Yes, looking at previous instances of this error I think using JDK 1.8 is the easiest fix. I'm not sure exactly why this changed from DP 10 to 11 though... On Fri, Dec 22, 2017 at 10:04 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > Okay, it's a very long error that

Re: Could not encode class bundle

2017-12-22 Thread J. Landman Gay via use-livecode
Okay, it's a very long error that I couldn't copy, but the first line is: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 51.0 This is followed by a dozen lines of various java errors concerning lang, security, n

Re: Could not encode class bundle

2017-12-22 Thread J. Landman Gay via use-livecode
It would be useful if the dialog reported the result. I'll edit the script later and see what it says. I first tried to use Test on my cabled phone and it hung with no way out, no error, nothing, had to force-quit. A way to cancel a failed Test would also be useful. On 12/22/17 2:45 PM, Mik

Re: Could not encode class bundle

2017-12-22 Thread Mike Kerner via use-livecode
Because in LC you can do that because LC is written largely in LC. On Fri, Dec 22, 2017 at 3:26 PM, Ali Lloyd via use-livecode < use-livecode@lists.runrev.com> wrote: > Could you put > > "answer the result " > > before > > throw "could not encode class bundle" > > in the revSaveAsAndroidStandalon

Re: Could not encode class bundle

2017-12-22 Thread Ali Lloyd via use-livecode
Could you put "answer the result " before throw "could not encode class bundle" in the revSaveAsAndroidStandalone script? That should give us a clue as to what the error is. On Fri, Dec 22, 2017 at 7:13 PM J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 12/22/17 1

Re: Could not encode class bundle

2017-12-22 Thread J. Landman Gay via use-livecode
On 12/22/17 12:56 PM, J. Landman Gay via use-livecode wrote: I'm unable to build an Android app in LC 9dp11, I get "Unable to encode class bundle." I have installed all the Android build tools for every version (17 through 27.0.3), and also the latest SDK Tools (25.2.5) and SDK Platform-tools (

Re: could not encode class bundle

2017-01-22 Thread panagiotis merakos via use-livecode
e Livecode > > *Sent:* Sunday, January 22, 2017 at 4:42PM > > *To:* How To Use Livecode > *Cc:* Panagiotis Merakos > > *Subject:* Re: could not encode class bundle > > > > > My guess is that this error is related to the Android SDK. Which version > of > >

Re: could not encode class bundle

2017-01-22 Thread git.vb via use-livecode
with 1.8.. So where is the catch? Thank you for your help *From:* How To Use Livecode *Sent:* Sunday, January 22, 2017 at 4:42PM *To:* How To Use Livecode *Cc:* Panagiotis Merakos *Subject:* Re: could not encode class

Re: could not encode class bundle

2017-01-22 Thread git.vb via use-livecode
a:482)" *From:* How To Use Livecode *Sent:* Sunday, January 22, 2017 at 4:42PM *To:* How To Use Livecode *Cc:* Panagiotis Merakos *Subject:* Re: could not encode class bundle > My guess is that this error is related to the Android SDK. Which version of > Android SDK Buil

Re: could not encode class bundle

2017-01-22 Thread prothero--- via use-livecode
Pianos, This kind of error message seems so useful that I wonder why it isn't in the IDE by default. One thing that I could wish for is more error messages and/or help for folks going through the app building process. Like, why isn't there an error message that warns the developer that they are

Re: could not encode class bundle

2017-01-22 Thread panagiotis merakos via use-livecode
My guess is that this error is related to the Android SDK. Which version of Android SDK Build Tools have you installed? To find the exact error, you can do the following: 1. Type in the msg box "edit the script of stack revsaveasandroidstandalone" 2. In the script editor window that just opened,

Re: could not encode class bundle

2017-01-22 Thread Mike Bonner via use-livecode
Does the error message happen to mention aapt.exe? On Sun, Jan 22, 2017 at 7:37 AM, git.vb via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all, > > Why is so difficult to make a simple android app? > > Why I get every time this error? What I need? To download all source > code and d