MyBookshelf icon indicating copy to clipboard operation
MyBookshelf copied to clipboard

能否编译个安卓4.2.2的版本呢

Open ouyangsimon opened this issue 5 years ago • 14 comments

求,因为老的eink电纸书很多都没更新安卓4.4 特别是boox这家坑货不给老设备更新(17 18年的设备) 麻烦诸位有4.2.2的版本能否发一个给我呢,非常感谢 [email protected]

ouyangsimon avatar Jan 07 '20 01:01 ouyangsimon

同需求

yangjianhan avatar Jan 09 '20 14:01 yangjianhan

https://share.weiyun.com/5FJ7ncM github上的代码直接编译编译不了,注掉了一些代码才编译通过的,我也没测,你们安装试一下看看能不能用,下面是改动范围:

➜  MyBookshelf git:(master) ✗ git diff origin/HEAD
diff --git a/app/build.gradle b/app/build.gradle
index 75314c28a..28ac4e33c 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
 apply plugin: 'kotlin-android-extensions'
 apply plugin: 'kotlin-android'
 apply plugin: 'org.greenrobot.greendao'
-apply plugin: 'io.fabric'
+//apply plugin: 'io.fabric'
 apply plugin: "de.timfreiheit.resourceplaceholders"

 static def releaseTime() {
@@ -83,7 +83,7 @@ dependencies {
     implementation "org.jetbrains.anko:anko-sdk27-listeners:$anko_version"

     //fireBase
-    implementation 'com.google.firebase:firebase-core:17.2.1'
+//    implementation 'com.google.firebase:firebase-core:17.2.1'
     implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'

     //androidX
@@ -154,7 +154,7 @@ greendao {
     targetGenDir 'src/main/java'
 }

-apply plugin: 'com.google.gms.google-services'
+//apply plugin: 'com.google.gms.google-services'
 repositories {
     mavenCentral()
 }
diff --git a/basemvplib/build.gradle b/basemvplib/build.gradle
index 38a60ae30..49c07f8ab 100644
--- a/basemvplib/build.gradle
+++ b/basemvplib/build.gradle
@@ -5,7 +5,7 @@ android {
     buildToolsVersion '28.0.3'

     defaultConfig {
-        minSdkVersion 19
+        minSdkVersion 16
         targetSdkVersion 28
         versionCode 2
         versionName "1.1.0"

Zhangxxl avatar Jan 10 '20 02:01 Zhangxxl

IMG_20200208_210607 IMG_20200208_210516 不能安装!显示 解析程序包时出现错误

lxwztg1986 avatar Feb 08 '20 13:02 lxwztg1986

@Zhangxxl 你编译的minSdkVersion还是19呀?是安卓4.4,能改成API 17编译一个吗? 我自己试着编译一直没成功,作者也太忙,没搞编译教程什么的。 我的BOOX电纸书是安卓4.2.2的,希望能用上阅读。

laimama avatar Oct 11 '20 14:10 laimama

IMG_20200208_210607 IMG_20200208_210516 不能安装!显示 解析程序包时出现错误

https://share.weiyun.com/8BhtTqcR 试试这个

Zhangxxl avatar Oct 12 '20 01:10 Zhangxxl

IMG_20200208_210607 IMG_20200208_210516 不能安装!显示 解析程序包时出现错误

https://share.weiyun.com/8BhtTqcR 试试这个

刚刚试了下,设备是安卓4.2.2系统,大佬编译的软件安装成功,第一次打开无响应第二次成功运行;之后,书源导入成功,但搜索书籍时似乎没有依据书源,可能是因为软件的某些模块没有正常工作;尝试过直接使用阅读2.0的备份恢复,但依旧有此问题存在,希望大佬闲暇时可以尝试改进

zxlsy avatar Mar 19 '21 16:03 zxlsy

IMG_20200208_210607 IMG_20200208_210516 不能安装!显示 解析程序包时出现错误

https://share.weiyun.com/8BhtTqcR 试试这个

大神可否编译一个4.0.4系统可用的版本?万分感谢 我需要 api 14的版本

easyphoto avatar Apr 25 '21 03:04 easyphoto

IMG_20200208_210607 IMG_20200208_210516 不能安装!显示 解析程序包时出现错误

https://share.weiyun.com/8BhtTqcR 试试这个

大神可否编译一个4.0.4系统可用的版本?万分感谢 我需要 api 14的版本

不能更低了,因为这个项目引用的一些类库对最低sdk版本做了限制(com.google.firebase:firebase-analytics:18.0.0 要求sdk 16)

Zhangxxl avatar May 10 '21 02:05 Zhangxxl

基于最新代码,修改sdk16打包 https://cloud.189.cn/t/BJVrMniEVNBn (访问码:4npv) @zxlsy

Zhangxxl avatar May 10 '21 02:05 Zhangxxl

基于最新代码,修改sdk16打包 https://cloud.189.cn/t/BJVrMniEVNBn (访问码:4npv) @zxlsy

旧版本也无法实现sdk 14的编译吗?难道就这样彻底没希望了。。。

easyphoto avatar May 12 '21 02:05 easyphoto

旧版本也无法实现sdk 14的编译吗?难道就这样彻底没希望了。。。

也不是完全没办法, 只是要修改很多部分, 替换掉不支持api14的库, 主要是现在api21以下的设备都很少了, 更别提api14了. 做这些工作, 性价比不高

Zhangxxl avatar May 12 '21 02:05 Zhangxxl

旧版本也无法实现sdk 14的编译吗?难道就这样彻底没希望了。。。

也不是完全没办法, 只是要修改很多部分, 替换掉不支持api14的库, 主要是现在api21以下的设备都很少了, 更别提api14了. 做这些工作, 性价比不高 可以有偿 麻烦大神估算一下大概花费

easyphoto avatar May 28 '21 02:05 easyphoto

基于最新代码,修改sdk16打包 https://cloud.189.cn/t/BJVrMniEVNBn (访问码:4npv) @zxlsy

4.4的老设备上可用,谢谢编译

zgogo avatar Dec 19 '21 05:12 zgogo

基于最新代码,修改sdk16打包 https://cloud.189.cn/t/BJVrMniEVNBn (访问码:4npv) @zxlsy

4.4的老设备上可用,谢谢编译

大佬们 这个测试能安装 用本地书源可以导入 但无法搜索呀 你们都是怎么找书的呀

davidwang558 avatar Mar 04 '24 01:03 davidwang558