PIXNET Logo登入

Willy's Fish教學筆記』

跳到主文

授人以魚,不如授人以漁

部落格全站分類:數位生活

  • 相簿
  • 部落格
  • 留言
  • 名片
  • 4月 27 週六 201917:29
  • Android Gradle Jenkins 用 command line 指令./gradlew assembleRelease 打包 apk 時出錯:A problem occurred configuring project ':app'. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log...』Willy's Fish教學筆記


今天打算用 command line 指令./gradlew assembleRelease
打包各 flavors 的 apk 時,出錯如下
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(1,394)

  • 個人分類:Android
▲top
  • 4月 27 週六 201915:21
  • Android Gradle 使用 productFlavors 自配適各環境 (SIT、DEV、UAT、PROD...), 參數設定,與資料架構 folder structure』Willy's Fish教學筆記


開發一套已有大量使用者的 APP 時通常都要小心一點
為了程式的穩定性與品質
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(4,005)

  • 個人分類:Android
▲top
  • 4月 26 週五 201910:09
  • Android APK 太大怎麼辦,限制超過 100MB,一招教你減肥縮小30% 』Willy's Fish教學筆記


Google 一直有個限制
apk 不能大於 100MB
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(1,444)

  • 個人分類:Android
▲top
  • 4月 24 週三 201915:58
  • Git 更動大小寫造成 Error:Will not add file alias xxxxxx already exists in index』Willy's Fish教學筆記

今天因為更改了 文件名稱的大小寫
造成了無法 add file 的困境
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(395)

  • 個人分類:Git
▲top
  • 4月 12 週五 201914:18
  • Android 升級 Gradle 3.x , implementation, compile, api 之間有什麼區別、差異與不同之處呢? What difference between 'implementation','api' and 'compile' in build.gradle?』Willy's Fish教學筆記

compile 在 2018年底已經不再支援了
所以升級 Gradle 成了必然
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(491)

  • 個人分類:Android
▲top
  • 4月 09 週二 201917:59
  • Android Studio 編譯問題 Compiler & Build ERROR: Unsupported method: XXX. The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to... 』Willy's Fish教學筆記


今天剛拿到新電腦
在建置環境的過程中遇到了一些問題
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(827)

  • 個人分類:Android
▲top
  • 3月 28 週四 201916:01
  • Android 使用 MVVM + DataBinding 遇錯:Found data binding errors. ****/ data binding error ****msg:Cannot find the getter for attribute 'android:background' with value type int on android.support.constraint.ConstraintLayout. file:XXX 』Willy's Fish教學筆記

在嘗試使用 MVVM 架構時,使用 DataBinding 遇到了此問題 part2
一 Build 就會出錯,錯誤訊息如下
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(511)

  • 個人分類:Android
▲top
  • 3月 28 週四 201911:25
  • Android 使用 MVVM + DataBinding 遇錯:java.lang.RuntimeException: Unable to start activity ComponentInfo{com…Activity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class layout 』Willy's Fish教學筆記

在嘗試使用 MVVM 架構時,使用 DataBinding 遇到了此問題
只要我進入目標 Activity 就會 Crush,出現下列錯誤
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(772)

  • 個人分類:Android
▲top
  • 3月 26 週二 201913:59
  • Android 引入 Butterknife 10.0.0 以上,出現 Build Error : Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] ... 』Willy's Fish教學筆記

今天在試著引入 Butterknife 10.1.0 後發生的問題
錯誤訊息如下:
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(929)

  • 個人分類:Android
▲top
  • 3月 22 週五 201916:02
  • Android Material Design 的 SnackBar 使用教學、介紹、範例。可以不用 Toast 囉 』Willy's Fish教學筆記


Meterial Design 裡面有一個 SnackBar 的元件
此元件可以說是 Toast 的進階版本
(繼續閱讀...)
文章標籤

顏澤偉 發表在 痞客邦 留言(0) 人氣(972)

  • 個人分類:Android
▲top
«1...67818»

參觀人氣

  • 本日人氣:
  • 累積人氣:

文章搜尋

文章分類

toggle 程式設計 (14)
  • Python (2)
  • SVN (1)
  • Kotlin (2)
  • Vue (2)
  • React Native (4)
  • 純筆記 (3)
  • iOS (5)
  • Java (3)
  • MySQL (4)
  • Mac (2)
  • Git (8)
  • Linux (3)
  • PHP (5)
  • Android (119)
toggle 投資理財 (1)
  • 程式人的理財筆記 (1)
toggle Meditation 冥想日誌 (1)
  • Meditation 冥想日誌 (2)
  • 未分類文章 (1)

贊助商連結

熱門文章

  • (11,452)Willy's Fish教學筆記』 MySQL 更新刪除產生錯誤1175 update delete error 1175
  • (569)Willy's Fish教學筆記』 Android SQLite、MySQL … SQL (NOT) LIKE & (NOT) REGEXP 模糊查詢語法,%_[]^
  • (6,246)Willy's Fish教學筆記』 Android Activity lifecycle 生命週期與對應方法
  • (2,639)Willy's Fish教學筆記』 Android SparseArray 原理介紹與使用教學
  • (816)Willy's Fish教學筆記』Java DateFormat 輸出格式對應字串設定表
  • (648)Willy's Fish教學筆記』Android 如何在 Android 7.0 Nougat (API 24) 中取得 Locale
  • (4,023)Willy's Fish教學筆記』Git 設定.gitignore忽略追蹤檔案清單 ( 範例:Android Studio )
  • (6,473)Willy's Fish教學筆記』Git 不小心 git init ,要如何取消、解除追蹤( git trace ) 呢?
  • (1,486)Willy's Fish教學筆記』iOS 11個步驟,用手機 run 自己開發的 app,實機測試,免付費開發者帳號 beta (Xcode 7+)
  • (11,184)Willy's Fish教學筆記』iOS 在 AppDelegate、ViewController... 裡,遇到了 Thread 1: signal SIGABRT 怎麼辦?

最新文章

  • Android 在 Android Studio 的 Event Log 有 JDK different warning 』Willy's Fish教學筆記
  • Android 可能踩到的小誤區 Navigation Component set the Fragment Parcelize Argument 』Willy's Fish教學筆記
  • Android RecyclerView with view binding,Kotlin Android Extensions 遷移至 Jetpack view binding 』Willy's Fish教學筆記
  • Android 遷移至 Jetpack view binding,RecyclerView with view binding,findViewById 演化介紹 』Willy's Fish教學筆記
  • Android Studio JDK Setting, Android-Room Error: package javax.annotation.processing does not exist
  • Android 一個自訂的動畫評分元件(自製、客製) AnimationRatingBar is a custom widget of RatingBar with Animation.』Willy's Fish教學筆記
  • Android Error: Cannot access XXX which is a supertype of XXX. Check your module classpath for missing or conflicting dependencies 』Willy's Fish教學筆記
  • Android Kotlin MotionLayout 第二個雷坑,View 在 OnSwipe or OnClick 之後 setOnClickListener() 無效。 Programmatically invoke setOnClickListener() not working on MotionLayout』Willy's Fish教學筆記
  • Android kotlin 如何用 CameraX API 自刻一個相機介面 (自製、自訂、客製) ? How to make a camera preview view with custom controls?』Willy's Fish教學筆記
  • Android Kotlin 為什麼在 MotionLayout 中,用程式調用 setVisibility() View.GONE 無效。 Programmatically set visibility not working on MotionLayout』Willy's Fish教學筆記

文章精選

贊助商連結