Error installing application on mobile

Asked

Viewed 789 times

0

Estou recebendo este erro ao tentar instalar no meu celular a aplicação, e nao estou conseguindo encontrar o erro dentro do manifesto.

I am getting this error while trying to install the application on my mobile phone, and I am not able to find the error inside the manifest.

  • 1

    Do not use images to show your code, copy the code and paste using the site tools to better help you.

  • 1

    If you read your error right, you are saying you have an error in line 32 of XML. "<Activity> does not have a valid android:name".

  • 2

    I’m just going to make a few observations on the structure of your project: preferably put the package names always in lowercase (activitys). The domain is always backwards (br.com.aulasfirebasee.myapplication). You can make this package structure (referring to the domain) your main structure and put all the classes inside it. From there, you can create other packages and separate their classes there. More information: https://www.oracle.com/technetwork/javase/documentation/codeconventions-135099.html#367

  • Thank you very much.

2 answers

1


This problem is quite recurrent. This always happens when there is a version of the app installed on the phone that differs from being debugged and I believe that, in your case, may be the name of the app. What should be done is to uninstall the app that is on mobile and clean the project data in Android Studio, going to Menu Superio > Build > Clean Project. Always works for me, in the last case, restart your phone and Android Studio, if not solve, the problem should be in your project.

0

In windows, you need to install the specific drive of your mobile device so that it is recognized properly.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.