Android.bp: use a Soong-only manifest with an explicit package attribute
Soong's manifest fixer requires package= in the manifest, but AGP 8+ derives it from the Gradle namespace and rejects the attribute in the shared manifest — so give the AOSP build its own copy.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Soong-only manifest. Gradle derives the package from `namespace` in
|
||||
library/build.gradle.kts and AGP 8+ rejects a package attribute there,
|
||||
but Soong's manifest fixer requires one — so the AOSP build uses this
|
||||
copy instead of library/src/main/AndroidManifest.xml.
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="dev.oxmc.androiddeviceinfo">
|
||||
|
||||
<!-- The library does not require any specific permissions, but if you want to auto update the db, you will need the INTERNET permisson. -->
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
</manifest>
|
||||
Reference in New Issue
Block a user