could not encode class bundle

prothero at earthlearningsolutions.org prothero at earthlearningsolutions.org
Sun Jan 22 12:00:22 EST 2017


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 using the wrong version of Xcode? This is just one example. Issues of code signing, provisioning, etc are so, so frustrating. Couldn't more descriptive error messages and version checking be implemented?

Best,
Bill

William Prothero
http://es.earthednet.org

> On Jan 22, 2017, at 8:42 AM, panagiotis merakos via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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, search for "Could not
> encode class bundle" (should be around line 638)
> 3. Add "answer the result" just before the "Could not encode class bundle"
> line.
> 4. Click apply to (temporarily) save this change
> 5. Build an android standalone.
> 
> What is the exact error that causes the failure?
> 
> Best,
> Panos
> --
> 
> 
> On Sun, Jan 22, 2017 at 4:21 PM, Mike Bonner via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> 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 at 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 debug it by myself? Why who did this message "could not encode
>>> class bundle" was not thinking to set a more useful message?
>>> 
>>> Current environment:
>>> Win 7-64
>>> Java 1.7_80 (32/64)
>>> Android SDK full installed
>>> Android device 4.1
>>> Virtual devices.
>>> Environment variables already set
>>> 
>>> Thank you.
>>> 
>>> ps.: I'm not a newcomer in development.
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list