java to DEX
The game is not verting java to DEX. the problem started after i added this code
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Advertisements;
public class ads : MonoBehaviour
{
private string store_id = "the store id be located here";
private string video_ad = "video";
private string banner_ad = "banner";
void Start()
{
Advertisement.Initialize(store_id,false);
request_banner();
}
public void request_ad()
{
if (Advertisement.IsReady(video_ad))
{
Advertisement.Show();
}
}
void request_banner()
{
if (Advertisement.IsReady(banner_ad))
{
Advertisement.Show();
}
}
}
Comment