GKD Eenterprises
Lost but trying
Profile
Posts: 9
Reg: Nov 15, 2014
Simsbury
90
02/19/15 01:43 PM (9 years ago)

Buzztouch will not work or compile in Android/Ecplise

Hello, I have successfully published and used my Buzztouch app via xCode, but I am unable to get it to work in Android. I have read through the forums, Google, and the directions that come with the exported project, but I still cannot get my app to work/compile in eclipse. I have also gone to the properties of my project, and tried every version of Google API's and Android from version 4.03 to 5.01, and this will; not work. (After hours of searching online, I found some articles that stated the Buzztouch code is significantly old and will not work past 4.2.1, but I don't know if this is true or not). I performed the install instructions on both a clean PC as well as a MAC and I am receiving the same errors, I would prefer to have it work on my MAC, so I can use one computer for both my app's. I also verified that the plugins I am using work both for Android and iOS. Also, Android studio is now the new mechanisms for programming in Android after what I have read. I don't find any articles on Buzztouch that support it, and all my research states that the code is not compatible, but I find it hard to believe. I have tried exporting my project to Android studio, also with no luck due to these errors. I only did that as a test I would appreciate any suggestions or insight on getting my app to compile and run on Android so that I may submit it to the google play store. Here are the errors I am receiving: Description Resource Path Location Type case expressions must be constant expressions BT_plugin_success.java /gkdmobile/src/com/gkdmobile line 85 Java Problem The method setPluginState(WebSettings.PluginState) in the type WebSettings is not applicable for the arguments (boolean) BT_screen_customHTML.java /gkdmobile/src/com/gkdmobile line 89 Java Problem The method setPluginState(WebSettings.PluginState) in the type WebSettings is not applicable for the arguments (boolean) BT_screen_customURL.java /gkdmobile/src/com/gkdmobile line 87 Java Problem Thanks in advance.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/19/15 02:00 PM (9 years ago)
To reassure you, I use Eclipse on my Mac without any problem and have done for ages. I am guessing you must have a local Eclipse config problem or your config is OK but you haven't imported your project correctly. It is difficult to pinpoint the problem with what you've told us, so the best I can suggest is that you use Go NorthWest's excellent guides and start your eclipse installation then the import all over again. Also check out Smugs guide to referencing google play. Look here for the howto'a http://www.buzztouch.com/resources/ Good luck, Alan I recomment
 
GKD Eenterprises
Lost but trying
Profile
Posts: 9
Reg: Nov 15, 2014
Simsbury
90
like
02/19/15 02:05 PM (9 years ago)
Alan, Thank you very much. Yeah, I have a feeling its something to do with my MAC and how everything is installed. I am using the latest Java version 7.52. Do I need to go lower? Thanks again for the advice, I will re post once I have followed the guides.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/19/15 02:15 PM (9 years ago)
To be honest, I don't know which versions of Java to use but I think I am on the latest; Eclipse manages all that. I have found with Eclipse that every now and then you are forced into upgrading. I remember it seemed a lot more difficult to my set-up going first time around than I thought it ought to be. It was Go Nortwest's guides that pulled me through.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
02/19/15 02:16 PM (9 years ago)
https://www.buzztouch.com/forum/thread.php?tid=5A91559FB20828783F5CEF4&currentPage=7 Check out this post. Android studio does work with buzztouch. Whether you code the app from scratch or use a platform such as bt to make an app you will notice somethings need to be tweaked for it to work in android studio. Most plugins work fine though with no tweaking. If you decide to go the android studio route and find a plugin gives an error just post it and we'll help ya fix it.good luck!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/19/15 03:16 PM (9 years ago)
Here's my YouTube channel that has videos showing you exactly how to make it work: https://www.youtube.com/user/gonorthwest It does work in Android Studio, but I wouldn't go there unless you want to get super agitated! Check out my videos, ensure you have everything installed correctly, and then let us know how it's going. I'm more than happy to do a TeamViewer session with you tonight to help get everything straitened out. Mark
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
02/19/15 03:21 PM (9 years ago)
I vote for some popcorn, and a little time with GoNorthWest's videos. Android/Eclipse is quite temperamental compared to iOS. All I can say is keep trying. It'll eventually work for you. Like Alan, I've been using eclipse for a few years now, and Once setup, I've had very few issues. Good Luck! Let us know how it goes! Cheers! -- Smug
 
GKD Eenterprises
Lost but trying
Profile
Posts: 9
Reg: Nov 15, 2014
Simsbury
90
like
02/19/15 03:55 PM (9 years ago)
Thanks everyone for the posts. I will view Northwest's videos with a cold beer and some popcorn. :-) is there a direct link, or just the video you posted? You have to forgive me, I am not a programmer by any means, I just want an app for my customers. Speaking of teamviewer, i am looking to integrate that into my app. Maybe we can do a session tonight. I will work on it over the next few hours and see how i make out. I am going to be doing everything from my MAC. Also, from what I gather, I should stick with eclipse, even though Android says to use Android Studio?
 
GKD Eenterprises
Lost but trying
Profile
Posts: 9
Reg: Nov 15, 2014
Simsbury
90
like
02/19/15 03:56 PM (9 years ago)
Let me know if I should post the specs of my MAC. Also, none of the Java version commands work in my terminal. I have been a PC guy for 25 years, only bought a MAC to make the iPhone app, so I am not familiar with all the intricacies of a MAC
 
GKD Eenterprises
Lost but trying
Profile
Posts: 9
Reg: Nov 15, 2014
Simsbury
90
like
02/19/15 04:10 PM (9 years ago)
Can someone send me the exact links to using eclipse and android studio. I am watching Northwests's now.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/19/15 04:26 PM (9 years ago)
Howdy, The videos have descriptive titles and should get you going. I would avoid Android Studio for now. Though the builds are pretty stable, using it with Buzztouch requires some twisting and turning. The Eclipse ADT Bundle is what I would recommend. Unfortunately, Google took it offline when they RD'd Studio. But, somebody has archived it here: http://downloads.puresoftware.org/files/android/adt-bundle/ Integrating TeamViewer into your app...I have no idea how! But, I can use it to help get your system running. Mark
 
GKD Eenterprises
Lost but trying
Profile
Posts: 9
Reg: Nov 15, 2014
Simsbury
90
like
02/19/15 04:28 PM (9 years ago)
Thanks Mark! I am watching one of your videos on Android Studio now, do you have one for exclipse? This is great, your videos are very informative.
 
MichM
Aspiring developer
Profile
Posts: 13
Reg: Feb 08, 2015
California
830
like
02/19/15 04:31 PM (9 years ago)
Hello, I am new to Android app development and was able to successfully compile & run my app several times yesterday for the FIRST time, so I'll share with you what I did. I did this installation earlier this week, so it should still work for you. *** THIS IS NOT AN ANDROID STUDIO INSTALLATION*** NOTES: ***I am running Windows 7 64bit*, but all the links provide downloads for Mac & 32bit Windows too. ***When I installed each file, I made sure I installed as Administrator. For Windows, I right click on file then select "Run As Administrator" ***Every time I run Eclipse, I make sure I am running it as Administrator. For Windows, I right click on file then select "Run As Administrator" INSTALLATION: For the installation of Eclipse & Android, I followed this older video: https://www.youtube.com/watch?v=DfSL4KK4nzk I downloaded the Android SDK (installer_r24.0.2-windows.exe) from:http://developer.android.com/sdk/index.html#Other I downloaded the Eclipse SDK 4.4.1 (eclipse-SDK-4.4.1-win32-x86_64.zip) from:http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.1-201409250400/ During the video from within Eclipse he installs the Google plugin for Eclipse. I entered the url: https://dl.google.com/eclipse/plugin/4.4 from the follow page: https://developers.google.com/eclipse/docs/install-eclipse-4.4 ***When I got to the part during installation where you choose what Android packages & APIs to install/use, I literally selected EVERYTHING just to be safe & because I didn't know ones would be needed. Because I selected all of them, they used 25Gb-30Gb of harddrive space. --------------------------------------- HOW I COMPILE & RUN BUZZTOUCH PROJECT IN ECLIPSE: This video from a fellow BTer GoNorthWest is what works for me: https://www.youtube.com/watch?v=UgurXKgP2AE&list=UUbL5gei-5kK8hHf5q3andnw I follow his export instructions (starts around 8 minute mark) EACH time I want to create my apk. THANK YOU GoNorthWest!! ---------------------------------------- MISC TIPS If you don't have much RAM (my system has 4Gb), you might get the following error when you try to compile or run your app: “Unable to execute dex: GC overhead limit exceeded” If so, then follow this simple instruction to edit the eclipse.ini file: http://stackoverflow.com/questions/22282980/unable-to-execute-dex-gc-overhead-limit-exceeded BTW, if for some reason you are able run this on Windows & not on your Mac, you could consider running Windows installed in an Oracle Virtualbox (it's free) on your Mac so you have everything on one system. -------------- I hoped this helped! Good luck & take care!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
02/19/15 04:32 PM (9 years ago)
Eclipse and Android Studio are two different things. You'll want to use the Eclipse ADT Bundle that I mention above. Here's how to install the Eclipse ADT Bundle on Mac: https://www.youtube.com/watch?v=OZnNME84Eec And here's how to load your project into Eclipse: https://www.youtube.com/watch?v=UgurXKgP2AE Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.