I'm doing an apk which when I run it on my cell phone gives me the following error "Unknow error" but the strangest thing is that if it works normally when I run it from unity, I used the following code to show me what the error was when I executed it on my cell phone because unity works perfectly/Estoy haciendo una apk la cual cuando la ejecuto la en mi celular me da el siguiente error "Unknow error" pero lo mas extraño es que si funciona normal mente cuando la ejecuto desde unity, utilice el siguiente código para que me mostrara cual era el error cuando la ejecutaba en mi celular ya que en unity funciona perfectamente :
if (webRequest.isNetworkError )
{
advertencia.SetActive(true);
advertencia.GetComponent().text=webRequest.error;
}
check if my apk was connected to the internet with the following code that shows a text and if it connects to the internet/revise si mi apk se conectaba a internet con el siguiente código que muestra un texto y si se conecta a internet :
if (Application.internetReachability == NetworkReachability.NotReachable)
{
advertencia.SetActive(true);
Debug.Log("Error. Check internet connection!");
}
I do not know what happens : /, if someone can help me, I would appreciate it very much/no se que pasa : / , si alguien me puede ayudar se lo agradecería mucho
PD: Sorry if this is a bit strange written in English sometimes google translates rare XD and then very rarely you see the questions are solved when asked in Spanish and it is also difficult to find information in this language : /
@Guayavas
↧