也就是這幾行 <activity android:configChanges="keyboardHidden|orientation|screenSize" android:label="@string/app_name" android:name="com.adsmogo.adview.AdsMogoWebView"/>
<service android:exported="true" android:name="com.adsmogo.controller.service.UpdateService" android:process=":remote"/>
<service android:exported="true" android:name="com.adsmogo.controller.service.CountService" android:process=":remote"/>
<activity android:configChanges="keyboard|keyboardHidden|orientation" android:name="com.baidu.mobads.AppActivity"/>
<service android:exported="false" android:name="com.qq.e.comm.DownloadService"/>
<activity android:configChanges="keyboard|keyboardHidden|orientation" android:name="com.qq.e.ads.AdActivity" android:theme="@android:style/Theme.Translucent"/>
刪除了就沒有廣告了。但是會留下壹個空白!然後去除空白就是將\res\layout目錄下面layout_videos_item_ad.xml這個布局文件<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="0.0dip"android:layout_marginTop="9.0dip"
xmlns:android="/apk/res/android" />高度改成0.0dip就行了。廣告就已經去除了。但是去除後發現,運行壹段時間會閃退。分析了壹下簽名沒有問題。應該是聯網校驗的問題,這個就有點復雜了,妳可以用hook過了簽名校驗就不閃退了。或者,保留原版簽名,用幸運破解器破解使用試試。