[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| [andmore-dev] Bug 525493 - Projects containing aar libraries	currently fail with robolectric 3.2.1 | 
I have side stepped the SWT issue by creating 2 plugin 
replacements for ddmuilib.jar and uiautomatorviewer.jar
I have also forked the Andmore project which 
I updated to the latest version of the ADT library 
dependencies.
The Andmore build now proceeds to compiling the 
android-core andmore module. This fails because a change in the manifest merge 
design.
I get error "The import 
com.android.manifmerger.ManifestMerger cannot be resolved". 
I understand that AndroidBuilder's mergeManifests() 
method should now be used for merging manifests. 
You can see from the following declaration, 
that wrapping one's brain around it will not be easy, but I will 
proceed with researching it anyway:
 
    public void 
mergeManifests(
            
@NonNull File 
mainManifest,
            
@NonNull List<File> 
manifestOverlays,
            
@NonNull List<? extends ManifestDependency> 
libraries,
            
String 
packageOverride,
            
int 
versionCode,
            
String 
versionName,
            
@Nullable String 
minSdkVersion,
            
@Nullable String 
targetSdkVersion,
            
@Nullable Integer 
maxSdkVersion,
            
@NonNull String 
outManifestLocation,
            
@Nullable String 
outAaptSafeManifestLocation,
            
ManifestMerger2.MergeType 
mergeType,
            
Map<String, String> 
placeHolders,
            
@Nullable File reportFile) {
We would need to fork the sdkuilib and build the necessary hooks 
and updates.  Unfortunately, since Android Tooling project has migrated all 
their existing functionality away from SWT, somebody from the community would 
need to build the needed functionality or work with the Android SDK folks to 
give us directions on how to proceed.