qwd / openweatherplus-android Goto Github PK
View Code? Open in Web Editor NEWAn open source weather APP for Android. 天气普拉斯Android版,自带天气数据的开源天气APP。
License: Apache License 2.0
An open source weather APP for Android. 天气普拉斯Android版,自带天气数据的开源天气APP。
License: Apache License 2.0
HeWeather.getGeoCityLookup中,search.getLocationBean()数据为空。hack后运行,城市搜索不到,添加不了城市
签名文件不存在,用我自己的签名文件的话,地图需要另外设置key,可否提供下签名文件,谢谢
现在Flutter开发程序原来越流行,我做了个Flutter版的OpenWeatherPlus
基于和风天气的OpenWeatherPlus制作,纯Flutter实现,可以在Android和iOS上运行。主体功能已经完成,边边角角的功能陆续添加中,欢迎交流
进入app后天气界面一直显示网络连接的圈圈,但始终无法获取到天气数据,另外在城市搜索界面也无法搜索到任何城市。app基本功能都无法使用,问题很严重啊。
我根据你们提供的文档进行修改后,程序运行时爆出了异常,导致程序闪退
12-19 10:02:30.978 3095-3141/? E/com.heweather.owp.crash.CrashHandler: 系统异常退出
java.lang.IndexOutOfBoundsException: Invalid index 3, size is 3
at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255)
at java.util.ArrayList.get(ArrayList.java:308)
at com.heweather.owp.view.fragment.WeatherFragment.getWeatherForecast(WeatherFragment.java:536)
at com.heweather.owp.presenters.impl.WeatherImpl$2.onSuccess(WeatherImpl.java:80)
at interfaces.heweather.com.interfacesmodule.b.m$1$1.a(WeatherDataImpl.java:81)
at interfaces.heweather.com.interfacesmodule.c.e$1$3.run(RequestUtil.java:154)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
下载回来的工程,在和风网站上面注册了key,包名是工程的com.heweather.owp。在工程中把id、key都替换了,提示无访问权限
09-30 16:19:33.588 6277-6277/com.heweather.owp I/sky: getAlarm onError: java.lang.Throwable: Code [ permission denied ], msg [ 无访问权限 ] , packageName [com.heweather.owp]
09-30 16:19:33.621 6277-6277/com.heweather.owp I/sky: getWeatherHourly onError: getWeatherHourly :java.lang.Throwable: Code [ permission denied ], msg [ 无访问权限 ] ,
What went wrong:
A problem occurred configuring project ':app'.
java.lang.NullPointerException (no error message)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.