APN: unable to add new apn

36

0

2019-01-05 02:06

Show all posts
I own an M6 Note with Flyme 7.1.0.0G.
The APN screen won't allow to add any APN and go back to Settings without doing nothing.

I went Settings -> SIM and Networks -> APN -> Add APN.

I've inserted the Name and the APN as mentioned by my network provider.

If I tap Save the screen go back to Settings without saving nothing. The same issue even if I tap Update APN Online, by the way.

So I installed Log Report and I found in a snapshot log this:

*****************************
dropbox anr and crash message
*****************************print system_app_crash-7b38bd37-129f-4acd-a8ee-55de7f3af3cb@1546617931723.txt.gz
Process: com.meizu.connectivitysettings
Flags: 0x38c83e45
Package: com.meizu.connectivitysettings v7000103 (7.0.103)
Foreground: No
Build: Meizu/meizu_M6Note/M6Note:7.1.2/N2G47H/m1721.Flyme_7.0.1539977208:user/release-keys

android.database.sqlite.SQLiteException: no such column: sourcetype (code 1): , while compiling: UPDATE  OR REPLACE carriers SET mvno_match_data=?,password=?,mvno_type=?,mmsc=?,roaming_protocol=?,numeric=?,authtype=?,user=?,edited=?,protocol=?,sourcetype=?,mnc=?,mmsport=?,bearer=?,proxy=?,mmsproxy=?,current=?,server=?,name=?,port=?,mcc=?,apn=?,type=? WHERE _id=?
        at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:179)
        at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
        at android.content.ContentProviderProxy.update(ContentProviderNative.java:568)
        at android.content.ContentResolver.update(ContentResolver.java:1421)
        at com.meizu.connectivitysettings.ApnEditor.validateAndSave(ApnEditor.java:821)
        at com.meizu.connectivitysettings.ApnEditor.onSaveInstanceState(ApnEditor.java:725)
        at android.app.Fragment.performSaveInstanceState(Fragment.java:2515)
        at android.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1771)
        at android.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1828)
        at android.app.FragmentController.saveAllState(FragmentController.java:112)
        at android.app.Activity.onSaveInstanceState(Activity.java:1516)
        at android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:570)
        at flyme.support.v7.app.AppCompatActivity.onSaveInstanceState(AppCompatActivity.java:513)
        at android.app.Activity.performSaveInstanceState(Activity.java:1445)
        at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1309)
        at android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:4774)
        at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4083)
        at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4148)
        at android.app.ActivityThread.-wrap25(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1672)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6377)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:939)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:829)


Looking the stack trace of the log above the issue seems to be from this line: android.content.ContentProviderProxy.update(ContentProviderNative.java:568)

Any suggestion how to solve?