Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
07/16/13 08:54 AM (12 years ago)

Scringo Makes Android App Stop From Launching!

Has anyone got Scringo working for Android? Since I added Scringo to my Android app, it no longer launches. I followed the video tutorial provided by Ian, but it hasn't worked for me. I've been through the guide a good 6/7 times and I just cannot put my figure on it, I cannot figure out what I'm missing. Can anyone help?
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
07/16/13 02:35 PM (12 years ago)
Hey @Dragon007, Yeah I got it working on Android. Edit: Any errors or anything? What logcat saying? LA
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
07/16/13 03:21 PM (12 years ago)
Had this problem also. Check out this post as it may help you https://www.buzztouch.com/forum/thread.php?tid=A479258B148DB6D4FC12A93
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/17/13 02:09 AM (12 years ago)
Sorry for late reply LA, time difference doesn't help. I have pasted my Log Cat below, but it makes no sense to me: 07-16 16:45:27.535: E/AndroidRuntime(496): FATAL EXCEPTION: main 07-16 16:45:27.535: E/AndroidRuntime(496): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mysoundtapesand/com.mysoundtapesand.BT_activity_root_tabs}: java.lang.NullPointerException 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1815) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1831) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.ActivityThread.access$500(ActivityThread.java:122) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1024) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.os.Handler.dispatchMessage(Handler.java:99) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.os.Looper.loop(Looper.java:132) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.ActivityThread.main(ActivityThread.java:4123) 07-16 16:45:27.535: E/AndroidRuntime(496): at java.lang.reflect.Method.invokeNative(Native Method) 07-16 16:45:27.535: E/AndroidRuntime(496): at java.lang.reflect.Method.invoke(Method.java:491) 07-16 16:45:27.535: E/AndroidRuntime(496): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) 07-16 16:45:27.535: E/AndroidRuntime(496): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) 07-16 16:45:27.535: E/AndroidRuntime(496): at dalvik.system.NativeStart.main(Native Method) 07-16 16:45:27.535: E/AndroidRuntime(496): Caused by: java.lang.NullPointerException 07-16 16:45:27.535: E/AndroidRuntime(496): at com.scringo.panel.ScringoPanel.init(ScringoPanel.java:131) 07-16 16:45:27.535: E/AndroidRuntime(496): at com.scringo.panel.ScringoPanel.<init>(ScringoPanel.java:105) 07-16 16:45:27.535: E/AndroidRuntime(496): at com.scringo.Scringo.init(Scringo.java:78) 07-16 16:45:27.535: E/AndroidRuntime(496): at com.mysoundtapesand.BT_activity_root_tabs.onCreate(BT_activity_root_tabs.java:100) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.Activity.performCreate(Activity.java:4397) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1048) 07-16 16:45:27.535: E/AndroidRuntime(496): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1779) 07-16 16:45:27.535: E/AndroidRuntime(496): ... 11 more 07-16 16:45:28.774: D/dalvikvm(496): GC_CONCURRENT freed 313K, 6% free 8424K/8903K, paused 4ms+3ms
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/17/13 02:50 AM (12 years ago)
Right, I am still getting a Force Close on my Android app, but whats strange is I'm no longer getting any LogCat. Cannot figure this out, becoming very frustrating. HELP!
 
Ofer
Android Fan
Profile
Posts: 54
Reg: Apr 06, 2013
Tel Aviv
540
like
07/17/13 04:30 AM (12 years ago)
Looks to me there's something wrong with the ScringoResources library project... Did you see this: http://stackoverflow.com/questions/16596969/libraries-do-not-get-added-to-apk-anymore-after-upgrade-to-adt-22 If that's not the case, please tell me what version of Scringo you're using so I can take a look at the code that's corresponding with the logcat you sent. In any case, you can send me data to [email protected] as well. Ofer
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/17/13 04:37 AM (12 years ago)
I'm using the latest version which is 2.2.2 The video tutorial by Ian shows version 2.1.?
 
Ofer
Android Fan
Profile
Posts: 54
Reg: Apr 06, 2013
Tel Aviv
540
like
07/17/13 04:43 AM (12 years ago)
So this is indeed a ScringoResources issue. Did you follow the instructions in https://dev.scringo.com/resources.php?resource=Getting%20Started&sub=Android#Add+the+Scringo+SDK+to+your+project regarding the ScringoResources? Is your project dependent on it in the properties screen? Did you check the checkbox described here: http://stackoverflow.com/questions/16596969/libraries-do-not-get-added-to-apk-anymore-after-upgrade-to-adt-22 Did you "clean"? Ofer
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/17/13 04:59 AM (12 years ago)
Hi Ofer I'm not very good with Android, in fact I'm rubbish and find Android difficult to work with unlike iOS. I have been through the video tutorial, I read the Stack Over Flow page, checked the necessary boxes or box in the Build Path config, but no joy; I have no idea how to get it working.
 
Ofer
Android Fan
Profile
Posts: 54
Reg: Apr 06, 2013
Tel Aviv
540
like
07/17/13 05:02 AM (12 years ago)
Send over the project to [email protected], I'll take a look
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/17/13 05:07 AM (12 years ago)
Thanks, I'll do that now.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
07/17/13 08:28 AM (12 years ago)
Let me know if you need additional help @Dragon007. LA
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
07/19/13 10:56 AM (12 years ago)
I've given up now, can't get Scringo to work, what's really annoyning is that the app has been tested by Scringo and they say it works. Just don't understand, I don't thinking will ever enjoy building apps for Android devices.
 
LA
Aspiring developer
Profile
Posts: 3280
Reg: Aug 16, 2012
Jerseyville, IL
42,900
like
07/19/13 12:01 PM (12 years ago)
Dragon007, If you want, you can send over your package and I'll give a try? LA
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
07/19/13 12:39 PM (12 years ago)
Don't give up bud. I have found myself in the same position many times and sometimes taking weeks to figure something out but it works out in the end with the help on here. Stick with 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.