Я усердно работал около года и создал приложение. Подписал его и загрузил в игровой магазин как бета-версию. Я отладил и протестировал приложение - приложение работает хорошо. 6 из 10 человек смогли установить приложение и запустить его. Но на остальных устройствах в магазине приложений отображается код ошибки - 504 и код ошибки - 108.
В мой градиент Я оказал поддержку многим устройствам с minSdk всего 15.
Похоже, что приложение работает нормально в Android 7.1 на одном устройстве. Но другие устройства с той же версией Android и конфигурациями... показывают ошибку во время установка ..или загрузка ..!(код-504 / код -108)
Могут ли эти ошибки появиться из-за моих файлов Gradle или Mainifest?
вот фрагмент моих файлов:-
build.gradle(project)
< div class="snippet">
Код: Выделить всё
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.google.gms:google-services:3.2.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
build.gradle (Модуль)
Код: Выделить всё
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.backbenchers.administrator.instaclone"
minSdkVersion 15
targetSdkVersion 27
versionCode 2
versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
//firebase core
implementation 'com.google.firebase:firebase-core:10.2.6'
//bottom navigation view lib
implementation 'com.github.ittianyu:BottomNavigationViewEx:1.2.4'
//circle image view
implementation 'de.hdodenhof:circleimageview:2.2.0'
//universal image loader
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
//firebase authentication
implementation 'com.google.firebase:firebase-auth:10.2.6'
//firebase realtime database
implementation 'com.google.firebase:firebase-database:10.2.6'
//firebase storage
implementation 'com.google.firebase:firebase-storage:10.2.6'
//recycler view
implementation 'com.android.support:recyclerview-v7:27.0.2'
//cardview
implementation 'com.android.support:cardview-v7:27.0.2'
//custom tabs chrome lib
implementation 'com.android.support:customtabs:27.0.2'
//play services auth
implementation 'com.google.android.gms:play-services-identity:10.2.6'
implementation 'com.google.android.gms:play-services-auth:10.2.6'
///there are more library implemetations...
//youtube api
implementation files('libs/YouTubeAndroidPlayerApi.jar')
}
///Firebase
apply plugin: 'com.google.gms.google-services'
Manifest.xml
Код: Выделить всё
.....all other activities used in the app...remains here
ошибка не связана с какой-либо проблемой в catch или настройки этих устройств..Я думаю, что-то не так в коде..
пожалуйста, помогите мне узнать потенциальные причины в коде, которые могут вызвать эти ошибки...! ...я потерялся....!
Подробнее здесь: https://stackoverflow.com/questions/502 ... -playstore