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

Client gets timeout response before server responds
Butterknife binding outside of activity
When calling service, onCreate is run but not onStartCommand()
Fragment not attached to Activity when back pressed
How to make MediaPlayer wait for ObjectAnimator (and generally control Android UI sequence)?
How to change an element of a RecyclerView from one that is inside of it
simpleAdapter() in simpleAdapter cannot be applied
GLES20.glReadPixels gets all zero in android
After a certain gridview item has been clicked, and the image is enlarged, how can I put text beneath the image?
How to set ImageButton property of app:srcCompat=“#drawable/pic” programmatically?
Android Emulator Not Displaying The App Correctly (Android Studio)
How do I use meanshift in the NDK with opencv?
Requesting Permissons at runtime doesn't work
Excluding asset resources from code analysis in android studio
AccountAuthenticatorActivity after splash screen
removing build folder from git

Categories

HOME
api
ggplot2
nvd3.js
object
datastore
depth
jmx
youtube-data-api-v3
toolbox
jsf-2.2
replace
bitbucket-api
javacc
polling
azure-container-service
arangodb
augeas
32bit-64bit
resultset
php-5.6
internationalization
null-pointer
chargify
digital-signature
delphi-xe5
react-toolbox
aggregation
gmock
jquery-multiselect
delimiter
bringtofront
kudu
cognos-bi
baidu-map
reason
docfx
google-knowledge-graph
apache-stanbol
apriori
datacachefactory
plr
oracle-service-bus
knime
uiimage
pom.xml
sonarlint-eclipse
launchctl
identification
quicktime
donations
actor-platform
xdoclet
firebase-security
hadoop-partitioning
boost-serialization
ikiwiki
nio2
user-management
jnlua
ember-cli-rails
pyobjc
cwrsync
teamcity-9.1
user-permissions
exceldatareader
android-vibration
psr-4
mobility
authlogic
android-usb
gtm-oauth2
script#
inappsettingskit
insert-id
twisted.web
fragmenttransaction
matlab-load
winmain
lr
tournament
clrstoredprocedure
folding
scrollbars
cfwindow
lobo-cobra
scrubyt
contentpresenter
wcf-proxy
cardspace
pnrp

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