如何删除或从项目
答
去etc/hosts或\ Windows \ System32下\驱动程序\等\主机和进入以下行:
127.0.0.1 google.analytics // redirect link to local host
127.0.0.1 shop.arian-it.ir // for your site
为每个不想要的站点添加一行。
+0
如何从项目startapp ads删除或禁用startapp广告sdk –
答
您的项目中有StartAppInApp-3.5.6.jar
,可能会有不同的版本。在你的项目中找到它并将其删除。这个jar文件可能在你项目的libs文件夹中。
当你删除你的jar,你会发现你的项目中有很多错误。删除错误的行,其中一些在下面。
public StartAppAd startAppAd;
StartAppSDK.init(HomeScreen.this, "204893117", true);
startAppAd = new StartAppAd(HomeScreen.this);
startAppAd.loadAd(new AdEventListener() {
@Override
public void onReceiveAd(Ad arg0) {
startAppAd.showAd();
}
@Override
public void onFailedToReceiveAd(Ad arg0) {
// TODO Auto-generated method stub
}
});
并从AndoridMainifest.xml
<activity android:name="com.startapp.android.publish.list3d.List3DActivity"
android:screenOrientation="portrait"
android:theme="@android:style/Theme" />
<activity android:name="com.startapp.android.publish.OverlayActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Translucent" />
<activity android:name="com.startapp.android.publish.FullScreenActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:screenOrientation="portrait"
android:theme="@android:style/Theme" />
这些活动条目请具体你问的问题,并指定相关的事情。 –