title: My Android App bug on load ressource only in production
body: <p>I have a bug in my Android Java application only in production.</p>
  <p>When I publish my application to my phone with Android Studio, all is working fine.</p>
  <p>When I update this application by the Play Store on the same phone, I have this error:</p>
  <pre><code>Process: com.iddeos.planningbuilder, PID: 31989
  android.content.res.Resources$NotFoundException: Resource ID #0x0
  
  </code></pre>
  <p>Bug provides from this line, but I don't understand why</p>
  <pre><code>int iconRessource = getResources().getIdentifier(&quot;drawable/&quot;+menu.getIcon(), &quot;drawable&quot;, getPackageName());
  Drawable image = ContextCompat.getDrawable(getApplicationContext(), iconRessource);
  menuBottomConfig.add(android.view.Menu.NONE, menu.getId(), android.view.Menu.NONE, menu.getTitle()).setIcon(image);
  </code></pre>