Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
05/13/14 02:27 AM (10 years ago)

App force closing after adding goodle play service

hi friend i'm developing android apps here. my source code is latest one from bt. and i am using API 17 as build target. i am trying to add google play service lib in my app project as reference lib as shown in this tutorial from smug http://www.buzztouch.com/forum/thread.php?tid=F87D29BA17032DE4EF7DBDE&command=isSearching&currentPage=1&topicTitle=play%20service&createdBy=&repliedBy=&minViews=-1&maxViews=-1&minReplies=-1&maxReplies=-1&forumCategory= 1) i can not find any "google-play-services-remove.jar" file inside my project's lib directory while adding google play service as reference lib in my apps. 2) In my app i am using custom html and custom url plugins. after adding g play service as per tutorial above from smug when i exporting apk and install it and ruining apk in my device but app is just FORCE CLOSING everytime when clicking on that main menu items which are custom html and custom url.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 05:41 AM (10 years ago)
Run it on your phone without exporting apk.same way as using the simulator but choose your device instead of simulator.then tell us what shows on the logcat
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 05:48 AM (10 years ago)
Also add android:targetSdkVersion="17" Under android:minSdkVersion="14" in the manifest.screenshot where you chose target.
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 08:01 AM (10 years ago)
still force close. i did as you said. :/
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 08:17 AM (10 years ago)
Screenshot where you said ypu chose target.I think you mean ssomething else.you mean where you check next to which api or android version to use.if so thats the min sdk not the target.list the steps you take before exporting apk. What did the logcat say?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 08:19 AM (10 years ago)
Also you need to take the btu course,watch the videos so you'll understand more of how to do things.on your account they will be to the left
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 08:41 AM (10 years ago)
nothing on logcat bcz app project have no errors at all. but still app force closing which is really big trouble for me. i already finished tutorial from anther account which i deleted long time before. buddy i did everything whatever shown in that tutorial by smug. if you still have doubt pls have team viewer conversation with me. i already mailed you my team viewers details. it's request please. i need help. please help me :/ :/ :/ :/
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/13/14 01:10 PM (10 years ago)
It will have somwthing on logxat even if there are no errors showing in the code.it will show an,error once the app crashes.take the classes or you wont understand anything.I will still help if needed.everyones not always going to be able tl help you so you need to learn alot on your own.im juat a community member just like you
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/13/14 02:30 PM (10 years ago)
Make sure you're viewing the 'log cat', not the 'console'. Chris is right; whether it is working or not, it records what is going on. If you're having a problem, somewhere it's telling you what. Cheers! -- Smug
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 07:48 PM (10 years ago)
Smug i've followed exactly whatever shown in your tutorial and trust me it's not working for me. i think error at adding g play service lib because in your tutorial it showing after adding g play service lib in your project as reference lib it will show googleplayserviceremove.jar inside lib dir of our project but here i get nothing in project's lib after adding g play services lib. i think that's what the problem. do you have any idea why it's happening? please help me buddy
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 07:51 PM (10 years ago)
CMcoffee i can understand buddy.but still i would like to say thanks a lot to you. you helped me a lot. and ya now i got you. ok let me try to run in emulator and soon i will show you here what logcat says when app crash. but as i said to smug in above comment adding g play service lib in project is issue. may be you can help with me it.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/13/14 09:11 PM (10 years ago)
Well, if there is no 'googleplayserviceremove.jar' to remove, then you can forget that step ;) There should be a file called 'installation.pdf' that was included in your project download zip file… take a look at it and ensure you haven't missed any of those steps… If you can't find it, download this copy: https://dl.dropboxusercontent.com/u/115208762/instructions-v3-android.pdf And like Chris mentioned, the BT university courses have video instructions on a lot of this stuff… Hope it helps! Cheers! -- Smug
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 09:24 PM (10 years ago)
Dear @CMCOFFEE & @Smug here is log cat of my app while it's running in emulator. NOTE:kindly uncheck on "Use our download manager and get recommended downloads" under download button and then press that download button to download that file. http://www.datafilehost.com/d/dc4400fc
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 09:31 PM (10 years ago)
Dear Smug and CMCOFFEE please have look this screenshot below if you think i forget that step. nothing in project's lib after adding g play service as ref lib. https://fbcdn-sphotos-g-a.akamaihd.net/hphotos-ak-prn2/t31.0-8/s960x960/1243185_1446100205638058_7454154385923079046_o.jpg
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/13/14 09:54 PM (10 years ago)
Don't use the google API… Use the Android API. Google API only applies to a BTv2 project… Yours is a BTv3. Cheers! -- Smug
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/13/14 10:05 PM (10 years ago)
nop it won't helps problem still the same. but thanks for your help.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/13/14 10:28 PM (10 years ago)
Well, it's possible it's not 'the' problem, but it's part of it… What else are you getting? Same log output? By the way, I haven't, and won't be downloading any logs… Try using pastebin so I can see it on the web… Cheers! -- Smug
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/14/14 08:04 AM (10 years ago)
Dear smug please contact me on my inbox and solve my issue by team viewer. i'm sure it will not take your much time. please sir. i'm stuck on the problem from last 4-5 days and feeling like prisoner. please help me. :/
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/14/14 08:24 AM (10 years ago)
He also added admob to layout.the problem I think
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/14/14 11:38 AM (10 years ago)
@CMCOFFEE and @Smug i did some require java coding from here to load a google ads in app. https://developers.google.com/mobile-ads-sdk/docs/admob/play-migration and now problem has been solved. thanks all of you
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/14/14 12:43 PM (10 years ago)
Nice congrats!vheck out scringo.com for your app
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/14/14 01:05 PM (10 years ago)
Glad you got it working… All those details :) Nice job. Cheers! -- Smug
 
Prince apps
Aspiring developer
Profile
Posts: 121
Reg: Nov 23, 2012
Mumbai
1,210
like
05/14/14 07:37 PM (10 years ago)
Thanks a lot once again to both of you for your support. :) @CMCOFFEE sure i will try it buddy. if you have it's implementation instruction in bt app please let me know thanks
 

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.