Android Manifest
To complete the SDK import process, use the following steps to configure AndroidManifest.xml:
Add the following directives to the application tag:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET" />
In all elements that will contain a player, add android:configChanges="orientation|screenSize". This prevents the Activity from being destroyed when rotated.
<application>
...
<activity
...
android:configChanges="orientation|screenSize" />
...
</application>
Updated 11 months ago
What’s Next