Android scanner widget
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
Android scanner widget
Can someone help me decipher this error message and come up with a solution to the problem.
It occurs when I select Android Barcode Scanner in the inclusions pane and try to build the app on my phone.
///Peter
It occurs when I select Android Barcode Scanner in the inclusions pane and try to build the app on my phone.
///Peter
/*Whats all the fuss with c# ?*/
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
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
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
Re: Android scanner widget
I downloaded Java 8.
Now it doesn't work to test the app regardless of the settings...
///Peter
Now it doesn't work to test the app regardless of the settings...
///Peter
/*Whats all the fuss with c# ?*/
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android scanner widget
This thread may help, you need to completely remove your old copy of Java:
https://forums.livecode.com/viewtopic.p ... va#p207361
https://forums.livecode.com/viewtopic.p ... va#p207361
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
Re: Android scanner widget
I have now tried uninstalling java and reinstalling it.
No difference, same error message.
///Peter
No difference, same error message.
///Peter
/*Whats all the fuss with c# ?*/
-
- Posts: 136
- Joined: Fri Oct 14, 2011 6:53 am
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
/*Whats all the fuss with c# ?*/
-
- VIP Livecode Opensource Backer
- Posts: 7230
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android scanner widget
There may be more answers in the forums for the many times this has come up. Try this search:
https://forums.livecode.com/search.php? ... e4bffb800f
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 any suggestions.
https://forums.livecode.com/search.php? ... e4bffb800f
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 any suggestions.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Staff Member
- Posts: 818
- Joined: Fri Feb 06, 2015 4:03 pm
Re: Android scanner widget
Hello all,
This error is thrown if a newer version of the build tools is installed. It seems the barcode widget requires a tool that is not present or has changed location in this version of the build tools.
See this bug report for a workaround:
https://quality.livecode.com/show_bug.cgi?id=23570
Kind regards,
Panos
This error is thrown if a newer version of the build tools is installed. It seems the barcode widget requires a tool that is not present or has changed location in this version of the build tools.
See this bug report for a workaround:
https://quality.livecode.com/show_bug.cgi?id=23570
Kind regards,
Panos