jon80
Member
Does this override the default API? Should I remove the additional tools: line?
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:id="@+id/container"
android:layout_width="match_parent" android:layout_height="match_parent"
tools
verrideLibrary="com.google.android.gms"
tools:context=".MainActivity" tools:ignore="MergeRootFrame" />
activity_main.xml
Information:Gradle tasks [:tv:compileDebugSources, :mobile:compileDebugSources, :wear:compileDebugSources, :myapplication:compileDebugSources]
:tv
reBuild
:tv
reDebugBuild
:tv:checkDebugManifest
:tv
reReleaseBuild
:tv
repareComAndroidSupportAppcompatV72103Library
:tv
repareComAndroidSupportLeanbackV172103Library
:tv
repareComAndroidSupportRecyclerviewV72103Library
:tv
repareComAndroidSupportSupportV42103Library
:tv
repareDebugDependencies
:tv:compileDebugAidl
:tv:compileDebugRenderscript
:tv:generateDebugBuildConfig
:tv:generateDebugAssets UP-TO-DATE
:tv:mergeDebugAssets
:tv:generateDebugResValues
:tv:generateDebugResources
:tv:mergeDebugResources
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-mdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:tv
rocessDebugManifest
:tv
rocessDebugResources
:tv:generateDebugSources
:tv:compileDebugJava
:tv:compileDebugNdk
:tv:compileDebugSources
:mobile
reBuild
:mobile
reDebugBuild
:mobile:checkDebugManifest
:mobile
reReleaseBuild
:mobile
repareComAndroidSupportSupportV42100Library UP-TO-DATE
:mobile
repareComGoogleAndroidGmsPlayServices6587Library UP-TO-DATE
:mobile
repareDebugDependencies
:mobile:compileDebugAidl UP-TO-DATE
:mobile:compileDebugRenderscript UP-TO-DATE
:mobile:generateDebugBuildConfig UP-TO-DATE
:mobile:generateDebugAssets UP-TO-DATE
:mobile:mergeDebugAssets UP-TO-DATE
:mobile:generateDebugResValues UP-TO-DATE
:mobile:generateDebugResources UP-TO-DATE
:mobile:mergeDebugResources
:mobile
rocessDebugManifest
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\mobile\src\main\AndroidManifest.xml:0:0 Error:
uses-sdk:minSdkVersion 1 cannot be smaller than version 9 declared in library C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\mobile\build\intermediates\exploded-aar\com.google.android.gms\play-services\6.5.87\AndroidManifest.xml
Suggestion: use tools
verrideLibrary="com.google.android.gms" to force usage
Error:Execution failed for task ':mobile
rocessDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 9 declared in library C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\mobile\build\intermediates\exploded-aar\com.google.android.gms\play-services\6.5.87\AndroidManifest.xml
Suggestion: use tools
verrideLibrary="com.google.android.gms" to force usage
Information:BUILD FAILED
Information:Total time: 58.669 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:id="@+id/container"
android:layout_width="match_parent" android:layout_height="match_parent"
tools
verrideLibrary="com.google.android.gms"tools:context=".MainActivity" tools:ignore="MergeRootFrame" />
activity_main.xml
Information:Gradle tasks [:tv:compileDebugSources, :mobile:compileDebugSources, :wear:compileDebugSources, :myapplication:compileDebugSources]
:tv
reBuild:tv
reDebugBuild:tv:checkDebugManifest
:tv
reReleaseBuild:tv
repareComAndroidSupportAppcompatV72103Library:tv
repareComAndroidSupportLeanbackV172103Library:tv
repareComAndroidSupportRecyclerviewV72103Library:tv
repareComAndroidSupportSupportV42103Library:tv
repareDebugDependencies:tv:compileDebugAidl
:tv:compileDebugRenderscript
:tv:generateDebugBuildConfig
:tv:generateDebugAssets UP-TO-DATE
:tv:mergeDebugAssets
:tv:generateDebugResValues
:tv:generateDebugResources
:tv:mergeDebugResources
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-mdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_spinner_mtrl_am_alpha.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-hdpi\abc_ab_share_pack_holo_dark.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\tv\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.3\res\drawable-xhdpi\abc_ab_share_pack_holo_light.9.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
:tv
rocessDebugManifest:tv
rocessDebugResources:tv:generateDebugSources
:tv:compileDebugJava
:tv:compileDebugNdk
:tv:compileDebugSources
:mobile
reBuild:mobile
reDebugBuild:mobile:checkDebugManifest
:mobile
reReleaseBuild:mobile
repareComAndroidSupportSupportV42100Library UP-TO-DATE:mobile
repareComGoogleAndroidGmsPlayServices6587Library UP-TO-DATE:mobile
repareDebugDependencies:mobile:compileDebugAidl UP-TO-DATE
:mobile:compileDebugRenderscript UP-TO-DATE
:mobile:generateDebugBuildConfig UP-TO-DATE
:mobile:generateDebugAssets UP-TO-DATE
:mobile:mergeDebugAssets UP-TO-DATE
:mobile:generateDebugResValues UP-TO-DATE
:mobile:generateDebugResources UP-TO-DATE
:mobile:mergeDebugResources
:mobile
rocessDebugManifestC:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\mobile\src\main\AndroidManifest.xml:0:0 Error:
uses-sdk:minSdkVersion 1 cannot be smaller than version 9 declared in library C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\mobile\build\intermediates\exploded-aar\com.google.android.gms\play-services\6.5.87\AndroidManifest.xml
Suggestion: use tools
verrideLibrary="com.google.android.gms" to force usageError:Execution failed for task ':mobile
rocessDebugManifest'.> Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 9 declared in library C:\Users\slyth_000\AndroidStudioProjects\GraphicsDemo\mobile\build\intermediates\exploded-aar\com.google.android.gms\play-services\6.5.87\AndroidManifest.xml
Suggestion: use tools
verrideLibrary="com.google.android.gms" to force usageInformation:BUILD FAILED
Information:Total time: 58.669 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
