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

Formatting a Simple Cursor Adapter
A fragment and 2 activity that use the fragment
Avoid passing null as the view root (needed to resolve layout parameters on the inflated layout's root element)
Keyboard overlaps Edit Text
Android: Handle backspace on InputFilter
Power save mode Android Lollipop
ScrolledListView in Android
ProgressDialog disappear before everything is loaded
Add Smart App Banner for iOS & Android on specific page
Find out android runtime version
Notification icon does not load drawable due locale
Tips for optimizing build time in Android studio?
How to stop a thread(progressbar) in android
Change Color onClick and background on Focus
android.view.InflateException: Binary XML file line #45: Error inflating class fragment
can't replace fragment within fragment

Categories

HOME
cygwin
eclipse
fabricjs
design-patterns
ecmascript-6
oracle-apex-5
package
gradient
replace
newrelic
spring-data-mongodb
rom
jquery-ui
angularfire2
trac
title
computer-science
activecollab
libc
symbol
scsi
vuejs
replication
windows-xp
rubymotion
href
gulp-watch
pagespeed
monit
xunit
mount
pic32
opentk
pylons
apktool
datastax-enterprise-graph
sinch
autodesk-designautomation
eviews
cognos-bi
turfjs
jbutton
code-snippets
roblox
engine.io
protege4
plaintext
softmax
dbnull
photos
dapper-simplecrud
openresty
serde
dotnet-httpclient
mongotemplate
pure-css
redbeard-ios
centrifuge
watch-os-2
macaulay2
embedding
omniauth-facebook
data-protection
libav
cycle2
wiredep
roadkill-wiki
nutiteq
uvc
adehabitathr
infosphere-spl
mdichild
jqmodal
jquery-slider
vbe
synapse
drupal-nodes
model-driven-development
beaker-testing
asplinkbutton
argouml
wimax
device-width
onmousemove
correlated-subquery
extconf.rb
urlrewriter
android-holo-everywhere
quotation-marks
photolibrary
drupal-fivestar
blender-2.49
sifr
unmanagedresources
movieplayer

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