-5

I am trying to adapt an opensource android app to my own project, and I need to remove the android ads. I've tried to remove them but I don't know how and I always get errors here and there. Is there any easy way to do it?

Thanks.

user2182013
  • 19
  • 1
  • 1
  • 3

1 Answers1

0

Try it....

http://stackoverflow.com/questions/4549401/correctly-disable-admob-ads
http://stackoverflow.com/questions/13323097/in-app-purchase-remove-ads

please check above links it will help you.

Remove below code from your application

AdView adView = (AdView) this.findViewById(R.id.adView);
adView.loadAd(new AdRequest());

<xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
   android:id="@+id/adView"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent"
   ads:adSize="BANNER"
   ads:adUnitId="a1513ffd4f3e17c" />
Chirag Pipaliya
  • 1,281
  • 12
  • 20