Discussion Forums  >  Crashes, Memory Warnings

Replies: 23    Views: 280

Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
06/01/13 07:37 AM (10 years ago)

scringo crashing app

i followed the tutorial to add scringo and exported apk but when i open app it just shows black screen for a few seconds then closes giving message app has stopped. almost ready to give up, please help. thanks
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/01/13 08:12 AM (10 years ago)
hi, can you debug with log cat from the device? send me your project if u like [email protected]
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/01/13 08:30 AM (10 years ago)
Hi Ian. Thanks. Been setting up the ADT and trying to get scringo into an app for around 8 hours now. The machine I set it up on does not have the drivers for my phone and for some odd reason it won't fire up an emulator. Going to go back to my old machine which was giving me problems also and start all over again. Might have to wait till tomorrow now as time is marching on and I got other stuff to do. Will contact you once I get it all fixed out and get logcat for you. Cheers
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/01/13 09:07 AM (10 years ago)
ok. keep us posted!
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
06/01/13 09:56 AM (10 years ago)
Hi Alan, Would like to know whats causing the app crash. If you need any help setting scringo in your app, just tell me. All the best for setting the eclipse properly.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/01/13 10:00 AM (10 years ago)
Here is GoNorthwest's channel for Eclipse installation if u need to reinstall https://www.youtube.com/user/GoNorthWest/videos?view=0&flow=grid
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/01/13 10:02 AM (10 years ago)
Hi Sandeep. Thanks buddy. I followed @GoNorthwests tutorial to set up the eclipse and then followed @Ian's video for scringo to the letter. Don't know what's wrong but it won't beat me. I could sure use extra assistance in setting up radar code etc so will contact you when I get that far. Thanks for assistance
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
06/01/13 10:42 AM (10 years ago)
Setting up radar does not require any additional coding but it requires Google Maps API key version1 for bt apps. The current version 2 does not work with bt apps and so you cannot use radar feature. But if you have old v1 api keys for maps then you need to put the key values in the scringo.properties. Thats it.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/01/13 10:58 AM (10 years ago)
The Maps Api v2 does work with the Scringo Radar but like Sandeep said not for your Maps in the Buzztouch screens. yet!
 
Annonymous
Profile
06/01/13 11:29 AM (10 years ago)
Great thanks I have maps key for BT apps. Got it when I first joined over 1 year ago so all seems good to go then. Just need to get scringo working then lol
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/01/13 11:52 AM (10 years ago)
That's weird. I made that post above but it doesn't show my name
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/01/13 06:55 PM (10 years ago)
ok i got eclipse set up on other machine, added scringo code and same result, got logcat working but cant select any more than one line, how do i select and copy it all???
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
06/01/13 07:29 PM (10 years ago)
You can click on the output line in LogCat and click [ctrl]+[c] like normal then a normal paste by clicking [ctrl]+[v] into whatever you want. You can use shift and click to select multiple lines.
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/01/13 07:33 PM (10 years ago)
any chance you're getting an error like this? java.lang.NoClassDefFoundError:
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/01/13 07:37 PM (10 years ago)
It was something along the lines of "scringo.init class not found in method" but I just remembered that I never added jars to build path so will try again later. Its 3.30am here and I need to get sleep to clear the head. Will crack it tomorrow with your help (hopefully) thanks for help. Much appreciated. I got a few ideas for scringo apps
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/02/13 02:30 AM (10 years ago)
@Ian. Yes that error you stated above appears in log cat. Any chance you know how to fix it? Cheers
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/02/13 09:11 AM (10 years ago)
Under File-->Properties-->Java Build Path-> Order and Export. Make sure Android Private Libraries is checked like in the attached image. https://dl.dropboxusercontent.com/u/39276137/AndroidPrivateLibraries.png cheers to u!
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/02/13 09:30 AM (10 years ago)
Awesome. Will try it out when I get home. I will let you know. Thanks so much for help !!!
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
06/02/13 09:55 AM (10 years ago)
no problem!
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/02/13 10:51 PM (10 years ago)
That fixed it :-) thanks for the help. Now to get Facebook and twitter working with it.
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/08/13 12:39 AM (10 years ago)
hello again. i got scringo working and i am now trying to get the facebook hash keys, using a windows machin but having trouble using the keytool command. it just keeps telling me its not recognised as internal or external command. any help would be great thanks
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/08/13 12:57 AM (10 years ago)
also when i created a maps key a while back i dont remember adding any package names to get it so will this mean it wont work? and do i have to download the screen map plugin source code for radar to work? thanks
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/13/13 12:24 PM (10 years ago)
I am trying to add Scringo to an existing Andriod I have in Google Play. I have carefully followed Ian's video, but every time I add the Scringo Manifest to my app's Android Manifest xml I get an error on each one of activity lines that I add. The error I get says: error: Error: String types not allowed (at 'configChanges' with value 'orientation|keyboardHidden| screenSize'). I am not sure where I made a mistake. Any help would be appreciated.
 
bfoutty
Code is Art
Profile
Posts: 185
Reg: Jun 12, 2011
Youngstown, OH
12,650
like
07/20/13 09:20 AM (10 years ago)
Ian, I noticed that I did not have the private libraries in my java build path as shown here: https://dl.dropboxusercontent.com/u/17037926/java_build_path.png Any ideas as to how i get it?
 

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.