簡體   English   中英

更新 gradle android studio

[英]Update gradle android studio

flutter_barcode_scanner\intermediates\packaged_res\debug\values-w???dp-v13: Error: Invalid resource directory name

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s
Exception: Gradle task assembleDebug failed with exit code 1

在我嘗試在 Android Studio 中運行我的應用程序后,已顯示此消息。 我怎樣才能找出問題出在哪里並解決它。

請嘗試flutter clean -> Invalidate Cache and Restart on android studio -> flutter pub get並確保擴展 FlutterActivty:

Java:公共類 MainActivity 擴展 FlutterActivity {}

或者對於 Kotlin:類 MainActivity: FlutterActivity() {}

有關更多信息,請參見此處

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM