SQLite db file not found on Android The Next CEO of Stack OverflowHow to list the tables in a SQLite database file that was opened with ATTACH?Is there a way to run Python on Android?How do save an Android Activity state using save instance state?Close/hide the Android Soft KeyboardWhy is the Android emulator so slow? How can we speed up the Android emulator?Improve INSERT-per-second performance of SQLite?What are the best practices for SQLite on Android?Is there a unique Android device ID?Proper use cases for Android UserManager.isUserAGoat()?Why does my exception handler not trap Android SQLite insert error?

Term for the "extreme-extension" version of a straw man fallacy?

Whats the best way to handle refactoring a big file?

What is the purpose of the Evocation wizard's Potent Cantrip feature?

Return the Closest Prime Number

When did Lisp start using symbols for arithmetic?

Why is Miller's case titled R (Miller)?

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?

How to be diplomatic in refusing to write code that breaches the privacy of our users

Why Were Madagascar and New Zealand Discovered So Late?

What is the difference between "behavior" and "behaviour"?

Can a caster that cast Polymorph on themselves stop concentrating at any point even if their Int is low?

Customer Requests (Sometimes) Drive Me Bonkers!

Unreliable Magic - Is it worth it?

Is it okay to store user locations?

Removing read access from a file

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

If the heap is initialized for security, then why is the stack uninitialized?

Implement the Thanos sorting algorithm

Fastest way to shutdown Ubuntu Mate 18.10

Can a single photon have an energy density?

Is a stroke of luck acceptable after a series of unfavorable events?

How do I construct this japanese bowl?

Anatomically Correct Mesopelagic Aves



SQLite db file not found on Android



The Next CEO of Stack OverflowHow to list the tables in a SQLite database file that was opened with ATTACH?Is there a way to run Python on Android?How do save an Android Activity state using save instance state?Close/hide the Android Soft KeyboardWhy is the Android emulator so slow? How can we speed up the Android emulator?Improve INSERT-per-second performance of SQLite?What are the best practices for SQLite on Android?Is there a unique Android device ID?Proper use cases for Android UserManager.isUserAGoat()?Why does my exception handler not trap Android SQLite insert error?










0















I am not able to find the db file where the database adapter is created a db and table. But i could see that the data is getting saved but i am not able to find my db file in my directories.
But i am able to save the entries and viewed on my screen.
Here is my DBAdapter class where i am creating the db..



public class DBAdapter 

private static final String DB_NAME = "clientList.db";
private static final int DB_VERSION = 1;
private static final String TABLE_CLIENT = "CLIENT";
private static final String COLUMN_CLIENT_ID = "CLIENT_ID";
private static final String COLUMN_CLIENT_NAME = "CLIENT_NAME";


private static final String query = "create table test_1 " + " (COLUMN_CLIENT_ID integer primary key, COLUMN_CLIENT_NAME text)";


private Context context;
private SQLiteDatabase sqliteDatabase;
private static DBAdapater dbAdapaterInstance;


private DBAdapater(Context context)
this.context = context;
sqliteDatabase = new DatabaseHelper(this.context,DB_NAME,null,DB_VERSION).getWritableDatabase();


public static DBAdapater getDbAdapaterInstance(Context context)
if(dbAdapaterInstance == null)
dbAdapaterInstance = new DBAdapater(context);

return dbAdapaterInstance;



public boolean insert(int clientId , String name )
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_ID,clientId);
contentValues.put(COLUMN_CLIENT_NAME,name);
return sqliteDatabase.insert(TABLE_CLIENT,null,contentValues)>0;


public boolean delete(int ClientID)
return sqliteDatabase.delete(TABLE_CLIENT, COLUMN_CLIENT_ID + "=" + ClientID,null)>0;


public boolean modify(int ClientID , String newClient)
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_NAME,newClient);
return sqliteDatabase.update(TABLE_CLIENT,contentValues,COLUMN_CLIENT_ID + "=" + ClientID,null)>0;



public List<DataBean> getClient()
List<DataBean> clientInfo = new ArrayList<DataBean>();
Cursor cursor = sqliteDatabase.query(TABLE_CLIENT , new String[]COLUMN_CLIENT_ID,COLUMN_CLIENT_NAME,null,null,null,null,null,null);
if(cursor != null && cursor.getCount()>0)
while (cursor.moveToNext())
DataBean clientBean = new DataBean(cursor.getLong(0), cursor.getString(1));
clientInfo.add(clientBean);


return clientInfo;


//purpose of this class is to help outer class
public class DatabaseHelper extends SQLiteOpenHelper


public DatabaseHelper(Context context , String databaseName , SQLiteDatabase.CursorFactory factory , int dbVersion)
super(context, databaseName , factory , dbVersion);




@Override
public void onCreate(SQLiteDatabase db)

db.execSQL(query);



@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)







Here is my bean class



public class DataBean 

private long id;
private String clientName;
private String address;


public DataBean()
super();


public DataBean(long id , String clientName)
this.id = id;
this.clientName = clientName;


public long getId()
return id;


public void setId(long id)
this.id = id;


public String getClientName()
return clientName;


public void setClientName(String clientName)
this.clientName = clientName;











share|improve this question
























  • Welcome to Stack Overflow! Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?.

    – Zoe
    Mar 8 at 12:49















0















I am not able to find the db file where the database adapter is created a db and table. But i could see that the data is getting saved but i am not able to find my db file in my directories.
But i am able to save the entries and viewed on my screen.
Here is my DBAdapter class where i am creating the db..



public class DBAdapter 

private static final String DB_NAME = "clientList.db";
private static final int DB_VERSION = 1;
private static final String TABLE_CLIENT = "CLIENT";
private static final String COLUMN_CLIENT_ID = "CLIENT_ID";
private static final String COLUMN_CLIENT_NAME = "CLIENT_NAME";


private static final String query = "create table test_1 " + " (COLUMN_CLIENT_ID integer primary key, COLUMN_CLIENT_NAME text)";


private Context context;
private SQLiteDatabase sqliteDatabase;
private static DBAdapater dbAdapaterInstance;


private DBAdapater(Context context)
this.context = context;
sqliteDatabase = new DatabaseHelper(this.context,DB_NAME,null,DB_VERSION).getWritableDatabase();


public static DBAdapater getDbAdapaterInstance(Context context)
if(dbAdapaterInstance == null)
dbAdapaterInstance = new DBAdapater(context);

return dbAdapaterInstance;



public boolean insert(int clientId , String name )
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_ID,clientId);
contentValues.put(COLUMN_CLIENT_NAME,name);
return sqliteDatabase.insert(TABLE_CLIENT,null,contentValues)>0;


public boolean delete(int ClientID)
return sqliteDatabase.delete(TABLE_CLIENT, COLUMN_CLIENT_ID + "=" + ClientID,null)>0;


public boolean modify(int ClientID , String newClient)
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_NAME,newClient);
return sqliteDatabase.update(TABLE_CLIENT,contentValues,COLUMN_CLIENT_ID + "=" + ClientID,null)>0;



public List<DataBean> getClient()
List<DataBean> clientInfo = new ArrayList<DataBean>();
Cursor cursor = sqliteDatabase.query(TABLE_CLIENT , new String[]COLUMN_CLIENT_ID,COLUMN_CLIENT_NAME,null,null,null,null,null,null);
if(cursor != null && cursor.getCount()>0)
while (cursor.moveToNext())
DataBean clientBean = new DataBean(cursor.getLong(0), cursor.getString(1));
clientInfo.add(clientBean);


return clientInfo;


//purpose of this class is to help outer class
public class DatabaseHelper extends SQLiteOpenHelper


public DatabaseHelper(Context context , String databaseName , SQLiteDatabase.CursorFactory factory , int dbVersion)
super(context, databaseName , factory , dbVersion);




@Override
public void onCreate(SQLiteDatabase db)

db.execSQL(query);



@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)







Here is my bean class



public class DataBean 

private long id;
private String clientName;
private String address;


public DataBean()
super();


public DataBean(long id , String clientName)
this.id = id;
this.clientName = clientName;


public long getId()
return id;


public void setId(long id)
this.id = id;


public String getClientName()
return clientName;


public void setClientName(String clientName)
this.clientName = clientName;











share|improve this question
























  • Welcome to Stack Overflow! Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?.

    – Zoe
    Mar 8 at 12:49













0












0








0








I am not able to find the db file where the database adapter is created a db and table. But i could see that the data is getting saved but i am not able to find my db file in my directories.
But i am able to save the entries and viewed on my screen.
Here is my DBAdapter class where i am creating the db..



public class DBAdapter 

private static final String DB_NAME = "clientList.db";
private static final int DB_VERSION = 1;
private static final String TABLE_CLIENT = "CLIENT";
private static final String COLUMN_CLIENT_ID = "CLIENT_ID";
private static final String COLUMN_CLIENT_NAME = "CLIENT_NAME";


private static final String query = "create table test_1 " + " (COLUMN_CLIENT_ID integer primary key, COLUMN_CLIENT_NAME text)";


private Context context;
private SQLiteDatabase sqliteDatabase;
private static DBAdapater dbAdapaterInstance;


private DBAdapater(Context context)
this.context = context;
sqliteDatabase = new DatabaseHelper(this.context,DB_NAME,null,DB_VERSION).getWritableDatabase();


public static DBAdapater getDbAdapaterInstance(Context context)
if(dbAdapaterInstance == null)
dbAdapaterInstance = new DBAdapater(context);

return dbAdapaterInstance;



public boolean insert(int clientId , String name )
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_ID,clientId);
contentValues.put(COLUMN_CLIENT_NAME,name);
return sqliteDatabase.insert(TABLE_CLIENT,null,contentValues)>0;


public boolean delete(int ClientID)
return sqliteDatabase.delete(TABLE_CLIENT, COLUMN_CLIENT_ID + "=" + ClientID,null)>0;


public boolean modify(int ClientID , String newClient)
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_NAME,newClient);
return sqliteDatabase.update(TABLE_CLIENT,contentValues,COLUMN_CLIENT_ID + "=" + ClientID,null)>0;



public List<DataBean> getClient()
List<DataBean> clientInfo = new ArrayList<DataBean>();
Cursor cursor = sqliteDatabase.query(TABLE_CLIENT , new String[]COLUMN_CLIENT_ID,COLUMN_CLIENT_NAME,null,null,null,null,null,null);
if(cursor != null && cursor.getCount()>0)
while (cursor.moveToNext())
DataBean clientBean = new DataBean(cursor.getLong(0), cursor.getString(1));
clientInfo.add(clientBean);


return clientInfo;


//purpose of this class is to help outer class
public class DatabaseHelper extends SQLiteOpenHelper


public DatabaseHelper(Context context , String databaseName , SQLiteDatabase.CursorFactory factory , int dbVersion)
super(context, databaseName , factory , dbVersion);




@Override
public void onCreate(SQLiteDatabase db)

db.execSQL(query);



@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)







Here is my bean class



public class DataBean 

private long id;
private String clientName;
private String address;


public DataBean()
super();


public DataBean(long id , String clientName)
this.id = id;
this.clientName = clientName;


public long getId()
return id;


public void setId(long id)
this.id = id;


public String getClientName()
return clientName;


public void setClientName(String clientName)
this.clientName = clientName;











share|improve this question
















I am not able to find the db file where the database adapter is created a db and table. But i could see that the data is getting saved but i am not able to find my db file in my directories.
But i am able to save the entries and viewed on my screen.
Here is my DBAdapter class where i am creating the db..



public class DBAdapter 

private static final String DB_NAME = "clientList.db";
private static final int DB_VERSION = 1;
private static final String TABLE_CLIENT = "CLIENT";
private static final String COLUMN_CLIENT_ID = "CLIENT_ID";
private static final String COLUMN_CLIENT_NAME = "CLIENT_NAME";


private static final String query = "create table test_1 " + " (COLUMN_CLIENT_ID integer primary key, COLUMN_CLIENT_NAME text)";


private Context context;
private SQLiteDatabase sqliteDatabase;
private static DBAdapater dbAdapaterInstance;


private DBAdapater(Context context)
this.context = context;
sqliteDatabase = new DatabaseHelper(this.context,DB_NAME,null,DB_VERSION).getWritableDatabase();


public static DBAdapater getDbAdapaterInstance(Context context)
if(dbAdapaterInstance == null)
dbAdapaterInstance = new DBAdapater(context);

return dbAdapaterInstance;



public boolean insert(int clientId , String name )
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_ID,clientId);
contentValues.put(COLUMN_CLIENT_NAME,name);
return sqliteDatabase.insert(TABLE_CLIENT,null,contentValues)>0;


public boolean delete(int ClientID)
return sqliteDatabase.delete(TABLE_CLIENT, COLUMN_CLIENT_ID + "=" + ClientID,null)>0;


public boolean modify(int ClientID , String newClient)
ContentValues contentValues = new ContentValues();
contentValues.put(COLUMN_CLIENT_NAME,newClient);
return sqliteDatabase.update(TABLE_CLIENT,contentValues,COLUMN_CLIENT_ID + "=" + ClientID,null)>0;



public List<DataBean> getClient()
List<DataBean> clientInfo = new ArrayList<DataBean>();
Cursor cursor = sqliteDatabase.query(TABLE_CLIENT , new String[]COLUMN_CLIENT_ID,COLUMN_CLIENT_NAME,null,null,null,null,null,null);
if(cursor != null && cursor.getCount()>0)
while (cursor.moveToNext())
DataBean clientBean = new DataBean(cursor.getLong(0), cursor.getString(1));
clientInfo.add(clientBean);


return clientInfo;


//purpose of this class is to help outer class
public class DatabaseHelper extends SQLiteOpenHelper


public DatabaseHelper(Context context , String databaseName , SQLiteDatabase.CursorFactory factory , int dbVersion)
super(context, databaseName , factory , dbVersion);




@Override
public void onCreate(SQLiteDatabase db)

db.execSQL(query);



@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)







Here is my bean class



public class DataBean 

private long id;
private String clientName;
private String address;


public DataBean()
super();


public DataBean(long id , String clientName)
this.id = id;
this.clientName = clientName;


public long getId()
return id;


public void setId(long id)
this.id = id;


public String getClientName()
return clientName;


public void setClientName(String clientName)
this.clientName = clientName;








java android json sqlite






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 8 at 12:53







Abhishek

















asked Mar 8 at 12:47









AbhishekAbhishek

53




53












  • Welcome to Stack Overflow! Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?.

    – Zoe
    Mar 8 at 12:49

















  • Welcome to Stack Overflow! Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?.

    – Zoe
    Mar 8 at 12:49
















Welcome to Stack Overflow! Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?.

– Zoe
Mar 8 at 12:49





Welcome to Stack Overflow! Please read Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?.

– Zoe
Mar 8 at 12:49












1 Answer
1






active

oldest

votes


















0














If you don't specify any path, it will be stored in databases folder of your application directory.






share|improve this answer























  • it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

    – Abhishek
    Mar 8 at 12:54











  • As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

    – Uma Sankar
    Mar 8 at 12:56











  • I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

    – Abhishek
    Mar 8 at 12:58











  • What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

    – Uma Sankar
    Mar 8 at 13:01












  • adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

    – Abhishek
    Mar 8 at 13:04











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55063551%2fsqlite-db-file-not-found-on-android%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














If you don't specify any path, it will be stored in databases folder of your application directory.






share|improve this answer























  • it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

    – Abhishek
    Mar 8 at 12:54











  • As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

    – Uma Sankar
    Mar 8 at 12:56











  • I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

    – Abhishek
    Mar 8 at 12:58











  • What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

    – Uma Sankar
    Mar 8 at 13:01












  • adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

    – Abhishek
    Mar 8 at 13:04















0














If you don't specify any path, it will be stored in databases folder of your application directory.






share|improve this answer























  • it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

    – Abhishek
    Mar 8 at 12:54











  • As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

    – Uma Sankar
    Mar 8 at 12:56











  • I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

    – Abhishek
    Mar 8 at 12:58











  • What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

    – Uma Sankar
    Mar 8 at 13:01












  • adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

    – Abhishek
    Mar 8 at 13:04













0












0








0







If you don't specify any path, it will be stored in databases folder of your application directory.






share|improve this answer













If you don't specify any path, it will be stored in databases folder of your application directory.







share|improve this answer












share|improve this answer



share|improve this answer










answered Mar 8 at 12:53









Uma SankarUma Sankar

301417




301417












  • it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

    – Abhishek
    Mar 8 at 12:54











  • As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

    – Uma Sankar
    Mar 8 at 12:56











  • I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

    – Abhishek
    Mar 8 at 12:58











  • What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

    – Uma Sankar
    Mar 8 at 13:01












  • adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

    – Abhishek
    Mar 8 at 13:04

















  • it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

    – Abhishek
    Mar 8 at 12:54











  • As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

    – Uma Sankar
    Mar 8 at 12:56











  • I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

    – Abhishek
    Mar 8 at 12:58











  • What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

    – Uma Sankar
    Mar 8 at 13:01












  • adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

    – Abhishek
    Mar 8 at 13:04
















it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

– Abhishek
Mar 8 at 12:54





it is not stored anywhere. I could notice now that if i remove the string containing the CREATE TABLE, its still even working. Kindy let me know how to fix this

– Abhishek
Mar 8 at 12:54













As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

– Uma Sankar
Mar 8 at 12:56





As you mentioned you were able to save and retrieve data, it's not about CREATE TABLE. You must find it in databases folder.

– Uma Sankar
Mar 8 at 12:56













I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

– Abhishek
Mar 8 at 12:58





I agree with you, but i am not even able to find that databases folder. I even checked once after your first comment. I even checked for the filename in the main directory. It is not present over there. If you could give your email address please , i can just eloborate what issue im finding

– Abhishek
Mar 8 at 12:58













What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

– Uma Sankar
Mar 8 at 13:01






What do you mean by main directory? Try to run adb pull /data/data/com.yourpackage/databases/clientList.db command in terminal. You will get the DB into your local environment.

– Uma Sankar
Mar 8 at 13:01














adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

– Abhishek
Mar 8 at 13:04





adb server version (40) doesn't match this client (36); killing... * daemon started successfully * adb: error: connect failed: no devices/emulators found .....I got this error after trying that command

– Abhishek
Mar 8 at 13:04



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55063551%2fsqlite-db-file-not-found-on-android%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to get text form Clipboard with JavaScript in Firefox 56?How to validate an email address in JavaScript?How do JavaScript closures work?How do I remove a property from a JavaScript object?How do you get a timestamp in JavaScript?How do I copy to the clipboard in JavaScript?How do I include a JavaScript file in another JavaScript file?Get the current URL with JavaScript?How to replace all occurrences of a string in JavaScriptHow to check whether a string contains a substring in JavaScript?How do I remove a particular element from an array in JavaScript?

Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

List of MPs elected to the English parliament in 1640 (April) Contents List of constituencies and members See also Notes References Navigation menueNational Archives – The Glynde Place ArchivesCobbett's Parliamentary history of England, from the Norman Conquest in 1066 to the year 1803'Aldermen in Parliament', The Aldermen of the City of London: Temp. Henry III – 1912onepage&q&f&#61, false 229