Search Issue Tracker

Duplicate

Votes

0

Found in

2018.2.3f1

Issue ID

1070202

Regression

Yes

[Android] java.util.HashMap call crash when running built application

Mobile

-

To reproduce:
1. Open user's project
2. Build it for Android
3. Launch the application

Expected: application doesn't crash
Actual: application crashes or freezes on black screen

Reproduced in: 2018.2.0a1, 2018.2.5f1, 2018.3.0a7
Not reproduced in: 2017.2.3p3, 2017.4.9f1, 2018.1.9f1

Note: code lines responsible for the crash:
AndroidJavaObject mapObj = new AndroidJavaObject("java.util.HashMap");
mapObj.Call<string>("put", "publicKey", "abc");

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.