android


Android error cannot acess AbstractSafeParcelable


I'm tryind add firebase remote config to my project, but it is conflicting with the version of my gms, the error code:
Error:(674, 25) error: cannot access AbstractSafeParcelable
class file for com.google.android.gms.common.internal.safeparcel.AbstractSafeParcelable not found
And when i click its send me for this method of my project:
protected void RequestLocation() {
locationRequest = new LocationRequest();
locationRequest.setInterval(10000); // for this line
locationRequest.setFastestInterval(5000);
locationRequest.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY);
}
I tried some suggestions that I found in the stackoverflow itself, like changing the version of gms to 10.0.1 but ends up generating another error:
Error:Execution failed for task ':app:processDebugGoogleServices'.
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.2.
My original build.gradle can be checked here:`apply plugin:
'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "my.editable.project"
minSdkVersion 15
targetSdkVersion 23
versionCode 28
versionName "1.4.4"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
}
lintOptions {
disable 'MissingTranslation'
checkReleaseBuilds false
}
dexOptions {
javaMaxHeapSize "4g"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile files('libs/ksoap2-android-assembly-3.5.0-jar-with-dependencies.jar')
//compile files('libs/gcm.jar')
//compile files('libs/gcm-src.jar')
compile project(':firebase_plugin')
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.google.android.gms:play-services:9.0.2'
compile 'com.google.android.gms:play-services-ads:9.0.2'
compile 'com.google.android.gms:play-services-auth:9.0.2'
compile 'com.google.android.gms:play-services-gcm:9.0.2'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.google.firebase:firebase-config:10.0.1'
}
apply plugin: 'com.google.gms.google-services'`

Related Links

Hierarchy viewer doesn't display items
How to show menu item in android application on click
Android Emulator does not appear
java.lang.NoClassDefFoundError: com.google.gson.Gson
Decode html before showing it in AlertDialog Android
How to do two things that require the UI to update inside onCheckedChanged()?
Facebook sdk for Android - Get friends' Staus
Android: activity referesh when noification fire
AOSP : Unkown C++ headers ( no such file or directory for <vector>, <iostream>, .. >
android microphone speak activity (speech) - not recording
Android draw area from Bitmap or Imageview with canvas
Eclipse not found package android.view
Setup Wi-Fi from an Android app
How to create an Android app that can capture the global touch screen events when user is playing with another app?
Bluetooth Low Energy device scanning Failed with an exception
Seek Bar funcationality with custom ui elements

Categories

HOME
windows
google-app-engine
ng-idle
apache-flink
pda
datastore
saml-2.0
alsa
onclick
google-admin-sdk
azure-container-service
odoo-8
gson
resultset
gkturnbasedmatch
frequency-distribution
heat
event-sourcing
powershell-v5.0
aws-sdk
feathersjs
mapstruct
replication
symbols
rubymotion
dynamically-generated
xcode-ui-testing
pic32
jquery-multiselect
asymptotic-complexity
fractions
8051
handler
rpgle
spring-security4
hreflang
sendbird
joomla2.5
hunspell
openalpr
levenshtein-distance
preloader
plr
placeholder
avcapturedevice
opencmis
spring-integration-sftp
launchctl
wpas
monkey
pybrain
objectscript
choice
stax
parfor
lrs
greatest-n-per-group
signalr.client
nikeplus-api
swizzling
embedding
libav
crouton-os
libvlc
dynamics-nav-2016
linklabel
themoviedb-api
phonertc
slash
baasbox
liquid-layout
airbrake
apache-commons-daemon
code-documentation
delayed-execution
angular-gettext
contrast
spy++
mintty
alternate
fpdi
dsym
mt4j
embedded-fonts
process-explorer
superscrollorama
midlet
paginator
stress
jquery-address
hibernateexception
agility.js
landscape-portrait
fsevents
catransform3d
listactivity
entitydatasource
jqote
twitterizer
luajava
aspmenu
cldc
wysiwym
unmanagedresources
blind
image-capture

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App