Android Studio 3.0 Manifest Error: unknown element found

android studio 

Information:Gradle tasks [:app:assembleDebug]

app\build\intermediates\manifests\full\debug\AndroidManifest.xml

Error:(27) error: unknown element found.
Error:(27) unknown element found.
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
Information:BUILD FAILED in 10s
Information:6 errors
Information:0 warnings

Information:See complete output in console


解决方法 :

add this code in gradle.properties in the root project:

android.enableAapt2=false





你可能感兴趣的:(Android Studio 3.0 Manifest Error: unknown element found)