Here\'s my debug\\AndroidManifest.xml
Getting so many errors like
Element action is not allowed here.
Element category
In my case i've gotten this error (AAPT2) building the apk with Cordova build command, turns out it was a problem caused by the path to ./gradle user dependencies. The problem was the path itself where my username had special characters. Gradle was reading "?" instead of "Á", creating a new user solved the problem.
OS: Windows 10
AndroidManifest.xml:15: error: unknown element found.
You have a misplaced tag.
To improve incremental resource processing, Android plugin 3.0.0 enables AAPT2 by default. In previous versions of AAPT, elements nested in incorrect nodes in the Android manifest are either ignored or result in a warning.
To resolve the issue, make sure your manifest elements are nested correctly. For more information, read Manifest file structure.
You have to modify your Manifest:
<action android:name="com.company.sqh.adio.ProfileActivity" />
<category android:name="android.intent.category.DEFAULT" />
They should be included inside an <activity> tag.
You can read more here.