ورود

View Full Version : مشکل در اندروید استدیو



Ebrahimkh
شنبه 19 فروردین 1396, 21:53 عصر
سلام به همه عزیزان


من موقع بیلد گرفتن به این مشکل بر میخورم نمیدونم منظورش چیه ؟؟؟
چیکار باید بکنم
خواهشن راهنمایی کنید



C:\Users\Desktop\New folder (2)\Antivirus\Source\Antivirus\app\src\main\Androi dManifest.xml:16:5-18:41 Error:
uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services:10.2.1] C:\Users\Desktop\New folder (2)\Antivirus App\Source\Antivirus\app\build\intermediates\explo ded-aar\com.google.android.gms\play-services\10.2.1\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.play_services" to force usage


See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:app:processReleaseManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED




اینم از فایل گریدل



apply plugin: 'com.android.application'
//apply plugin: 'com.google.gms.google-services'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.developer.anti"
minSdkVersion 11
targetSdkVersion 23
versionCode 100
versionName '1.00'
//multiDexEnabled true
manifestPlaceholders = [onesignal_app_id: "1:70522:android:979dde3aa4e",
// Project number pulled from dashboard, local value is ignored.
onesignal_google_project_number: "7039522"]

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}


}

dependencies {
// compile 'com.google.firebase:firebase-core:10.2.1'
// compile project (':pushe-lib-1.2.0')
// compile 'com.google.android.gms:play-services-gcm:9.4.0'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
testCompile 'junit:junit:4.12'

compile 'com.google.android.gms:play-services:+'
compile 'com.liulishuo.magicprogresswidget:library:1.0.2'
compile 'com.github.jakob-grabner:Circle-Progress-View:1.2.8'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'joda-time:joda-time:2.9.2'
//
compile 'com.onesignal:OneSignal:3.+@aar'

// Required for OneSignal, even if you have added FCM.
compile 'com.google.android.gms:play-services-gcm:+'

// Required for geotagging
compile "com.google.android.gms:play-services-location:+"


}

Ebrahimkh
یک شنبه 20 فروردین 1396, 13:38 عصر
دوستان کسی نیست راهنمایی کنه ؟؟؟


این مشکل هم زمانی بوجود میاد که من از این سه خط در گریدل استفاده میکنم



compile 'com.onesignal:OneSignal:3.+@aar' compile 'com.google.android.gms:play-services-gcm:+'
compile "com.google.android.gms:play-services-location:+"

tux-world
دوشنبه 21 فروردین 1396, 11:28 صبح
میگه شما minSdkVersion رو یازده انتخاب کردید ولی با توجه به کتابخونه هایی که نصب کردید اونها نیاز دارن بالای ۱۴ باشه پس شما نمیتونید از ۱۱ استفاده کنید

Ebrahimkh
دوشنبه 21 فروردین 1396, 13:03 عصر
سلام دوست عزیز مینی رو روی 14 ست کردم بازم گیر میده این سه کتابخونه



compile 'com.onesignal:OneSignal:3.+@aar' compile 'com.google.android.gms:play-services-gcm:+'compile "com.google.android.gms:play-services-location:+"




وقتی علامت + رو به عدد تبدیل میکنم میشه ازش خروجی گرفت اما دیگه onesignal کار نمیکنه هرچی هست رو همین علامت + هست

بنظرتون چیکار باید بکنم

Ebrahimkh
پنج شنبه 24 فروردین 1396, 22:01 عصر
دوستان کسی نیست راهنمایی کنه ؟؟؟!!؟

Ebrahimkh
جمعه 25 فروردین 1396, 12:09 عصر
خداروشکر درستش کرد

فقط میخواست بجای علامت + عدد ورژن رو قرار بدم همین...خیلی راحت هم درست شد الان مثل شصتیر داره کار میکنه:لبخند: