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

Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

Can't find variable: document ReactNative Js2019 Community Moderator ElectionReactNative: how to center text?Can't find variable: navigate - ReactNative navigationReact Native error: “Can't find variable: TouchableHighlight”How to use Expo.DocumentPicker.getDocumentAsync properly. [Expo] [ReactNative]Can't find variable: regeneratorRuntime (ReactNative)Reactnative Expo It is advisable for a StartUp?Can't find variable : Self / Can't install firebaseNPM Install Error in installing ReactNative CLIContacts Displaying in App using ReactnativeFacebook login error: can't find variable: Alert

Posting a File and Associated Data to a RESTful WebService preferably as JSON2019 Community Moderator ElectionREST URI convention - Singular or plural name of resource while creating itUploading both data and files in one form using Ajax?How do I upload a file with metadata using a REST web service?REST API - file (ie images) processing - best practicesSpring: JSON data and file in the same requestREST API Put large dataPosting a file and JSON data to Spring rest serviceRESTful Web Service Upload/Download Large Data With JSONREST API Design sending JSON data and a file to the api in same requestPost JSONArray to REST servicePUT vs. POST in RESTParsing values from a JSON file?JavaScript/jQuery to download file via POST with JSON dataHow do I upload a file with metadata using a REST web service?How to POST JSON data with Curl from Terminal/Commandline to Test Spring REST?Separate REST JSON API server and client?what's the correct way to send a file from REST web service to client?How do I write JSON data to a file?What is “406-Not Acceptable Response” in HTTP?REST API - file (ie images) processing - best practices