Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [Android] [Tier2] AdMob AndroidManifest issue - crashes app at runtime

Author
Message
KUICS
11
Years of Service
User Offline
Joined: 1st Aug 2012
Location: Australia
Posted: 8th Mar 2013 06:41
Hey all
I'm having an issue with AdMob in Tier2.
Basically the app compiles fine but when I go to run the app on a device, it crashes almost immediately and LogCat outputs the following error:
http://pastebin.com/1H8AXsuX

I'm using Ancient Lady's v1088 Android Template with all of the "fixes" in place.
These issues seem like they are easy fixes but I really have no idea where to start since I'm an android novice.

Thanks for any help
- KUICS

www.kuics.com - KUICS Australia PTY LTD
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 11th Mar 2013 18:58
It says the line in the manifest for the AdActivity should look like this



You will need to compile against API 13 or above for this to compile, but you can still target API 9 for backwards compatibility.
KUICS
11
Years of Service
User Offline
Joined: 1st Aug 2012
Location: Australia
Posted: 14th Mar 2013 16:47
Thanks for your reply!
I changed the line in AndroidManifest.xml to that and compiled with API 13.
The compile went fine, however I am still getting the program crash -- this time without an error message:
"03-15 01:44:06.778: A/libc(23166): Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1)"

If I comment out all the Ad-related functions it runs fine.
If you would like the full LogCat list I put it in a pastebin here:
http://pastebin.com/0uzzTuzA

Again, any help is more than appreciated.

www.kuics.com - KUICS Australia PTY LTD
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 19th Mar 2013 14:30
It looks like it can't find a library. Do you have the GoogleAdMobAdsSdk-6.1.0.jar file in the libs folder of your project?
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 19th Mar 2013 15:14
The v1088 template from the AppGameKit Wiki Templates page does have the Google jar. But it doesn't have some armeabi and armeabi-v7a libraries due to size considerations. Those are separate downloads from the Wiki page.

KUICS, did you get the two downloads with the jni_armeabi in the names?

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master

Login to post a reply

Server time is: 2024-05-07 21:05:41
Your offset time is: 2024-05-07 21:05:41