小编sta*_*oid的帖子

gradle:找不到com.android.support:multidex:1.0.1

当我使用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 build.gradle android-gradle-plugin

7
推荐指数
3
解决办法
2万
查看次数

为什么在android中使用[static final]?

我是 Android 的新手。最近我阅读了很多关于Android的源代码。我真的不明白下面的这些代码。

public DemoActivity {
     private static final String TAG = "DemoActivity";

   //.........
}
Run Code Online (Sandbox Code Playgroud)

为什么使用静态

java android

-6
推荐指数
1
解决办法
2247
查看次数