I wish this help you Well first of all I hope you have made some errors when showing the code. For example I hope the file is actually called AndroidManifest.xml not manifest.java. Also I will really highly recommend you to call your classes camel-cased - such a little effort and it will make your code look better. Now to the point - a problem I can see is that you do not declare a MAIN activity in your application like so:
seems to work fine Your XML should be stored in a file named AndroidManifest.xml, not manifest.java. Another reason your code is not being run, might be that your App is installed on external storage (sdcard). BOOT_COMPLETE is sent to applications before external storage is mounted. So if application is installed to external storage it won't receive BOOT_COMPLETE broadcast message.
automatically run an application on Android phone startup
wish help you to fix your issue I'm new at android studio(i'm a student)so i'm not very familiar so please bear with me, . I trying to do a simple text view and i got some problem when running the app on phone. The app will crash on startup everytime so i tried searching for solutions in the internet. , Issue is here: