firebase - Android app crash with Android 4.4.4 -
i'm working on android app works on marshmallow , lollipop crashes on kitkat.
this project build.gradle:
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.2' classpath 'com.google.gms:google-services:3.0.0' } } allprojects { repositories { jcenter() } } task clean(type: delete) { delete rootproject.builddir }
this app build.gradle:
apply plugin: 'com.android.application' android { compilesdkversion 23 buildtoolsversion '23.0.3' defaultconfig { applicationid "com.moover.moovenda.moover" minsdkversion 16 targetsdkversion 23 versioncode 1 versionname "1.0" multidexenabled true } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } dexoptions { javamaxheapsize "4g" } } dependencies { compile filetree(include: ['*.jar'], dir: 'libs') testcompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'com.android.volley:volley:1.0.0' compile 'com.google.code.gson:gson:2.4' compile 'com.android.support:support-v4:23.4.0' compile 'io.nlopez.smartlocation:library:3.2.4' compile 'net.danlew:android.joda:2.9.3.1' compile 'com.google.android.gms:play-services:9.2.0' compile 'com.android.support:multidex:1.0.1' compile 'com.github.gcacace:signature-pad:1.2.0' compile files('libs/cloudinary-android-1.2.2.jar') } apply plugin: 'com.google.gms.google-services'
and error get:
09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover i/selinux: function: selinux_android_load_priority [0], there no sepolicy file.
09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover i/selinux: function: selinux_android_load_priority [1], there no sepolicy version file.
09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover i/selinux: function: selinux_android_load_priority , priority 3. priority version ve=sepf_sm-g360f_4.4.4_a024
09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover e/selinux: [debug] get_category: variable seinfocat: default sensitivity: null, cateogry: null 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover e/selinux: seapp_context_lookup: str_security_ctx null 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover e/dalvikvm: >>>>> normal user 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover e/dalvikvm: >>>>> com.moover.moovenda.moover [ userid:0 | appid:10117 ] 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover e/selinux: [debug] get_category: variable seinfocat: default sensitivity: null, cateogry: null 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover e/selinux: seapp_context_lookup: str_security_ctx null 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover d/dalvikvm: late-enabling checkjni 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover i/libpersona: knox_sdcard checking 10117 09-20 18:20:00.629 22550-22550/com.moover.moovenda.moover i/libpersona: knox_sdcard not persona 09-20 18:20:00.679 22550-22550/com.moover.moovenda.moover d/timakeystoreprovider: in addtimasignatureservice 09-20 18:20:00.689 22550-22550/com.moover.moovenda.moover d/timakeystoreprovider: cannot add timasignature service, license check failed 09-20 18:20:00.689 22550-22550/com.moover.moovenda.moover d/activitythread: added timakesytore provider 09-20 18:20:00.719 22550-22550/com.moover.moovenda.moover d/activitythread: handlebindapplication:com.moover.moovenda.moover 09-20 18:20:00.749 22550-22550/com.moover.moovenda.moover w/dalvikvm: vfy: unable find class referenced in signature (lcom/google/firebase/firebaseoptions;) 09-20 18:20:00.749 22550-22550/com.moover.moovenda.moover e/dalvikvm: not find class 'com.google.firebase.firebaseoptions', referenced method com.google.firebase.firebaseapp.
thanks vallon solved, missing manifest inside application tag
android:name="android.support.multidex.multidexapplication"
Comments
Post a Comment