FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
06/15/14 01:37 AM (10 years ago)

testing my android package

Hi guys, can someone test my package for me, and tell me if its eclipse or the package, so i can fault check from there, ive followed all the tutorials, re uploaded and installed everything, changed from eclipse/java from 64 to 86, made sure the google play is linked with the green tick, but still upto 300 errors, cheers sean
 
benedettoapp
Lost but trying
Profile
Posts: 139
Reg: Jun 22, 2013
Italy
6,340
like
06/15/14 02:25 AM (10 years ago)
put a link to your package, otherwise how can people test it for you, and what is java from 64 to 86 this about, where did you read it?
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 02:44 AM (10 years ago)
sorry meant x64 to x86, apparently even if your running 64 bit the x86 versions are more stable, and i dont just want to put my package link up as there's a lot of personal/private information there, Im hoping one of the guru,s can help me as there used to eclipse and its problems, I have couple of apps in the play store, so im not new at eclipse, its just changed since david changed the code, i need one of the crew to point me in the right direction. Sean
 
benedettoapp
Lost but trying
Profile
Posts: 139
Reg: Jun 22, 2013
Italy
6,340
like
06/15/14 05:48 AM (10 years ago)
ok, but this is what you wrote: Hi guys, can someone test my package for me
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 06:01 AM (10 years ago)
I wasnt meaning to mislead anyone, or to be rude in my reply, i just meant i was looking for help from someone who has lots of experience in eclipse and its problems, through experience (on here)i have learned that there are some very helpful/knowledgeable coders on buzz, who also gave me advice to not put links to my code in the forums. Im sorry if my post misled you and i will make sure im very transparent in the future, i wasnt meaning to sound rude. Thanks sean
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 06:23 AM (10 years ago)
In the world of 'I have to type everything', I rarely get my entire statement out correctly, with the right 'sound' to it... In other words, don't worry about it... It might take a couple of posts, but hey... whatever it takes. The thing about code/info is mainly any kind of identifiable or personal information... The big thing that stands out in my mind is your API Key (hidden in your config.txt file) that could possibly allow an enterprising upstart to 'hijack' your BT identity with respect to the server. If the project is self hosted, are you certain you have a 'BTv3' project, and not BTv2? Are you using an 'Android' API 14, and not 'Google' API 14 (Use google on BTv2 only!) Again, I've had some success doing all that stuff, and then changing the API higher (API 15+)... the errors would go away, and I would re-change the API back to 14, and the errors would stay away... If a lot of your errors are along the lines of 'R could not be resolved...' it's probably a combo of API, or possibly a screwy XML file... If your XML files have errors, solve those. Let us know what happens, and if anything changes. Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 06:36 AM (10 years ago)
hi , yes i follow all your advice smug as ive always found it very helpful and i bow to your experience :) as for the project, downloaded from here, so initially followed the instructions with, then watched lots of how do,s includeing yours dude, im using api 14 and 15, swapped between the 2, and got more errors, i do get this error at the start though error: Error parsing XML: no element found sps_recommend.xml /uktheatres/res/layout line 1 Android AAPT Problem could that be the problem,
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 06:42 AM (10 years ago)
oh ps i am using android api, but i do have both, so tried android and google api, from 2.2 upto 19
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 06:58 AM (10 years ago)
Well, if it's a BTv3 project, anything lower than 14 might not work... so keep it 'up' in that range or higher... and yes, Android not Google, but you already have that in mind so... The XML error needs to go. First. I've found odd XML errors can affect the whole project. XML errors in eclipse can be an odd thing, because they 'tie' into the accompanying Java file... you might need to either fix it, or toss it (temporarily) until you can nail down the issue. Open up the 'sps_recommend.xml' and see what might be giving it an error. There have been times when I would open up an XML file to find it totally blank. If this is the case, the download a 'self hosted version' of the errant plugin, unzip it, and 'steal' the XML file out of it to replace the one in your package. If you can't find one, 'borrow' (copy) the XML from the blank plugin and paste it in your blank file in the interim. Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 06:59 AM (10 years ago)
before adding google play i have 118 errors, after adding and linking play i get 346 errors, and there all in the SRC and LIB folders. heres some of the errors, BitmapDescriptorFactory cannot be resolved BT_screen_map line 435 Java Problem CameraUpdate cannot be resolved to a type BT_screen_map.line 521 Java Problem Error parsing XML: no element found sps_recommend.xml line 1 Android AAPTProblem GoogleMap cannot be resolved to a type BT_screen_map line 87 Java Problem
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:19 AM (10 years ago)
the xml error was down to me forgetting that the recommend plugin didnt work on android, so downloaded fresh project withe plugin unchecked, it cleared the xml error and we are now down to 70 errors.
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:19 AM (10 years ago)
thanks smug, can you help with the other errors pretty please dude :)
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:28 AM (10 years ago)
BitmapDescriptorFactory cannot be resolved BT_screen_map line 435 Java Problem CameraUpdate cannot be resolved to a type BT_screen_map line 521 Java Problem CameraUpdateFactory cannot be resolved BT_screen_map line 521 Java Problem ConnectionResult cannot be resolved to a variable BT_screen_map line188 Java Problem GoogleMap cannot be resolved to a type BT_screen_map line 87 Java Problem LatLng cannot be resolved to a type BT_screen_map line 431 Java Problem
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 07:28 AM (10 years ago)
Now that the XML file isn't holding you back, return to the basics, and check out the original suggestions... hopefully one of those will work. If you're still having an issue tomorrow morning (for me) I'll see if I can spare a moment to take a look. If you want, zip up your package and email it to me. If I have time, I'll look. If I don't, I'll keep your secrets with me to my grave. Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:29 AM (10 years ago)
they all seam to be java problems, i reinstalled java x86, shall i try java x64
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 07:32 AM (10 years ago)
I dunno. That's another thing; Windows. All of my development is on a Macintosh. I've 'heard' that x64 is kind of funky, but Mark (GoNorthWest) would be my 'go to' for Eclipse/Windows configurations. I 'work' in windows, but my stuff is a lot of niche market map stuff for a different device... I don't develop mobile on windows; only Desktop (VC++) and for Garmin GPS devices using proprietary software. And all that is 32 bit, so I have 32 bit copies of Win7, not x64. Sorry! Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:33 AM (10 years ago)
i will carry on trying dude, but i would like to send you the file for you to check if you can spare the time,inbox me and i will send you the file thanks, realy appreciate this, thanks for advice dude. sean
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:36 AM (10 years ago)
i did try it on my mac, but i got the same errors, which is why i think its the package not eclipse, but if you can load it, without error, least i then know its my setup, so i can start from scratch. cheers sean
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/15/14 07:38 AM (10 years ago)
I'm happy to try and compile your project on my mac on Monday if you'd like Sean, just send me a link to download the zip. Cheers, Alan
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 07:57 AM (10 years ago)
cheers alan, ive sent it to smug, he,s sorted out my probs before, if the smuggster cant point me in the right direction, then I might as well give it all up and follow my dream of being a dancer lol :) Thanks for the offer though dude.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
06/15/14 08:03 AM (10 years ago)
No worries Sean, the offer stands if you need it.
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 08:33 AM (10 years ago)
thanks dude, appreciate the advice and help :)
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 08:38 AM (10 years ago)
Well... I figured I'd do a quick import to see if anything jumped out at me, before I went to bed. I imported the project, I added the Google Play Services, and I get no errors. Not from the package you linked. So.... Your version of Google Play Services needs an update? (via the Android SDK Manager) Your Eclipse/ADT install? Not sure... but it's not your project. https://dl.dropboxusercontent.com/u/115208762/uktheater1.png Cheers! -- Smug Edit: You'll probably want to take a look at your splash screen later; I saw in the logs you were using one, but on the screen, well, it was just blank. But I tapped the screen and things proceeded, so no biggie; but users won't have a log, so you'll want to check it out once things are humming again. And the menus need some adjustment. Again, these are things you would notice if your system was running correctly... But it just reaffirms the issues aren't with the project. https://dl.dropboxusercontent.com/u/115208762/UKT2.png
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 08:43 AM (10 years ago)
yes your right smug, after i removed the x86 java and eclipse and replaced them with x64, loaded the app linked it and no errors, so you where right about the xml file, thats what fixed it, and that was my error, not checking plugins. thanks dude your legend, i can now relax :) sean
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
06/15/14 08:47 AM (10 years ago)
Cool. One less thing to keep my mind scrambled as I try to get to sleep. Hasta la later. :) Cheers! -- Smug
 
FunkyMonkey
Aspiring developer
Profile
Posts: 1177
Reg: Aug 07, 2013
blackpool
14,570
like
06/15/14 09:00 AM (10 years ago)
mucho smug, thanks for your help dude Sean
 

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.