gradle build控制台信息很少就这些
Warning:The specified Android SDK Build Tools version (25.0.0) is ignored, as it is below the minimum supported version (27.0.1) for Android Gradle Plugin 3.1.0-alpha09.
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
Information:BUILD FAILED in 3s
但是点击gradle console里面又关键信息
D:\newdev\xxxx\app\build\intermediates\incremental\mergeDebugResources\stripped.dir\layout\activity_super_vip_buy.xml:25: error: resource style/h_line (aka com.xxx.meiye:style/h_line) not found.
AAPT warning(637643120), Job(QueuedJob{
title=Linking,
task={config=com.android.builder.internal.aapt.AaptPackageConfig@3db82748},
future=com.google.common.util.concurrent.SettableFuture@3987b427}): Done
Failed to execute aapt
com.android.ide.common.process.ProcessException: Failed to execute aapt
at com.android.builder.core.AndroidBuilder.processResources(AndroidBuilder.java:795)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.invokeAaptForSplit(LinkApplicationAndroidResourcesTask.java:487)
at com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask.doFullTaskAction(LinkApplicationAndroidResourcesTask.java:245)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:106)
at sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction
style/h_line) not found.