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

Difference between BatteryManager.EXTRA_SCALE and BatteryManager.EXTRA_LEVEL
Do binding a same IntentService many times will create a queue of request?
How does NAT in 3G works
VerticalGridView scrolls horizontally
ImageView not keeping state when screen rotates in Android
Implementation of Session Time Outs in Android
Change TextView when Navigation Drawer Item is selected
Titanium : Application showing main contents on splash screen instead of main window
how to upgrade ViewPager from its pages
Android Studio - Top Level Exception - Support Lib via maven
Arrangement views in Layout
crashlytics android studio gradle build failed
Can we Open Multiple DrawerLayout in One Activity
Replaced views in LinearLayout programmatically
Android - Optimize GridView Scrolling
Stretch swipe tabs width to fill whole space

Categories

HOME
fabricjs
jpa
design-patterns
delphi-7
jmeter
yahoo-finance
solaris
google-apps
limit
jetty
banner
performancepoint
pcl-crypto
endeca
mel
resultset
jsonpath
nancy
do-while
dreamweaver
google-data-studio
pyramid
googlebot
rubymotion
blade
cgbitmapcontext
dpdk
question2answer
postscript
mongoid6
exploit
interpreter
windows-server-2003
stackexchange
jasmine-node
soot
errbot
uitapgesturerecognizer
sqlpackage
google-earth
google-cast
autolisp
clickjacking
dsx-desktop
pop3
openerp-7
ideascript
protein-database
bc
diacritics
demo
bindingnavigator
berkeley-db-je
apache-spark-dataset
memory-mapping
pom.xml
libgphoto2
magento-2.0.7
yii2-api
java-bytecode-asm
filehandle
lsyncd
mouseleave
cpu-cache
universal-analytics
smartfoxserver
chromium-os
cubism.js
webjars
google-cloud-console
clipboard.js
google-query-language
mediametadataretriever
cycle2
sapi
intel-c++
extjs-grid
binomial-theorem
keyup
apache-spark-1.3
raygun
memset
dsym
android-usb
jammer
hidapi
scmmanager
onload-event
asplinkbutton
robotlegs
idn
saleslogix
catransform3d
strsep
http-daemon
inline-formset
django-paypal
load-time
silent
object-database
easyb
nstokenfield
pagemethods
django-piston
lxr
ifilter

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