Android Question Unfortunately..... has stopped


Licensed User
Longtime User
I have at long last found the problem in my project and attach a barebones project.

Screen with one button. When button text is "OK", project works fine in debug and release.

When typeface is set to material icons and a tick chosen as icon then project compiles and runs in debug but crashes in release. "Unfortunately ... has stopped".

#BridgeLogger shows "java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (Button)."

What am I doing wrong? Have tried on Android 4.4 and 5.0. Also two different desktops (win7 32bit and win7 64bit)


    7.7 KB · Views: 251


Well-Known Member
Licensed User
Longtime User
Downloaded your Project, tested it and works 100% with me.

Possible Problems:
You don't have the latest SDK
Make sure you have jdk1.8.0_111
Make sure you are running android-25\android.jar
This information can be found at Tools --> Configure Paths
Then Clean your project Tools --> Clean Project (or CTRL+P)

Then read this: and follow the steps - note especially the two font files to download and install

Now test your project again - should work.
Upvote 0