You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/06/22 10:17:33 UTC

[GitHub] [cordova-android] kristianheljas edited a comment on issue #513: BuildHelper provokes ClassNotFoundException when applicationid is not same as manifest package name

kristianheljas edited a comment on issue #513: BuildHelper provokes ClassNotFoundException when applicationid is not same as manifest package name
URL: https://github.com/apache/cordova-android/issues/513#issuecomment-504652353
 
 
   @janpio - New PR: https://github.com/apache/cordova-android/pull/751
   
   Issue is that `context.getPackageName()` returns **android** package name which does not have to match **java** package name.
   
   Since `getBuildConfigValue()` tries to load java class `(BuildConfig),` it should use java package name instead using `context.getClass().getPackage().getName()`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org