Android app name not being displayed

前端 未结 13 2243
梦谈多话
梦谈多话 2020-12-29 20:53

My Android app is not displaying the application name \"app_name\", instead its displaying the activity name \"title\". This is from my manifest file;

   <         


        
13条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 21:56

    I have the same problem, solution for me:

    on MainActivity.java change:

    public class MainActivity extends Activity {...}
    

    for

    public class MainActivity extends AppCompatActivity {...}
    

提交回复
热议问题