Can't build to Android on Windows: processDebugMainManifest FAILED

* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> com.android.manifmerger.ManifestMerger2$MergeFailureException: Error parsing C:\Users\mikal\Desktop\Dev\HelloWorld\export\android\bin\app\src\main\AndroidManifest.xml

I moved my workspace over from Mac to Windows and am trying to compile to Android again. Got the HelloWorld from lime-examples running but my existing project won’t build. I think I narrowed it down to it inserting if="lime ≥ 8.2.0" into the line below (though it could be something else):

<application android:allowBackup="true" android:label="HelloWorld" if="lime &ge; 8.2.0" android:appCategory="game" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:hardwareAccelerated="true" android:allowNativeHeapPointerTagging="false" android:icon="@drawable/icon" >

The AndroidManifest.xml in the HelloWorld from lime-examples doesn’t have that conditional but it inserts it in my project upon lime build. I copied only my source/assets folders into a new HelloWorld project so I don’t know how to further narrow this down.

Does your project use Flixel? Perhaps this fix is related:

1 Like

That was it, thank you.