当我使用gradle(版本2.1或2.4)构建Android Project时,得到以下错误.我com.android.support:multidex:1.0.1在我的文件中找不到.
错误:
config is set to BF688C717A5C3A69FE8CA522643C0A68
config is set to PRODUCT
vcode is set to 151
vname is set to 1.5.1
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':XXXX'.
Could not resolve all dependencies for configuration
':yizhangtong:_rendepeng_lmDebugCompile'.
Could not find com.android.support:multidex:1.0.1.
Searched in the following locations:
.............
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log …Run Code Online (Sandbox Code Playgroud) 我是 Android 的新手。最近我阅读了很多关于Android的源代码。我真的不明白下面的这些代码。
public DemoActivity {
private static final String TAG = "DemoActivity";
//.........
}
Run Code Online (Sandbox Code Playgroud)
为什么使用静态?