


Public class MainActivity extends AppCompatActivity implements View.

However, I really need those variables to be declared globally.

You can see it cancelled the device state checker, i’m assuming this is why the app is crashing.My problem is fixed when I declare the img1 and img2 variables in the onCreate(). Please check to make sure that the entries added for App Links are not broken. I have used logcat, and i see a whole bunch of errors.
