Android開發(fā)中小問題匯總目錄(持續(xù)更新)

之前感覺一篇文章記錄十多個小問題很方便,可是在找問題的時候卻很麻煩,不知道問題在第幾篇文章里面,所以這里整理下每篇文章里面的問題以及問題序號,以便能夠快速定位到問題所在。

Android開發(fā)中小問題匯總

  1. Android 如何讓EditText不自動獲取焦點。
  2. Android 禁止初始時ScrollView自動滾動到底部。
  3. Android 軟鍵盤彈出時把原來布局頂上去的解決方法。
  4. 在Android 6.0下繼續(xù)使用HttpClient。
  5. android 6.0以上運行時權限問題。
  6. 在使用toolbar時報以下錯誤:
    This Activity already has an action bar supplied by the  window decor. Do not request Window.FEATURE_SUPPORT_ACTION_BAR。
    
  7. Android Studio導入項目報:錯誤: 非法字符: '\ufeff'。
  8. Android Studio出現(xiàn)Error:No service of type Factory available in ProjectScopeServices.
  9. 使用Genymotion調試出現(xiàn)錯誤INSTALL_FAILED_CPU_ABI_INCOMPATIBLE.
  10. Android 7.0調用系統(tǒng)相機拍照崩潰問題.
  11. List集合中contains方法總是返回false.
  12. ScrollView嵌套RecyclerView出現(xiàn)item顯示不全的問題.
  13. databinding在android studio2.3版本后不再默認支持使用.在部分手機上(如紅米和小米)報錯如下:Android app installation: Unknown failure (Failure - not installed for 0)。
  14. Android Studio 2.3版本出現(xiàn)警告:Warning:Using incompatible plugins for the annotation processing: android-apt. This may result in an unexpected behavior.
  15. 關于在fragment切換時應用崩潰的問題,報錯如下:
    java.lang.IllegalArgumentException: Wrong state class, expecting View State but received class android.os.Bundle instead. This usually happens when two views of different type have the same id in the same hierarchy. This view's id is id/center_progress_webview. Make sure other views do not use the same id.
    
  16. Android BottomSheetDialog設置背景透明問題的解決辦法.
  17. Iconfont在Android中的使用.
  18. Scrollview 自動滾動到頂部或者底部.
  19. 在對原有項目重構時,進行代碼遷移,涉及到so文件代碼中報下面錯誤:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.aihuishou.qualitycheckphotos-1/lib/arm/libzbarjni.so: has text relocations.
  20. android studio adb連接不上手機調試。
  21. 在android 4.0.3上對sdcard不能創(chuàng)建目錄或文件。
  22. Android Gradle Build Error:Some file crunching failed, see logs for details.
  23. 從Git上下載項目時報錯如下:
 Error:Failed to open zip file.
 Gradle's dependency cache may be corrupt (this sometimes occurs 
 after a network connection timeout.)
 Re-download dependencies and sync project (requires network)
 Re-download dependencies and sync project (requires network)
  1. 關于報錯Error:Configuration with name 'default' not found.的問題.
  2. navicat 系列軟件一點擊菜單欄就閃退。
  3. 為什么 Android 不允許子線程中訪問 UI 呢?
  4. 調用adapter.notifyDataSetChanged()方法刷新列表時不起作用.
  5. Android studio中使用adb連接設備時報錯
unable to connect to 172.16.0.26:5555: 
cannot connect to 172.16.0.26:5555: 由于目標計算機積極拒絕,無法連接。 (10061)
  1. Android WebView clearHistory 失效的解決方案.
  2. Glide 加載https的圖片.

Android開發(fā)中小問題匯總二

  1. 查看android手機中安裝apk的包名等信息
  2. 在使用AndroidStudio打包過程中會出現(xiàn)以下錯誤:"XXX" is not translated in “en” (English) [MissingTranslation]
  3. 為什么ScrollView嵌套ListView,ListView只顯示一個Item的高度?
  4. 在使用SharedPreferences使用泛型保存list數(shù)據(jù)時,碰到com.google.gson.internal.LinkedTreeMap cannot be cast to XXX問題。
  5. Android 8.0適配報錯:Only fullscreen opaque activities can request orientation
  6. Android 8.0適配問題:安裝apk權限,更新時下載apk后,不能調出安裝界面
  7. Android 8.0適配問題:通知欄無法彈出推送消息
  8. Fragment報錯:android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor that is public
  9. Fragment 重疊 問題
  10. ARouter there's no route matched解決方法。
  11. Android WebView允許web使用時html5自適應屏幕標簽。
  12. android layout_gravity屬性設置失效的問題。
  13. Android Studio 自動導包無效及其他快捷鍵無效問題。
  14. Failed to resolve: com.android.support:appcompat-v7:27.+報錯解決方法。
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯(lián)系作者
【社區(qū)內容提示】社區(qū)部分內容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發(fā)布,文章內容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關閱讀更多精彩內容

友情鏈接更多精彩內容