RE: ERROR: Android: Could not encode class bundle

2016-12-20 Thread Paul Richards
] On Behalf Of Dan Friedman Sent: 19 December 2016 23:37 To: use-livecode@lists.runrev.com Subject: ERROR: Android: Could not encode class bundle Anyone know where to look to resolve this error when building a standalone for Android: “There was an error while saving the standalone application c

Re: ERROR: Android: Could not encode class bundle

2016-12-19 Thread Dan Friedman
Panos, After posting the result, I did a little research and found that "Unsupported major.minor version 52.0” refers to Java 1.7. Turns out that you have to have Java 1.8. Seems that Android Studio is pointing to the old version (1.7). So, I manually removed 1.6 and downloaded and installed

Re: ERROR: Android: Could not encode class bundle

2016-12-19 Thread Dan Friedman
Panos, Ok… here’s what the result was: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java

Re: ERROR: Android: Could not encode class bundle

2016-12-19 Thread panagiotis merakos
Hi Dan, I suggest you add a "answer the result " before throw "could not encode class bundle" in revSaveAsAndroidStandalone script Then try again to create an Android standalone, and post here the full error. Hopefully this will be more descriptive. Best, Panos. On 19 Dec 2016 23:37, "Dan Fr

ERROR: Android: Could not encode class bundle

2016-12-19 Thread Dan Friedman
Anyone know where to look to resolve this error when building a standalone for Android: “There was an error while saving the standalone application could not encode class bundle” I’ve built many Android apps in the past without a problem. Recently updated to OSX 10.12.1, and LC 8.1.1. I’ve d