You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on May 3, 2021. It is now read-only.
E/e: CLEARTEXT communication to gank.io not permitted by network security policyjava.net.UnknownServiceException: CLEARTEXT communication to gank.io not permitted by network security policy
E/LogUtil: BaseTActivity: error:java.net.UnknownServiceException: CLEARTEXT communication to gank.io not permitted by network security policy
implementation 'la.xiong.androidquick:AndroidQuick:1.2.3' @ddnosh
新建项目直接依赖库文件好像跑不起来,有解决方案吗
More than one file was found with OS independent path 'META-INF/rxjava.properties'
The Android Gradle plugin supports only Butterknife Gradle plugin version 9.0.0-rc2 and higher.
The following dependencies do not satisfy the required version:
root project 'AndroidQuick' -> com.jakewharton:butterknife-gradle-plugin:8.4.0
implementation 'la.xiong.androidquick:AndroidQuick:1.2.3' @ddnosh
新建项目直接依赖库文件好像跑不起来,有解决方案吗
More than one file was found with OS independent path 'META-INF/rxjava.properties'
Activity
netgb commentedon Mar 31, 2019
import la.xiong.androidquick.demo.injector.component.DaggerActivityComponent;
请问这个类没上存吗?
ddnosh commentedon Apr 1, 2019
@netgb 这个是dagger2在编译的时候自动生成的,你clean一下试试。
netgb commentedon Apr 1, 2019
谢谢提醒,试了还是没能生成。
clean 、rebuild删除build目录重新跑项目也不生成。
用AS3.3.2跑
QuickGank
和
https://github.com/ddnosh/QuickTV
修改了build.gradle文件能成功跑起来。。
@ddnosh
昨天已经解决了AS不能生成dagger2相关类的问题了,是和AS所安装的插件有关,
一次性卸载掉了IDE好几个插件重启IDE后能正常生成了,具体是哪个插件没有排查。
netgb commentedon Apr 2, 2019
@ddnosh
同样AS3.3.2 换别机器上能成功跑起来,可能之前机器上的AS坏了。。。
netgb commentedon Apr 2, 2019
E/e: CLEARTEXT communication to gank.io not permitted by network security policyjava.net.UnknownServiceException: CLEARTEXT communication to gank.io not permitted by network security policy
E/LogUtil: BaseTActivity: error:java.net.UnknownServiceException: CLEARTEXT communication to gank.io not permitted by network security policy
点击MVC例子,API28访问http url有问题,用这方案暂时解决了
NetworkSecurityConfig: No Network Security Config specified
ddnosh commentedon Apr 3, 2019
@netgb 好的,我记录一下
netgb commentedon Apr 9, 2019
WARNING: DSL element 'DexOptions.incremental' is obsolete and will be removed at the end of 2018.
Affected Modules: sample
// incremental true
正式版AS3.3.2 ,这行注释了才能跑起来。
还有可以更新一下sample模块的build.gradle里面jar包依赖的关键字吗,不然用AS3.3.2检出项目每次需要手工修改才没提示。
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: sample
@ddnosh
ddnosh commentedon Apr 9, 2019
@netgb 已提交更新
netgb commentedon Apr 20, 2019
AS 3.4版本,gradle插件3.4,gradle版本5.1.1,不能生成com.androidwind.annotation.TagService;
错误: 程序包com.androidwind.annotation不存在
换回来3.3.2gradle插件,4.10.2gradle版问题解决了。
netgb commentedon Apr 26, 2019
implementation 'la.xiong.androidquick:AndroidQuick:1.2.3'
@ddnosh
新建项目直接依赖库文件好像跑不起来,有解决方案吗
More than one file was found with OS independent path 'META-INF/rxjava.properties'
//解决:
app/build.gradle文件下修改添加以下内容解决了。
packagingOptions {//加上这写代码
pickFirst 'META-INF/*'
}
netgb commentedon Apr 26, 2019
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: treeview
WARNING: Configuration 'provided' is obsolete and has been replaced with 'compileOnly'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
Affected Modules: sample
AS重新检出项目还是会有错误提示!
netgb commentedon Apr 26, 2019
The Android Gradle plugin supports only Butterknife Gradle plugin version 9.0.0-rc2 and higher.
The following dependencies do not satisfy the required version:
root project 'AndroidQuick' -> com.jakewharton:butterknife-gradle-plugin:8.4.0
//解决:
butterknife插件改如下,能Run起来了
classpath 'com.jakewharton:butterknife-gradle-plugin:9.+'
ddnosh commentedon Apr 27, 2019
对,要加上这一段,可参考https://github.com/ddnosh/android-tiny-template 工程里面引用包的配置。