Issue
I find an issue when running my project in android studio what i see when i try to run is
0 test classes found in package 'drawable'
Process finished with exit code -1
Empty test suite.
Though I have searched for this issue I couldn't find a solution I even tried to invalidate cache and restart the project but still it doesn't works. This issue is only being caused for only this particular project however for a new project i make everything works smooth.
My gradle file
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.1"
defaultConfig {
applicationId "com.jiit.minor2.shubhamjoshi.human"
minSdkVersion 17
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:24.1.1'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.facebook.android:facebook-android-sdk:[4,5)'
compile 'com.android.support:design:24.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'org.jsoup:jsoup:1.8.3'
compile 'com.firebase:firebase-client-android:2.5.2+'
compile 'com.github.amlcurran.showcaseview:library:5.4.3'
compile 'com.firebaseui:firebase-ui:0.3.1'
compile files('libs/twitter4j-core-4.0.4.jar')
}
My project structure
Thanks In advance.
Solution
There is nothing wrong with your project. This is happening because you are trying to run drawable in app. From the drop down select app and then run. It will be OK.
Answered By - Sanjeet
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.