custom android.app.Application not firing onCreate event

前端 未结 6 590
粉色の甜心
粉色の甜心 2021-01-01 09:31

I\'m deriving a custom application from android.app.Application and I can\'t get its onCreate event being fired. Here\'s the implementation

import android.ap         


        
6条回答
  •  天命终不由人
    2021-01-01 10:14

    As Balaji Mentioned if your still facing issue even after mentioning class name under application tag

     
    

    Then try this:

    Try and disabling Instant Run and then clean project and Rebuild it and then run again. It worked for me. Thanks.

提交回复
热议问题