Comments (2)
Can you share the build.gradle file & your project structure? It should work just fine.
from viewinspector.
buildscript {
repositories {
// jcenter{
// url 'http://jcenter.bintray.com'
// }
maven{
url 'http://repo1.maven.org/maven2/'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.2.1'
// classpath 'com.github.xfumihiro.view-inspector:view-inspector-plugin:0.1.1'
}
}
plugins {
id "me.zhangls.mulchannel" version "0.0.2"
}
allprojects {
repositories {
// jcenter{
// url 'http://jcenter.bintray.com'
// }
maven{
url 'http://repo1.maven.org/maven2/'
}
}
}
apply from: './my.gradle'
apply plugin: 'com.android.application'
apply plugin: 'com.getkeepsafe.dexcount'
//apply plugin: 'view-inspector'
android {
compileSdkVersion 22
buildToolsVersion "23.0.0"
// useLibrary 'org.apache.http.legacy'
defaultConfig {
minSdkVersion 11
targetSdkVersion 21
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDirs = ['libs']
}
// Move the tests to tests/java, tests/res, etc...
instrumentTest.setRoot('tests')
// Move the build types to build-types/<type>
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
// This moves them out of them default location under src/<type>/... which would
// conflict with src/ being used by the main source set.
// Adding new build types or product flavors should be accompanied
// by a similar customization.
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
lintOptions {
abortOnError false
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}
dependencies {
compile fileTree(include: '*.jar', dir: 'libs')
compile project(':library:load-more')
compile project(':library:ptr-lib')
compile project(':library:MainLibs')
compile project(':library:OneKeyShare')
compile 'com.squareup.picasso:picasso:2.5.2'
}
from viewinspector.
Related Issues (20)
- Resources$NotFoundException when logging is enabled HOT 1
- Crash on Probe Measures when layout contains FitWindowsLinearLayout HOT 3
- 0.1.4 compile failed HOT 1
- i have a ClassCastException, do you know how to solve it ? HOT 1
- cannot use with android data binding HOT 1
- Probe measure not working properly in "ActionBarOverlayLayout as viewParent" case
- FileNotFoundException on AndroidManifest.xml
- ProbeProxy$kankan_wheel_widget_WheelView HOT 4
- java.lang.NoSuchFieldError HOT 7
- 貌似不能与LeakCanary兼容 HOT 3
- Wrong package of SurfaceView HOT 1
- Project doesn't compile if you use SurfaceView HOT 1
- how can I debug Plugin code? HOT 3
- java.lang.VerifyError: com/appl/carouselwidget/MainActivity$AjcClosure1 HOT 1
- 顶部的那些按钮出不来,viewpager里的fragment切换页面就变成一片空白 HOT 1
- Overlay Error
- Overlay Error HOT 2
- [optional] Working with Stetho
- ProbeProxy$android_widget_import
- can‘t compile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewinspector.