總會有各種各樣的問題,不要著急!!!
問題都是別人造成的,與我無關,找問題,解決問題才是最重要的,
一、 Error:Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory. See http://b.android.com/95744 for details. This warning can be disabled by adding the line ‘android.overridePathCheck=true’ to gradle.properties file in the project directory
原因:路徑或者專案名有中文,(最好不要出現中文)
二、Installation did not succeed. The application could not be installed: INSTALL_FAILED_USER_RESTRICTED
原因:在手機上允許USB安裝
### 三、版本不要高于android studio的版本  查看android studio的版本資訊: help->About
四、配置正確的SDK路徑,下載手機對應的android SDK

五、android studio中找不到手機
- 查看資料線是否支持傳輸檔案,
- 手機需要打開開發者模式,
- 在android studio中配置

我是失憶,一個熱愛技術的宅男,文章有任何問題您都可以在留言中指出,歡迎留言,也可以加我個人微信一起學習,一起進步!

轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/238096.html
標籤:其他
上一篇:AndroidR Input子系統(8)InputChannel注冊,建立APP和InputDispatcher的連接
下一篇:幾分鐘帶你學會歸并排序和快速排序
