原创 Could not resolve all dependencies for configuration ':classpath'

可以嘗試Android Studio中的File-》Invalidate Cached/Restart 參考https://stackoverflow.com/questions/25994163/could-not-resolve-al

原创 No value has been specified for this provider報錯

首次導入github上項目遇到問題: No value has been specified for this provider報錯 去掉settings.gradle裏的include”xxxapp” 然後File->Sync proj

原创 解決unsatisfiedLinkError:Method()

當Java調用本地函數接口時出現這個錯誤,原因是JNI裏的C文件沒有包含以java包名命名的頭文件

原创 Android 實現EditText輸入數字時每三位加逗號

public static void inputWithCommaListener(final EditText editText) { editText.addTextChangedListener(new TextWatch