Hey,
I try to create a android bundle, but i’ve this message :
jar /opt/local/bin/manifestmergetool.jar --platform android --main /tmp/job6754239728298642910/upload/AndroidManifest.xml --lib /tmp/job6754239728298642910/upload/extension-iap/manifests/android/AndroidManifest.xml --lib /tmp/.gradle/unpacked/com.android.billingclient-billing-5.0.0.aar/AndroidManifest.xml --out /tmp/job6754239728298642910/build/AndroidManifest.xml
Dec 01, 2022 8:38:40 PM com.defold.manifestmergetool.ManifestMergeTool$ILoggerWrapper warning
WARNING: /tmp/job6754239728298642910/upload/AndroidManifest.xml Warning:
Package name 'com.dropInMusic.todo' used in: AndroidManifest.xml, AndroidManifest.xml.
Dec 01, 2022 8:38:40 PM com.defold.manifestmergetool.ManifestMergeTool$ILoggerWrapper error
SEVERE: /tmp/job6754239728298642910/upload/AndroidManifest.xml Error:
Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
Dec 01, 2022 8:38:40 PM com.defold.manifestmergetool.ManifestMergeTool$ILoggerWrapper warning
WARNING:
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
Dec 01, 2022 8:38:40 PM com.defold.manifestmergetool.ManifestMergeTool main
SEVERE: java.lang.RuntimeException: Failed to merge manifests: com.android.manifmerger.MergingReport@1460a8c0
I am not sure what to do to solve this problem.
Here is the android file in build\arm64-android :
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dropInMusic.todo"
android:installLocation="auto"
android:versionCode="16"
android:versionName="0.1" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="31" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.android.vending.BILLING" />
<application
android:name="android.support.multidex.MultiDexApplication"
android:debuggable="false"
android:hasCode="true"
android:icon="@drawable/icon"
android:label="dropInMusic" >
<meta-data
android:name="android.max_aspect"
android:value="2.1" />
<meta-data
android:name="android.notch_support"
android:value="true" />
<activity
android:name="com.dynamo.android.DefoldActivity"
android:configChanges="fontScale|keyboard|keyboardHidden|locale|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
android:exported="true"
android:label="dropInMusic"
android:launchMode="singleTask"
android:screenOrientation="landscape"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
<meta-data
android:name="android.app.lib_name"
android:value="dropInMusic" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- For Amazon IAP -->
<receiver
android:name="com.amazon.device.iap.ResponseReceiver"
android:exported="true"
android:permission="com.amazon.inapp.purchasing.Permission.NOTIFY" >
<intent-filter>
<action android:name="com.amazon.inapp.purchasing.NOTIFY" />
</intent-filter>
</receiver>
<meta-data
android:name="com.google.android.play.billingclient.version"
android:value="5.0.0" />
<activity
android:name="com.android.billingclient.api.ProxyBillingActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:exported="false"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
</application>
</manifest> <!-- END_INCLUDE(manifest) -->
Or txt file :
AndroidManifest.zip (1.0 KB)
If you have an idea on how to solve this problem, I’m interested.
Thanks for advance.
Lecricreator