Skip to content Skip to sidebar Skip to footer

Error In Xml Parsing

i built a code that switch from one activity to another. when run this code it prints following errors. Error in an XML file: aborting build. and Installation error: INSTALL_PARSE

Solution 1:

I you just want to go from one activity to another, then you dont need to give the sharedUserID. Its used in cases where you have two different applications that are signed with same certificate and you want to share data between them or you want them to run in the same process.

If you remove it, it should solve your problem.

For information about sharedUserID: http://developer.android.com/guide/topics/manifest/manifest-element.html#uid

Solution 2:

This may be due to your sharedUserId value being of a non-permitted value. It has to have the same format as the package structure (e.g. com.android).

Post a Comment for "Error In Xml Parsing"