android.database.sqlite.SQLiteException

no such function: printf (code 1): , while compiling: SELECT null AS host,printf("wear://%s%s",host,path) AS path,data AS data,'' AS tags,assetname AS asset_key,assets_digest AS asset_id FROM dataItemsAndAssets WHERE packageName = ? AND signatureDigest = ? AND path LIKE ? AND deleted=0 AND assetsPresent !=0

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1076

  • via Stack Overflow by java progammera
    ,
  • via GitHub by door43app
    ,
  • Stack trace

    • android.database.sqlite.SQLiteException: no such function: printf (code 1): , while compiling: SELECT null AS host,printf("wear://%s%s",host,path) AS path,data AS data,'' AS tags,assetname AS asset_key,assets_digest AS asset_id FROM dataItemsAndAssets WHERE packageName = ? AND signatureDigest = ? AND path LIKE ? AND deleted=0 AND assetsPresent !=0 at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889) at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500) at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588) at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58) at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37) at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44) at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1314) at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1253) at org.microg.gms.wearable.NodeDatabaseHelper.getDataItemsForDataHolderByHostAndPath(NodeDatabaseHelper.java:91) at org.microg.gms.wearable.WearableImpl.getDataItemsByUriAsHolder(WearableImpl.java:461) at org.microg.gms.wearable.WearableServiceImpl$9.run(WearableServiceImpl.java:187) at org.microg.gms.wearable.WearableServiceImpl$CallbackRunnable.run(WearableServiceImpl.java:498) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5179) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566) at dalvik.system.NativeStart.main(Native Method)[ 01-08 20:02:03.016 3157: 3174 D/SafeParcel ]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    mrokay97mrokay97
    Once,
    RiyazRiyaz
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    108 more bugmates