GithubHelp home page GithubHelp logo

Crash on launch about weather HOT 3 CLOSED

naronald avatar naronald commented on September 28, 2024
Crash on launch

from weather.

Comments (3)

naronald avatar naronald commented on September 28, 2024 1

That's always entertaining -- I should note I tested on an emulator rather than my device (both Pixel 4a).

I'd go with Retrofit -- there are notes on this coming up in module 10 that outline the differences a little more.

from weather.

Eamo5 avatar Eamo5 commented on September 28, 2024

Hi Nicole,

This is a really perplexing issue if it works for you. Both Volley and Retrofit aren't working for me with both the desired weather API and the current test API with my HEAD checked out at 178a6ea. I cannot see any response in logcat and have attempted the connection on 3 seperate internet connections and the content appears fine on a browser.

I've used my actual Pixel 4 XL for testing instead of the emulator and inspecting the logcat on my Android device over ADB, it appears the connection is working. I'm not exactly sure what the issue here may be but I guess for now I'll deploy on my phone rather than an emulator.

If you have any suggestions they'd be appreciated. Not even using my phone's hotspot for the laptop works so I'm really uncertain.

While I've got you here, is there any preference of using Volley over Retrofit or vice versa in terms of good practices?

Thank you for your help,
Eamon

from weather.

Eamo5 avatar Eamo5 commented on September 28, 2024

Ah so after some further investigation, it turns out my emulator had no internet connection whatsoever. After following the steps at https://stackoverflow.com/a/57305704 my issue appears to be fixed and a connection can be established. Apologies and thanks for your help!

from weather.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.