Comments (3)
修改音乐湖后台API为ip地址。ip地址 不是一个正确的url地址。所以应用启动时,初始化网络框架时会报错。
一般修改地址有两个方式
1、修改源码中的url地址
2、app设置页面中,输入api地址修改
这个功能(第二点)主要是为了调试方便,所以一般不会输错。
另外这个不能try catch。可以在修改API时,做一个强制校验,如果修改值不是url,不允许修改。
from musiclake.
好的,我尝试一下看看能否加一个正则校验,或者是在修改该字段的时候加一个对API的测试http请求,不成功则不允许修改。主要是一旦错误输入之后必须重装APP才能恢复,比较影响用户体验。感谢您的认真回复,您可随时关闭这个issue~
from musiclake.
好的,我尝试一下看看能否加一个正则校验,或者是在修改该字段的时候加一个对API的测试http请求,不成功则不允许修改。主要是一旦错误输入之后必须重装APP才能恢复,比较影响用户体验。感谢您的认真回复,您可随时关闭这个issue~
输入错误,可以清空应用数据,没必要重装apk
from musiclake.
Related Issues (20)
- 扫描本地音乐问题。 HOT 2
- Github登录BUG HOT 1
- Play/Pause Image Button in Notification Not Update
- 翻译错位 HOT 1
- Fix dark mode download button black color
- Mac music端导入的网易歌单,在Android musiclake端歌单页面不能单曲播放
- 请问怎么编译? HOT 2
- 无法修改api,修改api后应用闪退。 HOT 1
- 建议增加本地文件夹全选加入歌单功能 HOT 1
- 建议增加蓝牙歌词功能
- Gihub 无法登录,提示The redirect_uri MUST match the registered callback URL for this application HOT 22
- 歌单数量修改。 HOT 1
- Android studio 4.1.3报错 HOT 11
- Here my clone form this project.
- 各位什么环境才能编译通过 KaptDebug一直过不去
- 请问为什么没有DaggerApplicationComponent
- 请问这个aidl配置的意义何在?
- issue
- 输入给的网易云aip后退出再重进进不去 闪退
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from musiclake.