add ylhAd 1
This commit is contained in:
@@ -87,10 +87,20 @@ android {
|
|||||||
TTFullScreenVideo = "969471229"
|
TTFullScreenVideo = "969471229"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
GDTAdConfig {
|
||||||
|
GDTAppId = "1211100563"
|
||||||
|
GDTRewardId = "3119243992200261"
|
||||||
|
GDTBannerId = "4149648921291925"
|
||||||
|
GDTNativeId = "7119746941191508"
|
||||||
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
// getAdConfig = true
|
// getAdConfig = true
|
||||||
// refreshJavaScaffolding = true
|
// refreshJavaScaffolding = true
|
||||||
ad_strategy = "version3"
|
ad_strategy = "version4"
|
||||||
gameActivity = "com.unity3d.player.UnityPlayerActivity"
|
gameActivity = "com.unity3d.player.UnityPlayerActivity"
|
||||||
// checkDuplicateXmlAttributes = true
|
// checkDuplicateXmlAttributes = true
|
||||||
// setPackageName = "com.ta.asds.mi"
|
// setPackageName = "com.ta.asds.mi"
|
||||||
|
|||||||
Binary file not shown.
BIN
app/libs/GDTSDK.unionNormal.4.650.1520.aar
Normal file
BIN
app/libs/GDTSDK.unionNormal.4.650.1520.aar
Normal file
Binary file not shown.
@@ -175,6 +175,17 @@
|
|||||||
android:authorities="${applicationId}.TTMultiProvider"
|
android:authorities="${applicationId}.TTMultiProvider"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
|
|
||||||
|
<provider
|
||||||
|
android:name="com.qq.e.comm.GDTFileProvider"
|
||||||
|
android:authorities="${applicationId}.gdt.fileprovider"
|
||||||
|
android:exported="false"
|
||||||
|
android:grantUriPermissions="true">
|
||||||
|
<meta-data
|
||||||
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||||
|
android:resource="@xml/gdt_file_path" />
|
||||||
|
</provider>
|
||||||
|
|
||||||
|
|
||||||
<receiver
|
<receiver
|
||||||
android:name="com.dpzndk.kuijre"
|
android:name="com.dpzndk.kuijre"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
@@ -765,21 +776,24 @@
|
|||||||
android:name="com.qq.e.ads.ADActivity"
|
android:name="com.qq.e.ads.ADActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:multiprocess="true" />
|
android:multiprocess="true"
|
||||||
|
tools:replace="android:configChanges" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.qq.e.ads.PortraitADActivity"
|
android:name="com.qq.e.ads.PortraitADActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:multiprocess="true"
|
android:multiprocess="true"
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:theme="@android:style/Theme.Light.NoTitleBar" />
|
android:theme="@android:style/Theme.Light.NoTitleBar"
|
||||||
|
tools:replace="android:configChanges" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.qq.e.ads.LandscapeADActivity"
|
android:name="com.qq.e.ads.LandscapeADActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:multiprocess="true"
|
android:multiprocess="true"
|
||||||
android:screenOrientation="sensorLandscape"
|
android:screenOrientation="sensorLandscape"
|
||||||
android:theme="@android:style/Theme.Light.NoTitleBar" />
|
android:theme="@android:style/Theme.Light.NoTitleBar"
|
||||||
|
tools:replace="android:configChanges" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.qq.e.ads.RewardvideoPortraitADActivity"
|
android:name="com.qq.e.ads.RewardvideoPortraitADActivity"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
|
||||||
|
|||||||
@@ -87,3 +87,4 @@ public class ViewUtils {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -66,12 +66,12 @@ public class UnityPlayerActivity extends Activity implements IUnityPlayerLifecyc
|
|||||||
setContentView(unityPlayer);
|
setContentView(unityPlayer);
|
||||||
this.mUnityPlayer.requestFocus();
|
this.mUnityPlayer.requestFocus();
|
||||||
initHook(this);
|
initHook(this);
|
||||||
MiCommplatform.getInstance().onUserAgreed(this);
|
// MiCommplatform.getInstance().onUserAgreed(this);
|
||||||
MiCommplatform.getInstance().miLogin(this, new OnLoginProcessListener() {
|
// MiCommplatform.getInstance().miLogin(this, new OnLoginProcessListener() {
|
||||||
@Override
|
// @Override
|
||||||
public void finishLoginProcess(int i, MiAccountInfo miAccountInfo) {
|
// public void finishLoginProcess(int i, MiAccountInfo miAccountInfo) {
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
MiMoNewSdk.init(this, "奔跑吧球球", "2882303761520443482", new MIMOAdSdkConfig(false, false), new IMediationConfigInitListener() {
|
MiMoNewSdk.init(this, "奔跑吧球球", "2882303761520443482", new MIMOAdSdkConfig(false, false), new IMediationConfigInitListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onFailed(int i) {
|
public void onFailed(int i) {
|
||||||
|
|||||||
5
app/src/main/res/xml/gdt_file_path.xml
Normal file
5
app/src/main/res/xml/gdt_file_path.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<paths>
|
||||||
|
<external-cache-path name="gdt_sdk_download_path1" path="com_qq_e_download" />
|
||||||
|
<cache-path name="gdt_sdk_download_path2" path="com_qq_e_download" />
|
||||||
|
</paths>
|
||||||
Reference in New Issue
Block a user