Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps crash with android Jelly Been #2

Open
geo113 opened this issue Jan 4, 2014 · 5 comments
Open

Apps crash with android Jelly Been #2

geo113 opened this issue Jan 4, 2014 · 5 comments

Comments

@geo113
Copy link

geo113 commented Jan 4, 2014

Hello !
App crash with android JellyBeen,
After onReceiveAd(), app return "
01-04 17:30:20.000: A/libc(4488): Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 4488 (.cosmix.grawler)"

the problem is caused by an hardware acceleration issue, which can be solved turning hardwareAccelerated to false into AndroidManifest,
but doing this the app graphics quality highly decrease,

is there any solution, like only target the admob plugin hardware acceleration ?
trying to doing it into AndroidManifest activity doesn't work.

Regards,

@aliokan
Copy link
Owner

aliokan commented Feb 7, 2014

I have no device with Jelly Bean for tested, but with Froyo, Gingerbread and KitKat I have problem.
have you still the problem?

@rickgbw
Copy link

rickgbw commented Mar 18, 2014

+1
Same issue here. It looks that the crash is associated with "text ads". When is a "image ad", it not crash.

@rickgbw
Copy link

rickgbw commented Mar 19, 2014

The best solution that I found, is:

  • Remove all "android:hardwareAccelerated" from AndroidManifest.xml
  • Insert this code on main java (onCreate):

if(android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.JELLY_BEAN) {
getWindow().setFlags(
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
}

@geo113
Copy link
Author

geo113 commented May 16, 2014

@aliokan : Yes it always append in the same conditions
@rickgbw : Thanks, I confirm that this solution works perfectly !

@VVelda
Copy link

VVelda commented Jun 24, 2014

There are not should be problem with earlier Android version than Jelly Bean, so it is probably only Jellby Bean problem and this == is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants