Android Application Downgrade
I'm using BakaReader EX (com.erakk.lnreader
) as an example.
Instructions
-
Download desired version of your application, e.g.: https://github.com/calvinaquino/LNReader-Android/releases/download/1.1.34/BakaReader-EX-1.1.34.apk and copy the APK to your phone.
-
Download and install adb on your PC. Conveniently small package can be found here: http://forum.xda-developers.com/showthread.php?t=2588979
-
Download and install adb drivers for your phone, e.g.: http://developer.sonymobile.com/downloads/drivers/xperia-z1-compact-driver/
-
Invoke
adb shell
and run following command in itpm install -r -d /full/path/to/your.apk
-r
replaces existing application without removing data
-d
allows downgrading
Reason
I had to downgrade BakaReader EX, because 1.1.35 changed DB schema, yet I have already downloaded unread stuff, which is no longer available on Baka-Tsuki, so I'm not performing any data updates.
Just for the record, the error I was getting in 1.1.35 is:
class android.database.sqlite.SQLiteException:
no such table: page_categories (code 1): , while compiling:
select * from page_categories where page = ?