Android Studio XML Error

Android Instant Apps is currently being tested using Android Studio 3.0 Canary 3, and I get this error when I try to create an application and emulate it. Is there any way to fix this? (I am doing a multifunctional Instant App).

Error:

~ / Documents / GitHub / AndroidInstantApp / Android Topic / Topic-u / build / intermediate / manifest / full / function / debug / AndroidManifest.xml: 2 the attribute "split" in the tag is not a valid separation name Error: com.android. builder.internal.aapt.AaptException: link AAPT2 failed: Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: Error AAPT2: Error: execution completed for task ': Topics: processDebugFeatureResources '.

Failed to execute aapt command

+4
source share
1 answer

I think we may have found a bug in this alpha release. I solved the problem by removing the dash ("-") from the module name:

Apparently, it is not supported for split names.

The strange part: both codelabs and my project initially work correctly with dashes.

+7
source

Source: https://habr.com/ru/post/1679188/


All Articles