Aller au contenu principal

Knowledge Base

remarque

This page contains recommendations, requirements that you need to know to resolve potential issues that you might encounter based on the traget platform.

Android 12 and 13 targeting requirements

Bluestack SDK version 1.1.0 is using the IMA SDK version 2.18.1. If you are targeting Android 13, you must add the com.google.android.gms.permission.AD_ID permission in the AndroidManifest.xml file for the Google Mobile Ads SDK to access the Advertising ID:


<manifest>
<application>
...
</application>
<!-- For apps targeting Android 13 or higher & IMA SDK version 3.24.0 or lower -->
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
</manifest>

Reference: https://developers.google.com/interactive-media-ads/docs/sdks/android/dai/android-12

ERROR: java.lang.UnsupportedOperationException: This feature requires ASM7

If you are targeting Android 11-13, you may encounter this error. To fix this.


  1. Change the API Level and build
  2. Change back to your original API Level and try build again
  3. Also try closing and reopening Unity Editor

Reference: https://forum.unity.com/threads/this-feature-requires-asm7.1360672/