نوشته شده توسط
soltanMohammad
سلام
چرا اسکرین شات از صفحه اکتیویتی دادی؟!
محتویات فایل app/build.gradle رو بده ببینیم
به نظرم اول یه پروژه خالی ایجاد کن و ببین سینک میشه یا نه
سلام.من الان دیدم جواب دادید
هنوز مشکلم حل نشده.پروژه خالی سینک میشه.
اینم محتویات گردل:
apply plugin: 'com.android.application'
/*allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}*/
android {
compileSdkVersion 27
buildToolsVersion '27.0.2'
defaultConfig {
applicationId "***"
minSdkVersion 15
targetSdkVersion 27
versionCode 7
versionName "1.7"
multiDexEnabled true
vectorDrawables.useSupportLibrary = true
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunne r"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
useLibrary 'org.apache.http.legacy'
}
configurations {
all {
exclude module: 'httpclient'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
//implementation fileTree(include: ['*.jar'], dir: 'libs')
//noinspection GradleCompatible
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support:design:27.0.2'
compile 'com.android.support:support-v4:27.0.2'
compile 'com.android.support:recyclerview-v7:27.0.2'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.jakewharton:butterknife:8.8.1'
compile 'com.jakewharton:butterknife-compiler:8.8.1'
compile 'com.iarcuschin:simpleratingbar:0.1.5'
compile 'de.hdodenhof:circleimageview:2.2.0'
compile 'com.google.code.gson:gson:2.8.2'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.pnikosis:materialish-progress:1.7'
compile 'org.scribe:scribe:1.3.5'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.facebook.android:facebook-login:[4,5)'
// implementation 'com.google.firebase:firebase-auth:11.8.0'
// implementation 'com.google.android.gms:play-services-auth:11.8.0'
// implementation 'com.google.firebase:firebase-messaging:11.8.0'
// implementation 'com.google.firebase:firebase-crash:11.8.0'
// implementation 'com.google.android.gms:play-services-location:11.8.0'
// implementation 'com.google.android.gms:play-services-ads:11.8.0'
// implementation 'com.google.android.gms:play-services:11.8.0'
compile 'com.android.support:multidex:1.0.1'
compile 'org.sufficientlysecure:html-textview:3.5'
compile 'co.ronash.android:pushe-base:1.4.3'
// implementation 'com.android.volley:volley:1.1.0'
}
//apply plugin: 'com.google.gms.google-services'