Search Issue Tracker
Won't Fix
Votes
6
Found in
2017.2.0p3
2017.2.0b2
Issue ID
972973
Regression
Yes
[Android] Application crashes on Android 8.0 when playing Google Interstitial/Video Ad
How to reproduce:
1. Open the attached project "Test"
2. Go to File --> Build & Run and deploy to device
3. Click Load Interstitial Ad button
4. Click Show Interstitial Ad button
Result: Application crash "Caused by: java.lang.IllegalStateException: Only fullscreen activities can request orientation"
Regression introduced in - 2017.2.0b2
Reproducible with - 2018.1.0a6, 2017.3.0f1, 2017.2.0p4, 2017.2.0b2
Not reproducible with - 2017.2.0b1
Devices tested:
Reproducible on:
Google Pixel XL*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:google/marlin/marlin:O/OPP2.170420.019/4021594:user/release-keys
Google Pixel*, OS:8.0.0, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:google/sailfish/sailfish:8.0.0/OPR3.170623.007/4286350:user/release-keys
Not reproducible on:
Samsung SM G928F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T760, Build:samsung/zenltexx/zenlte:7.0/NRD90M/G928FXXU3CQG2:user/release-keys
Samsung SM G950U*, OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 540, Build:samsung/dreamqltesq/dreamqltesq:7.0/NRD90M/G950USQU1AQC8:user/release-keys
Samsung SM G930F*, OS:7.0, CPU:arm64-v8a, GPU:Mali-T880, Build:samsung/heroltexx/herolte:7.0/NRD90M/G930FXXS1DQHF:user/release-keys
Xiaomi MI MAX*, OS:6.0.1, CPU:arm64-v8a, GPU:Adreno (TM) 510, Build:Xiaomi/hydrogen/hydrogen:6.0.1/MMB29M/V7.5.1.0.MBCCNDE:user/release-keys
Samsung Galaxy S5 Mini ,OS:6.0.1,CPU:armeabi-v7a,GPU:Mali-400 MP,Build:samsung/kminiltexx/kminilte:6.0.1/MMB29K/G800FXXU1CQA1:user/release-keys
Motorola XT1092*, OS:5.1, CPU:armeabi-v7a, GPU:Adreno (TM) 330, Build:motorola/victara_reteu/victara:5.1/LPE23.32-25.1/1:user/release-keys
Samsung GT I8190*, OS:4.1.2, CPU:armeabi-v7a, GPU:Mali-400 MP, Build:samsung/goldenxx/golden:4.1.2/JZO54K/I8190XXAMG4:user/release-keys
Note: On some devices the ad can crash when closing it, separate bug will be submitted for that
Won't fix as this is not the Unity issue, but an actual AdMob issue. Look here for a possible workarounds - https://stackoverflow.com/questions/46992843/interstitial-admob-ads-illegalstateexception-only-fullscreen-activities-can-r
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
robinanttal
May 15, 2018 13:28
I solved it,. I had the same issue and didn't find any solution regarding that, but later I tried resolving android jar files using android resolver by right clicking in project window\playServiceResolver\androidResolver\Resolve and after resolution succeeded I build an apk and that runs perfectly.
storybelldev
Feb 03, 2018 13:30
Having same issue in oreo device...any fixes???
silvershunt
Jan 15, 2018 13:00
I'm having the same problem on 2017.3.0p1.
What do you mean by Won't Fix??
Are you saying that there is no resolution for this? Any workarounds guys?
Luka-NiTL
Dec 12, 2017 17:23
Having the exact same issue here!
Using Unity 2017.2.0f3, and now 2017.2.1.f1, with a Google Nexus 6P for testing.
Interestingly enough, I didn't have this issue when I was using Android Studio 2.3 (while still on Unity 2017.2.0f3) but as soon as I updated to Android Studio 3.0, the problem started happening.
ikorolkov
Dec 11, 2017 19:05
Have had the same issue with Unity 2017.1.0f3, 2017.2.0f3, 2017.3.0f1, 2017.3.0f2 on LG G3 with Android 8.0. With 2017.3.0f2 changing of Target API Level in Player settings from Automatic to Android 7.1 or Android 7.0 (haven't tested any other API level) fixed this issue for me.