[英]java.io.FileNotFoundException: the system cannot find the file specified
[英]Android Studio - java.io.FileNotFoundException: (The system cannot find the file specified) and Could not extract JNI library
我是使用 flutter 開發 android 的完整初學者。 我只是使用 Flutter 和三星 Android 設備在 android 工作室中運行默認應用程序,我收到以下錯誤
Could not extract native JNI library
Exception: Gradle task assembleDebug failed with exit code 1
Android Studio 中的錯誤
在我使用的 windows 控制台上進行調試
gradle test -info
我得到以下 output。
`> java.io.FileNotFoundException: C:\Users\LENOVO! (The system cannot find the file specified)`
到目前為止,這些是我的觀察結果:
我的flutter doctor
工作正常。
我已將我的 Java 降級為 Java 8。
My.dll 文件未加載到 .gradle/native/30/windows-amd64 文件夾中。 只有我能看到 is.dll.LOCK 文件
我不明白問題出在哪里。 是因為我在系統用戶名中使用了“?”之類的字符。 請幫助貢獻。
我發現問題出在我的路徑中,其中包含特殊字符(如。)。 Java 被其中的特殊字符弄亂了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.