Discussion Forums  >  Uncategorized

Replies: 22    Views: 494

xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
12/27/11 03:34 PM (14 years ago)

Im at a loss! Cant get my apps to work with the android phone emulator.

I followed the tutorials to the letter to set up Eclipse, but still cant get it to work right. I followed Marks's tutorial here >> http://www.buzztouch.com/resources/Setting_Up_Your_Android_Development_Environment_v1.2.pdf But my apps still refuse to work :( I did manage to get one of my apps to work for a bit. It was something that i threw up just to check if i had Eclipse et al set up correctly. I then deleted the app and made a new app. The new app refused to work :( I just cannot understand what i am doing wrong. I kept a log of what i did to set up the various software if anyone wishes to take a look. I wrote down EVERY single step. 1) Downloaded and installed jdk-7u1-windows-i586.exe Installed to: C:\Program Files\Java\jre7\ 2) Downloaded and installed installer_r15-windows.exe Installed to C:\Program Files\Android\android-sdk Checked 'Android 4.0.3 (API 15) (This totaled 7 Packages. 'Sources for Android SDK' was the extra pakage.) Defined Add-on Sites: Add-on Site URL: https://dl-ssl.google.com/android/eclipse/ Clicked 'Close' and returned to Add-on install screen Clicked 'Install 7 Packages'. Installed following packages: Android SDK Platform-tools, revision 10 Documentation for Android SDK, API 15, revision 1 Android SDK Platform 4.0.3 Revision 1 Samples for SDK API 15, revision 1 Android SDK Platform 4.0.3 Revision 1 Requires SDK Platform Android API 15 Android + Google APIs Revision 1 Requires SDK Platform Android API 15 Sources for Android SDK, API 15, revision 1 USB Driver for Windows, revision 4 Errors encountered when installing packages: 'adb kill-server' failed -- run manually if necessary 'ADB Restart' dialogue box popped up. Message: 'A package that depends on ADB has been updated. Do you want to restart ADB now? Clicked 'Yes'. Error Message: ADB: * daemon not running. starting it now on port 5037 * Message: ADB: * daemon started successfully * End of download. Clicked close and returned to main screen of Android SDK Manager Packages installed. (Android 4.0.3 (API 15)) Extra packages than tutorial: Android SDK Platform-Tools and Sources for Android SDK 3) Downloaded and installed eclipse-SDK-3.7.1-win32.zip. Extracted to: C:\eclipse Shortcut pinned to desktop 4) Default debug keystore missing in \.android. Trying to generate keystore (Skipped this procedure for later time.) 5) Install Eclipse Android Development Tools (ADT). Launched Eclipse Prompted to select workspace. Chose: C:\Users\Al-Shakiree!\Desktop\Smart Phone Apps - Workspace Navigated to: Help > Install New Software Clicked 'Add' button on 'Available Software' window. Added folowing to 'Add Repository' window. Name: Eclipse ADT Location: https://dl-ssl.google.com/android/eclipse Clicked 'OK' On 'Available Software' window checked all the check boxes for 'Developer Tools'. (Total 5 boxes). Clicked 'Next'. On 'Install Details' window clicked 'Next' On 'Review Licences' window accept terms and click 'Finish' On 'Security Warning' window click 'OK' On 'Software Updates' window click 'Restart' 6) Configure Eclipse On 'Workspace Launcher' select workspace. Selected:C:\Users\Al-Shakiree!\Desktop\Smart Phone Apps - Workspace Prompted to install new SDK. Clicked 'Cancel'. Navigated to Windows > Preferences Expanded Android section Specified SDK location: C:\Program Files\Android\android-sdk Found: Android 4.0.3 - Android Open Source Project - 4.0.3 - 15 Found: Google APIs - Google Inc. - 4.0.3 - 15 Clicked 'Apply' Clicked 'OK'
 
CBungert
Aspiring developer
Profile
Posts: 56
Reg: Jun 17, 2011
Minneapolis
3,310
like
12/27/11 03:57 PM (14 years ago)
There is a lot that could be going wrong. Are you getting any specific or recurring error messages? If not, can you be more detailed with the description refused to work?
 
sipero
I hate code!
Profile
Posts: 51
Reg: Nov 07, 2011
Carshalton
510
like
12/27/11 04:02 PM (14 years ago)
Hi, It looks to me that you are trying to use Andriod 4.0.3 SDK Make sure that you select google 2.2 SDK 8
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/27/11 04:26 PM (14 years ago)
Hi, This is how i tried to get the app to run... opened Eclipse as administrator. then went to File > New > Android Project Gave project a name: Test Selected: Create project from existing source Set the location for the Buzztouch file. Got message An Eclipse project already exists in this directory. Consider using File > Import > Existing Project instead. Ignored message! Clicked next. Android 4.0.3 was automatically selected on 'Select Build Target' window so i selected 'Google APIs'. Clicked Finish Received this message: [2011-12-27 23:17:18 - Test] Unable to resolve target 'Google Inc.:Google APIs:4' The 'Problems' tab showed 194 errors and 154 warnings.
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/27/11 04:28 PM (14 years ago)
and these are the error messages i received ( you might want to sit down for this!).... Description Resource Path Location Type com.v1_4.BCDB32B0019B18AEEDF64642.com.R cannot be resolved to a variable FbDialog.java /Test/src/com/facebook/android line 96 Java Problem error: Error parsing XML: not well-formed (invalid token) strings.xml /Test/res/values line 3 Android AAPT Problem error: Error: No resource found that matches the given name (at 'apiKey' with value '@string/googleMapsAPIKeyDebug'). screen_locationmap.xml /Test/res/layout line 19 Android AAPT Problem R cannot be resolved to a variable Act_ActivityBase.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 69 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 59 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 67 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 68 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 75 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 80 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 84 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 92 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 187 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 291 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 362 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 375 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 544 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 548 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 558 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 567 Java Problem R cannot be resolved to a variable Act_Home.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 577 Java Problem R cannot be resolved to a variable Adapter_List_Menu_Style_1.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 47 Java Problem R cannot be resolved to a variable Adapter_List_Menu_Style_1.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 53 Java Problem R cannot be resolved to a variable Adapter_List_Menu_Style_1.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 58 Java Problem R cannot be resolved to a variable Adapter_List_Menu_Style_1.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 62 Java Problem R cannot be resolved to a variable Adapter_List_Menu_Style_1.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 64 Java Problem R cannot be resolved to a variable Adapter_QuizScore.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 52 Java Problem R cannot be resolved to a variable Adapter_QuizScore.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 56 Java Problem R cannot be resolved to a variable Adapter_RSSStory.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 45 Java Problem R cannot be resolved to a variable Adapter_RSSStory.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 49 Java Problem R cannot be resolved to a variable Adapter_RSSStory.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 53 Java Problem R cannot be resolved to a variable Adapter_RSSStory.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 56 Java Problem R cannot be resolved to a variable Adapter_RSSStory.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 60 Java Problem R cannot be resolved to a variable Adapter_RSSStory.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 62 Java Problem R cannot be resolved to a variable AppDelegate.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 73 Java Problem R cannot be resolved to a variable AppDelegate.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 98 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 31 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 38 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 47 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 55 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 59 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 245 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 249 Java Problem R cannot be resolved to a variable Screen_About.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 258 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 35 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 42 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 52 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 59 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 82 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 277 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 281 Java Problem R cannot be resolved to a variable Screen_CustomHTML.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 290 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 35 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 42 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 52 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 59 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 82 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 277 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 281 Java Problem R cannot be resolved to a variable Screen_CustomText.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 290 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 32 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 39 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 42 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 49 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 57 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 176 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 180 Java Problem R cannot be resolved to a variable Screen_CustomURL.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 189 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 76 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 85 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 92 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 106 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 113 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 117 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 332 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 344 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 366 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 530 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 544 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 630 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 634 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 643 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 652 Java Problem R cannot be resolved to a variable Screen_LocationMap.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 661 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 70 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 73 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 80 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 117 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 131 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 132 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 134 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 136 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 145 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 146 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 147 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 150 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 151 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 152 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 153 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 154 Java Problem R cannot be resolved to a variable Screen_QuizMultipleChoice.java /Test/src/com/v1_4/BCDB32B0019B18AEEDF64642/com line 181 Java Problem
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/27/11 04:31 PM (14 years ago)
BTW i am not trying to get anyone to do all the hardwork for me while i sit back. I have been trying for days now to get this to work. Mark has been helping me a lot on the forum, but i have come to a point where i just dont understand what i am doing wrong! I really do want to crack this and understand what i am doing. Cheers guys.
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/27/11 04:35 PM (14 years ago)
sorry Sipero, you are going to have to run me through the steps to do that. I am not familiar with all the terms and processes yet.
 
sipero
I hate code!
Profile
Posts: 51
Reg: Nov 07, 2011
Carshalton
510
like
12/27/11 05:15 PM (14 years ago)
Hi, I think I see the problem now. Am I right in thinking you are using buzztouch version 1.4 If so you need to use google 1.6 api sdk 4
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/27/11 05:22 PM (14 years ago)
Hi, Yes, i am using version 1.4. Should i try using version 1.5? I wanted to start using version 1.5 anyway as it says it offers more options. I was only using version 1.4 as i thought it would be easier to practice with this version.
 
sipero
I hate code!
Profile
Posts: 51
Reg: Nov 07, 2011
Carshalton
510
like
12/27/11 05:27 PM (14 years ago)
Hi, You can use either version. If you use 1.4 then you need the google 1.6 api (not android) one and for 1.5 or your own BT server you use google api 2.2 Also make sure you set the emulator to the same version as well Version 1.5 does offer a lot more options but then on the other hand 1.4 is easier to use as there are very limited options.
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/27/11 05:42 PM (14 years ago)
Could you run me through the steps how to check which version of google api im running please?
 
CBungert
Aspiring developer
Profile
Posts: 56
Reg: Jun 17, 2011
Minneapolis
3,310
like
12/27/11 05:46 PM (14 years ago)
sipero is all over this one. And he is right. (almost all of those errors are java related) 1.5 is great, but i would start with 1.4 and really get a good handle on what you are doing. thats what i did, and the experience I got in 1.4 makes it easier to figure out where im going wrong in 1.5. here is one of the things that helped me understand the most: fresh eclipse setup, when I had never used eclipse before. Downloaded my source and tried to start... got like 118 errors. I read the file names and started googling around. And this is where my education started, I found a wealth of info on libraries, APIs, and Java + eclipse. as well as hints and walk throughs to fix most of my errors. If you start at the beginning, and work out things in order, you will be in a much better position to solve future issues you encounter. Worked for me :)
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
12/27/11 07:14 PM (14 years ago)
Ok, there are a few 'mights' in here, so it's more trial and error than a solution... ''Got message An Eclipse project already exists in this directory. Consider using File > Import > Existing Project instead.'' Delete that project that already exists. If it's in eclipe there will be an option to delete the project from the workspace too. Just to check, after it's done, go to the workspace (typically C:workspace) and make sure the project folder is removed. Unzip your bt project, rename it to what you like and place the unzipped folder in the workspace folder. Then use File > Import > Existing Project, and navigate to the folder in the workspace. Try that and see if it helps. I've had this problem a number of times, with many errors when creating a new project, and zero errors when importing. (usually with non-bt example code, where the api level is unclear). If that works, great. If not, check the build level as Sipiro says. (If you can't even get the project into eclipse, that's a problem!). To check the build level, right click on the project name, select 'Properties' > select 'Android' > Select the 1.6 api sdk 4 > Click ok Make sure the Google API folder is showing in your project with the correct api level. See if that's ok. If it isn't there are some more things that can be done. Post back here. I'm hoping though, that you selected the wrong api level when you created the new project.
 
andrewbennetts
Aspiring developer
Profile
Posts: 13
Reg: Dec 15, 2011
london
130
like
12/28/11 09:42 PM (14 years ago)
I am having the exactly the same problems as xs11ax, plus with al this deleting and uploading these programs exactly as is written in the pdfs I am noticing ploblems with eclipse. (which I never had before trying to get this buzztouch code to work) I have all the correct api's everything.
 
andrewbennetts
Aspiring developer
Profile
Posts: 13
Reg: Dec 15, 2011
london
130
like
12/28/11 09:49 PM (14 years ago)
When I use import I get v1_4.buzztouch] Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties.
 
Paul Rogers
Android Fan
Profile
Posts: 2524
Reg: May 30, 2011
UK
35,740
like
12/29/11 06:51 AM (14 years ago)
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/29/11 07:41 AM (14 years ago)
Hi, Sipero was right. I am using Buzztouch 1.4 version and i needed the Google 1.6 api. I am able to run and test my apps now even though it comes up with some warning messages. Thanks Sipero. Does anyone know if the Buzztouch 1.5 version supports Android yet?
 
sipero
I hate code!
Profile
Posts: 51
Reg: Nov 07, 2011
Carshalton
510
like
12/29/11 08:45 AM (14 years ago)
Yes Buzztouch 1.5 supports Andriod 2.2 or later so for this one you use Google 2.2 api SDK 8 It does have lots more options when compared with 1.4 Jonathan Hamon
 
andrewbennetts
Aspiring developer
Profile
Posts: 13
Reg: Dec 15, 2011
london
130
like
12/29/11 10:16 AM (14 years ago)
Did 1.right-click on your project and select Android Tools -> Fix Project Properties (if this din't work, try second option) 2.right-click on your project and select Properties -> Java Compiler, check Enable project specific settings and select 1.5 or 1.6 from Compiler compliance settings select box. still the app does not show in the emulater and the little yellow i continues to show. I just do not get it. I will give it another try,I just do not understand why it worked for you xs11ax. when I have had the exact same problems as you all the way, and did not for me. Thanks for all the help guys, I will not stop until I get this app to show in eclipse.
 
andrewbennetts
Aspiring developer
Profile
Posts: 13
Reg: Dec 15, 2011
london
130
like
12/29/11 03:23 PM (14 years ago)
I am beginning to think that it must be due to my pc operating windows. The videos on youtube using a mac makes it look so simple. Could that be the problem?
 
sipero
I hate code!
Profile
Posts: 51
Reg: Nov 07, 2011
Carshalton
510
like
12/29/11 03:37 PM (14 years ago)
Hi, OS should not make any difference. Im using Windows Vista and have no real issues now. I've helped out a few other users on this forum and have got their apps complied and running. Jonathan Hamom john[at]sipero.com
 
xs11ax
Lost but trying
Profile
Posts: 92
Reg: Sep 15, 2011
London
920
like
12/29/11 05:44 PM (14 years ago)
Hi Andrew, I was having problems right from the start and made a mess of things so i deleted all software and started again. Second time round was a lot easier as i was getting used to the different software and terms used. When i installed the software the second time around i made a log of every single step so that i would have a reference in case things went wrong again. These are the steps i made using this tutorial.... http://www.buzztouch.com/resources/Setting_Up_Your_Android_Development_Environment_v1.2.pdf Then i had a problem and solved it by following Jonathan's advice and using Google 1.6 api which i needed as i was using the Buzztouch 1.5v. 1) Downloaded and installed jdk-7u1-windows-i586.exe Installed to: C:\Program Files\Java\jre7\ 2) Downloaded and installed installer_r15-windows.exe Installed to C:\Program Files\Android\android-sdk Checked 'Android 4.0.3 (API 15) (This totaled 7 Packages. 'Sources for Android SDK' was the extra pakage. Defined Add-on Sites: Add-on Site URL: https://dl-ssl.google.com/android/eclipse/ Clicked 'Close' and returned to Add-on install screen Clicked 'Install 7 Packages'. Installed following packages: Android SDK Platform-tools, revision 10 Documentation for Android SDK, API 15, revision 1 Android SDK Platform 4.0.3 Revision 1 Samples for SDK API 15, revision 1 Android SDK Platform 4.0.3 Revision 1 Requires SDK Platform Android API 15 Android + Google APIs Revision 1 Requires SDK Platform Android API 15 Sources for Android SDK, API 15, revision 1 USB Driver for Windows, revision 4 Errors encountered when installing packages: 'adb kill-server' failed -- run manually if necessary 'ADB Restart' dialogue box popped up. Message: 'A package that depends on ADB has been updated. Do you want to restart ADB now? Clicked 'Yes'. Error Message: ADB: * daemon not running. starting it now on port 5037 * Message: ADB: * daemon started successfully * End of download. Clicked close and returned to main screen of Android SDK Manager Packages installed. (Android 4.0.3 (API 15)) Extra packages than tutorial: Android SDK Platform-Tools and Sources for Android SDK 3) Downloaded and installed eclipse-SDK-3.7.1-win32.zip. Extracted to: C:\eclipse Shortcut pinned to desktop 4) Default debug keystore missing in \.android. Bypassed it and used release key instead. 5) Install Eclipse Android Development Tools (ADT). Launched Eclipse Prompted to select workspace. Chose: C:\Users\Al-Shakiree!\Desktop\Smart Phone Apps - Workspace Navigated to: Help > Install New Software Clicked 'Add' button on 'Available Software' window. Added folowing to 'Add Repository' window. Name: Eclipse ADT Location: https://dl-ssl.google.com/android/eclipse Clicked 'OK' On 'Available Software' window checked all the check boxes for 'Developer Tools'. (Total 5 boxes). Clicked 'Next'. On 'Install Details' window clicked 'Next' On 'Review Licences' window accept terms and click 'Finish' On 'Security Warning' window click 'OK' On 'Software Updates' window click 'Restart' 6) Configure Eclipse On 'Workspace Launcher' select workspace. Selected:C:\Users\Al-Shakiree!\Desktop\Smart Phone Apps - Workspace Prompted to install new SDK. Clicked 'Cancel'. Navigated to Windows > Preferences Expanded Android section Specified SDK location: C:\Program Files\Android\android-sdk Found: Android 4.0.3 - Android Open Source Project - 4.0.3 - 15 Found: Google APIs - Google Inc. - 4.0.3 - 15 Clicked 'Apply' Clicked 'OK'
 
andrewbennetts
Aspiring developer
Profile
Posts: 13
Reg: Dec 15, 2011
london
130
like
12/29/11 06:30 PM (14 years ago)
Thanks for the reply xs11ax Its funny you know, after I decided enough was enough, I deleted all the programs for the 9th or 10th time and went back to what I originally had before I came across buzztouch. eclipse-java-indigo-SR1-win32 and jdk-7u2-windows-i586. Then I thought I would give the file from buzztouch, 1 last chance. I selected Android Tools -> Fix Project Properties (went from red x to yellow i) 2.selected Properties -> Java Compiler, checked settings were 1.6 still nothing happened. I then debugged the file. Suddenly there was my app. The picture does not load or the PDFs, but hey after a week of re-installing. I can go to bed tonight. Thanks for all the help in this forum from you xs11ax, sipero, raveyd, [email protected], GoNorthWest and others. Look out I am going to try 1.5 next!
 

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.