Open Echoyz opened 8 years ago
这个不是jar包的形式,用的gradle依赖。你是Android studio吗?
恩恩,是studio,只需要添加依赖就行了吗,我添加了,但是还是还用不了呢?
[`诶...不好意思,现在可以用了。。-=-=-‘’。。
我以为全部都是需要添加好包再添加依赖地,诶..那那个呢,我没有找到改变点击后设置背景的监听呢?嘿嘿,能不能给我指导一下呢?谢谢拉~
你可以把项目下载下去看看源码,里面有个Demo实例,然后跟踪方法去看具体的设置实现
Information:Gradle tasks [:bian_mintou_P2P:generateDebugSources, :bian_mintou_P2P:generateDebugAndroidTestSources, :bian_mintou_P2P:mockableAndroidJar, :bian_mintou_P2P:prepareDebugUnitTestDependencies, :easeui:generateDebugSources, :easeui:mockableAndroidJar, :easeui:prepareDebugUnitTestDependencies, :easeui:generateDebugAndroidTestSources, :library_PullToRefresh:generateDebugSources, :library_PullToRefresh:generateDebugAndroidTestSources, :library_PullToRefresh:mockableAndroidJar, :library_PullToRefresh:prepareDebugUnitTestDependencies] /Users/uncle_sun/Desktop/fw_P2P_2/bian_mintou_P2P/build/intermediates/res/merged/debug/values-v23/values-v23.xml Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. Error:(33) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'. Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'. Error:(33) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'. Error:Execution failed for task ':bian_mintou_P2P:processDebugResources'.
com.android.ide.common.process.ProcessException: Failed to execute aapt Information:BUILD FAILED Information:Total time: 19.536 secs Information:5 errors Information:0 warnings Information:See complete output in console
已经让这个问题正的郁闷了,问题是什么,是sdk的版本还有要求么?
嗯应该是版本问题,你可以试试1.2,或者把项目里面的lib项目拷贝到自己项目的lib,适配自己的版本
请问你的包在哪里呀,我下下来之后只有一个test类呢,我要怎么将其放进我的libs里面呀