[Android Software Development] FrankWins:
@DexRemove android packages

Bump - [MENTION=4141005]Lanchon[/MENTION] any ideas?

As a follow on to my previous post, I am actually still having some problems with the tool. As some comments in the project allude to, you should be able to use the package annotations to remove a package that you intent on upgrading

When I try to do a drop in replacement of com.google.android.gms I am getting errors.

in patch/java/com/google/android/gms I have put package-info.java with the following:

@DexRemove(target = "com.google.android.gms", recursive = true)
package com.google.android.gms;

import lanchon.dexpatcher.annotation.*;

In my build.gradle, I have:

compile ('com.google.android.gms:play-services-auth:11.8.0'){
//exclude group: 'com.google.android.gms', module: 'play-services-base'
}

And I get the following error:

:patched:processDebugManifest
AGPBI: {"kind":"error","text":"Attribute \"imageAspectRatioAdjust\" already defined with incompatible format.","sources":[{"file":"/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml","position":{"startLine":647}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Original attribute defined here.","sources":[{"file":"/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml","position":{"startLine":257}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Attribute \"buttonSize\" already defined with incompatible format.","sources":[{"file":"/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml","position":{"startLine":655}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Original attribute defined here.","sources":[{"file":"/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml","position":{"startLine":74}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Attribute \"colorScheme\" already defined with incompatible format.","sources":[{"file":"/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml","position":{"startLine":662}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"Original attribute defined here.","sources":[{"file":"/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml","position":{"startLine":143}}],"original":"","tool":"AAPT"}
/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml:648: error: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml:258: Original attribute defined here.
/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml:656: error: Attribute "buttonSize" already defined with incompatible format.
/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml:75: Original attribute defined here.
/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml:663: error: Attribute "colorScheme" already defined with incompatible format.
/home/dexpatcher8Bit/patched-app/patched/build/intermediates/res/merged/debug/values/values.xml:144: Original attribute defined here.

Am I doing something wrong? I am unsure how to resolve this problem. I read elsewhere in this thread that perhaps I could remove the resources from the original source file, but I don't quite know how to do that short of decompiling the apk, removing resources, and recompiling the apk. Is that what I should consider doing?

Thanks