PS D:\flutterApp\myapp> flutter run
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 203.1s (!)
? Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk... 7.7s
Error waiting for a debug connection: The log reader stopped unexpectedly
Error launching application on Redmi Note 4.
Run Code Online (Sandbox Code Playgroud)
早些时候Error waiting for a debug connection: Bad state: No element,我从stable切换到master,现在它在运行时抛出这个错误。应用程序正在安装但因抛出此错误而崩溃。
fatal: 'lfs' appears to be a git command, but we were not
able to execute it. Maybe git-lfs is broken?
Run Code Online (Sandbox Code Playgroud)
在kali或者ubuntu上安装git-lfs很简单,但是步骤不太好找。就我而言,这是因为我需要它用于 git subrepo
This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
Run Code Online (Sandbox Code Playgroud) 当我提取在 Mac 中运行良好的项目的工作代码时,在 Windows 中进行身份验证时出现此错误
错误
{
"name": "NotAuthenticated",
"message": "Invalid login",
"code": 401,
"className": "not-authenticated",
"errors": {}
Run Code Online (Sandbox Code Playgroud)
}
发布请求
{
"strategy": "local",
"username": "demo",
"password": "demo"
}
Run Code Online (Sandbox Code Playgroud)
默认.json
"authentication": {
"entity": "user",
"service": "users",
"secret": "2wVrC38R9sUb6Cjhuhoir3oate0=",
"authStrategies": [
"jwt",
"local"
],
"jwtOptions": {
"header": {
"type": "access"
},
"audience": "https://yourdomain.com",
"issuer": "feathers",
"algorithm": "HS256",
"expiresIn": "1d"
},
"local": {
"usernameField": "username",
"passwordField": "password"
}
Run Code Online (Sandbox Code Playgroud)
},
所以本地策略根本不起作用