question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash after button click on Android platform

See original GitHub issue

Describe the bug image Add a button to an empty avalonia project and do not bind any events, it will crash on multiple clicks on the Android platform Exception: System.NullReferenceException: 'Object reference not set to an instance of an object.' Stack: image

  • OS: Andorid 13
  • Version 11.0.0-preview2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
CeSuncommented, Oct 24, 2022

You can use nightly builds for now: https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

There doesn’t seem to be a version higher than preview-2 in the nightly build repository. image

Hey @CeSun the nuget feed was outdated. Please use the new nightly feed you can find here: https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

it worked.

0reactions
CeSuncommented, Oct 23, 2022

You can use nightly builds for now: https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

There doesn’t seem to be a version higher than preview-2 in the nightly build repository.

image

Hey @CeSun the nuget feed was outdated. Please use the new nightly feed you can find here: https://github.com/AvaloniaUI/Avalonia/wiki/Using-nightly-build-feed

I’ve tried this nuget source, it’s slow, it always times out, and there’s only a small chance of getting the latest package version list. I don’t think it’s my network problem, because accessing the root of the nuget url is fast, although it returns me an error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android App Crashes on Button Click
Initialize your Buttons first then set onclicklistener to them @Override protected void onCreate(Bundle savedInstanceState) { super.
Read more >
Android Java App crashing after Button Click
I thought I followed everything but my app keeps crashing after the button click. Does anyone have an idea how to fix this?...
Read more >
Crashes | App quality
An Android app crashes whenever there's an unexpected exit caused by an unhandled exception or signal. An app that is written using Java...
Read more >
[android-developers] App crashed when I press my button...
I have been following this tutorial to create a button to go to a new activity, but get an error when the button...
Read more >
Android FunFacts App crashes when button is pressed.
Android FunFacts App crashes when button is pressed. if the Strings returns from a method then App crashes when i press the button....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found