Aller au contenu
View in the app

A better way to browse. Learn more.

Forum de Frandroid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

no such table : PrincipauxSites

Featured Replies

Posté(e)

Bonjour,

j'ai ce message d'erreur dans le log d'erreur sur http://www.flurry.com

class java.lang.RuntimeException
Unable to start activity ComponentInfo{dz.algerie.android.information/dz.algerie.android.information.PrincipauxSites}
android.database.sqlite.SQLiteException: no such table: PrincipauxSites
while compiling: SELECT Descriptif_FR	 _id	 Image	 Reference

j'attende votre aide

merci d'avance

bonne journée

a+

  • 1 month later...
Posté(e)
  • Auteur

Bonjour,

up up,

il y a pas une solution à ce problème

a+

Posté(e)

Bah c'est comme au port Salut, c'est marqué d'ssus ;)

Ta table PrincipauxSites n'existe pas, et tu essayes d'y ajouter des infos ou d'en selectionner...

Posté(e)
  • Auteur

bonjour,

merci pour votre réponse,

avant cette table n'existe pas dans l'ancien version, j'ai ajoute après : Un problème avec la Database dans les mises à jour

Bonjour,

J’ai un problème avec les mises à jour si je modifié la Database (j’ajoute des nouvelles Tables, ou des nouveaux colonnes)

Chez des utilisateurs ils on un CF comme ce dernier :

java.lang.RuntimeException: Unable to start activity ComponentInfo{dz.algerie.android.information/dz.algerie.android.information.Bienvenue}: android.database.sqlite.SQLiteException: no such table: Bienvenue: , while compiling: SELECT _id, Bienvenue_FR, Bienvenue_EN FROM Bienvenue WHERE (_id=?) ORDER BY _id
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2833)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2854)
at android.app.ActivityThread.access$2300(ActivityThread.java:136)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2179)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5068)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: no such table: Bienvenue: , while compiling: SELECT _id, Bienvenue_FR, Bienvenue_EN FROM Bienvenue WHERE (_id=?) ORDER BY _id
at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:80)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:46)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:53)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1417)
at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:351)
at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:301)
at dz.algerie.android.information.Provider.query(Provider.java:428)
at android.content.ContentProvider$Transport.query(ContentProvider.java:169)
at android.content.ContentResolver.query(ContentResolver.java:245)
at android.app.Activity.managedQuery(Activity.java:1559)
at dz.algerie.android.information.Bienvenue.onCreate(Bienvenue.java:31)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1066)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2797)
... 11 more

Cette table Bienvenue (qu’est indiqué dans le message d’erreur), existe dans la nouvelle Database, mais il n’est pas disponible dans l'ancien Database.

voila l'ancien version de Database :

database1.jpg

voila la nouvelle version de Database :

database2.jpg

Je pense que dans la mise à jour il ne recopier pas les nouvelles tables.

Modifié par salimdz

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Account

Navigation

Rechercher

Rechercher

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.