I have been trying to incorporate support for Parse Push in my app, following the instructions from this wiki at GitHub. When building for Android, the last stumbling block was this error message in the build log:
Attribute "name" bound to namespace "http://schemas.android.com/apk/res/android" was already specified for element "application".
It turned out that the combination of the build hint
codename1.arg.android.multidex=true
and
codename1.arg.android.xapplication_attr=android\:name\="com.parse4cn1.nativeinterface.CN1AndroidApplication"
caused this problem. With multidex turned on, the application name becomes android.support.multidex.MultiDexApplication
I solved it by setting multidex
to false
, but what if I needed it to be true
?