I had one app installed on my device using debug.keystore which has database store under data dictionary.
Because of some issue of window 7 i have to format it and i lost debug.keystore.
Now I want to update the app but error is "Re-installation failed due to different application signatures".
My purpose is i want the database which is stored in data directory.
Try this but not worked :
String currentDBPath = "/data/data/com.myapp/databases/myappdatabase.sqlite";
String backupDBPath = "/sdcard/myappdatabase.sqlite";
try {
DatabaseExtractor.extractFromDevice(currentDBPath, backupDBPath);
} catch (IOException e) {
e.printStackTrace();
}