title: Error while generating signed APK in Android
body: <p>I have implemented an Android app all functionalities are working fine. But while I am trying to sign the APK:</p>
  
  <p>It shows error like this:</p>
  
  <blockquote>
    <p>"Error:This fragment inner class should be static (MyFragment) [ValidFragment]"</p>
  </blockquote>
  
  <p>I can't make this inner class as static because I have to access methods and variables from non-static also.</p>