... the following error:
"Could not encode class bundle."
If I deselect the "Map" option, the app builds and runs on my device without any issues.
Has anyone encountered this problem before? Is there a configuration or dependency that I might have missed, or is there an additional setup step required ...
Search found 92 matches: could not encode class bundle
Searched query: could not encode class bundle
ignored: could not
- Wed Jul 15, 2026 9:59 am
- Forum: Android Deployment
- Topic: "Could not encode class bundle."
- Replies: 0
- Views: 41
- Fri Aug 22, 2025 2:48 pm
- Forum: Android Deployment
- Topic: android unsupperted class error
- Replies: 2
- Views: 20990
android unsupperted class error
... the standalone application
could not encode class bundle - error:
Exception in thread "main" java-lang-UnsupportedClassVersionError :
com/android/tools/r8/D8 has been compiled by a more recent version of the java
Runtime (class file version 55) this version of the Java Runtime only recognizes
class file ...
could not encode class bundle - error:
Exception in thread "main" java-lang-UnsupportedClassVersionError :
com/android/tools/r8/D8 has been compiled by a more recent version of the java
Runtime (class file version 55) this version of the Java Runtime only recognizes
class file ...
- Wed Jan 01, 2025 8:12 pm
- Forum: Android Deployment
- Topic: in app purchasing broken?
- Replies: 6
- Views: 41598
Re: in app purchasing broken?
... to build app for testing: could not encode class bundle - error:
Methods with invalid locals information:
void androidx.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap)
Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack ...
Methods with invalid locals information:
void androidx.print.PrintHelper$PrintUriAdapter$1.onPostExecute(android.graphics.Bitmap)
Information in locals-table is invalid with respect to the stack map table. Local refers to non-present stack ...
- Tue Mar 12, 2024 11:48 am
- Forum: Android Deployment
- Topic: Could not encode class bundle
- Replies: 1
- Views: 34414
Re: Could not encode class bundle
... This widget wraps an MKMapView on iOS and 64-bit Mac, and a GoogleMap on
Android. It supports simple markers and polylines (on Android).
Note: In order to use the map widget on Android, you must create a Google Maps V2 API key for your app, and set it in the standalone settings for the ...
Android. It supports simple markers and polylines (on Android).
Note: In order to use the map widget on Android, you must create a Google Maps V2 API key for your app, and set it in the standalone settings for the ...
- Tue Mar 12, 2024 8:27 am
- Forum: Android Deployment
- Topic: Could not encode class bundle
- Replies: 1
- Views: 34414
Could not encode class bundle
... I see the error message "Could not encode class bundle".
By deselecting the "map" option, I am able to construct and evaluate the application according to its intended purpose.
What information or events have I failed to be aware of?
By deselecting the "map" option, I am able to construct and evaluate the application according to its intended purpose.
What information or events have I failed to be aware of?
- Thu Feb 29, 2024 2:23 pm
- Forum: Android Deployment
- Topic: LC , Android Studio Hedgehog and JRE - unable to build
- Replies: 1
- Views: 29748
LC , Android Studio Hedgehog and JRE - unable to build
Hi All,
I've not built for Android in a while, and since I ... the standalone application could not encode class bundle - error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/android/tools/r8/D8 has been compiled by a more recent version of the Java Runtime (class file version 55.0 ...
I've not built for Android in a while, and since I ... the standalone application could not encode class bundle - error:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/android/tools/r8/D8 has been compiled by a more recent version of the Java Runtime (class file version 55.0 ...
- Sat Dec 23, 2023 11:31 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: LC 10.0 dp-7 Android Deployment
- Replies: 5
- Views: 66579
Re: LC 10.0 dp-7 Android Deployment
"could not encode class bundle" - which if I remember right, this was the same error I got when traversing through different versions of LC9. Will let you know once up an running.
- Thu Aug 03, 2023 4:12 pm
- Forum: Android Deployment
- Topic: Common Android Deployment issues
- Replies: 91
- Views: 445786
Re: Common Android Deployment issues
... to build app for testing: could not encode bundle - error: Exception in thread "main.java.lang.UnsupportedClassVersionError com/android/tools/r8/D8 has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions ...
- Thu Aug 18, 2022 8:24 pm
- Forum: Android Deployment
- Topic: Android scanner widget
- Replies: 7
- Views: 10910
Re: Android scanner widget
... com/search.php?keywords=could+not+encode+class+bundle&sid=71cf7f84a1be32956e59f5e4bffb800f
Did you install the latest Build Tools? You need those too, which you can get via Android Studio.
If none of that works, I'm afraid I'm out of ideas. You might write to support@livecode.com and see if they have ...
Did you install the latest Build Tools? You need those too, which you can get via Android Studio.
If none of that works, I'm afraid I'm out of ideas. You might write to support@livecode.com and see if they have ...
- Thu Aug 18, 2022 8:37 am
- Forum: Android Deployment
- Topic: Android scanner widget
- Replies: 7
- Views: 10910
Re: Android scanner widget
After a lot of back and forth, I have now managed to reinstall everything.
Unfortunately, I'm back at square one. When I check the Android scanner
in the inclusions pane, and try to build for testing, I get the original error message
(could not encode class bundle)
Any new suggestions?
///Peter
Unfortunately, I'm back at square one. When I check the Android scanner
in the inclusions pane, and try to build for testing, I get the original error message
(could not encode class bundle)
Any new suggestions?
///Peter
- Wed Aug 17, 2022 5:41 pm
- Forum: Android Deployment
- Topic: Android scanner widget
- Replies: 7
- Views: 10910
Re: Android scanner widget
Probably you have the wrong version of Java installed, you need Java 8.
https://forums.livecode.com/viewtopic.p ... le#p198052
https://forums.livecode.com/viewtopic.p ... le#p198052
- Wed Nov 03, 2021 8:46 pm
- Forum: Android Deployment
- Topic: LC 9.6.5.
- Replies: 4
- Views: 5693
LC 9.6.5.
... to build app for testing: could not encode class bundle - compilation failed with an internal error
java.nio.file.invalidpathexception: illegal path chars <> 2 ...
What is this? Any recommendations?
java.nio.file.invalidpathexception: illegal path chars <> 2 ...
What is this? Any recommendations?
- Fri Mar 12, 2021 10:49 am
- Forum: Android Deployment
- Topic: Using map causes "Could not encode class bundle" error
- Replies: 0
- Views: 14123
Using map causes "Could not encode class bundle" error
When I select "map" in the inclusion pane and try to the app on my phone, I get "Could not encode class bundle"
If I uncheck "map", I can build and test the app as intended.
What have I missed?
/// Peter
If I uncheck "map", I can build and test the app as intended.
What have I missed?
/// Peter
- Mon Nov 09, 2020 6:42 pm
- Forum: Android Deployment
- Topic: Error while saving LC file as a standalone application
- Replies: 2
- Views: 4678
Re: Error while saving LC file as a standalone application
... com/search.php?keywords=could+not+encode+class+bundle&sid=71cf7f84a1be32956e59f5e4bffb800f), probably the cause is that your Java/jdk version is not the one LiveCode expects. LiveCode needs Java 8.
Hope this helps,
Kind regards,
Panos
--
Hope this helps,
Kind regards,
Panos
--
- Mon Nov 09, 2020 2:34 pm
- Forum: Android Deployment
- Topic: Error while saving LC file as a standalone application
- Replies: 2
- Views: 4678
Error while saving LC file as a standalone application
Hello,
I am trying to convert a LiveCode file to a .APK file but when saving my app as a standalone application this error message pops up:
There was an error while saving the standalone application could not encode class bundle
I really need help with this ASAP
Thanks in advance,
Arad
I am trying to convert a LiveCode file to a .APK file but when saving my app as a standalone application this error message pops up:
There was an error while saving the standalone application could not encode class bundle
I really need help with this ASAP
Thanks in advance,
Arad