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.

App crashes on opening

See original GitHub issue

Error says demo has stopped

thats it.

SNIPPET

  onDeviceReady: function() {
        app.receivedEvent('deviceready');
        alert("Device Ready : Attempting update");
        var updateUrl = "http://192.168.1.133/version.xml";
        window.AppUpdate.checkAppUpdate(onSuccess, onFail, updateUrl);
        function onFail() {alert('fail', JSON.stringify(arguments), arguments);}
        function onSuccess() {
            alert('success', JSON.stringify(arguments), arguments);
        }
    }

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
KristianKorsgaardcommented, Sep 5, 2018

Related to this StackOverflow https://stackoverflow.com/questions/39332842/no-activity-found-to-handle-intent-when-using-fileprovider, the android version I was building with was wrong. From android 7 and up the intent schema is different, so you need to make sure that you are building for the correct android version. To change this in cordova see https://cordova.apache.org/docs/en/latest/guide/platforms/android/upgrade.html

0reactions
wenwucncommented, Dec 1, 2018

Related to this StackOverflow https://stackoverflow.com/questions/39332842/no-activity-found-to-handle-intent-when-using-fileprovider, the android version I was building with was wrong. From android 7 and up the intent schema is different, so you need to make sure that you are building for the correct android version. To change this in cordova see https://cordova.apache.org/docs/en/latest/guide/platforms/android/upgrade.html

I downgraded cordova android platform to 6.x.x then it works!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Crashing Apps on an iPhone or Android?
If you have an app that does not respond when you try to interact with it on your smartphone screen, the traditional fix...
Read more >
Why do my apps keep crashing on Android, How to fix it
The easiest way to fix an app that keeps crashing on your Android smartphone is to simply force stop it and open it...
Read more >
Why Do My Apps Keep Closing? How to Troubleshoot
Make sure the app is up to date · Clear the app data for the problematic app · Restart your mobile device ·...
Read more >
How to Fix Crashing Apps on iPhone & iPad | OSXDaily
2: Quit and Re-Launch the App. Sometimes the simplest solution to a resolve a crashing application in iOS is to quit the app...
Read more >
How to Stop Apps From Crashing on Android - AVG
How do you fix an app that keeps crashing? · Update apps and software · Check your connectivity · Force stop apps ·...
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