AndServer icon indicating copy to clipboard operation
AndServer copied to clipboard

版本适配问题

Open yalamo opened this issue 3 years ago • 28 comments

安卓studio-gradle升级到7.0之后。jdk必须升级到11

但是jdk11 缺少activation等jar包,请问近期是否有计划升级项目

  • What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

javax/activation/MimeTypeParseException

(亲自测试过,删除Andserver依赖,项目不报错。 添加之后就有问题

针对2.1.9方案 解决方案:plugins { id 'com.android.application' id 'com.yanzhenjie.andserver' id 'kotlin-android' id 'kotlin-kapt' } id 'kotlin-kapt' 必选 kapt会去下载该文件 implementation 'javax.activation:javax.activation-api:1.2.0'

这个问题加上缺失的jar包就可以。 不过楼主要是升级下,就没这个问题u

yalamo avatar Oct 26 '21 03:10 yalamo

安卓studio-gradle升级到7.0之后。jdk必须升级到11

但是jdk11 缺少activation等jar包,请问近期是否有计划升级项目

  • What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

javax/activation/MimeTypeParseException

(亲自测试过,删除Andserver依赖,项目不报错。 添加之后就有问题

同问

1499320204 avatar Nov 09 '21 14:11 1499320204

安卓studio-gradle升级到7.0之后。jdk必须升级到11 但是jdk11 缺少activation等jar包,请问近期是否有计划升级项目

  • What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

javax/activation/MimeTypeParseException

(亲自测试过,删除Andserver依赖,项目不报错。 添加之后就有问题

同问

添加以下依赖重新编译即可: compileOnly 'com.sun.activation:javax.activation:1.2.0'

sleticalboy avatar Nov 12 '21 06:11 sleticalboy

安卓studio-gradle升级到7.0之后。jdk必须升级到11

但是jdk11 缺少activation等jar包,请问近期是否有计划升级项目

  • What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

javax/activation/MimeTypeParseException

(亲自测试过,删除Andserver依赖,项目不报错。 添加之后就有问题

添加以下依赖重新编译即可: compileOnly 'com.sun.activation:javax.activation:1.2.0'

sleticalboy avatar Nov 12 '21 06:11 sleticalboy

https://github.com/yanzhenjie/AndServer/issues/371

Reginer avatar Nov 25 '21 02:11 Reginer

首先很抱歉让大家等这么久,我已经开发好了,今晚发布下,请大家稍等噢。

yanzhenjie avatar Nov 26 '21 02:11 yanzhenjie

没办法,暂时移除了本库的依赖 希望楼主抽空上传下,给2.1.9升个级 谢谢(膜拜一下~)~

simonwzb avatar Nov 27 '21 09:11 simonwzb

@yanzhenjie Is this issue fixed? Will there be a new version?

PanosSpyrakis avatar Nov 29 '21 09:11 PanosSpyrakis

安卓studio-gradle升级到7.0之后。jdk必须升级到11 但是jdk11 缺少activation等jar包,请问近期是否有计划升级项目

  • What went wrong: Execution failed for task ':app:compileDebugJavaWithJavac'.

javax/activation/MimeTypeParseException

(亲自测试过,删除Andserver依赖,项目不报错。 添加之后就有问题

添加以下依赖重新编译即可: compileOnly 'com.sun.activation:javax.activation:1.2.0'

没用: Execution failed for task ':app:compileDebugJavaWithJavac'.

javax/activation/MimeTypeParseException

1499320204 avatar Dec 05 '21 10:12 1499320204

首先很抱歉让大家等这么久,我已经开发好了,今晚发布下,请大家稍等噢。

哥。还有多久,我等着更新这个换电脑了。。。。。

1499320204 avatar Dec 05 '21 10:12 1499320204

首先很抱歉让大家等这么久,我已经开发好了,今晚发布下,请大家稍等噢。

还要等多久。。。

denver1986 avatar Dec 07 '21 06:12 denver1986

哥。还有多久,我等着更新这个换电脑了。。。。。

严大佬说错了,他的意思不是那天晚上,是那天下班,一直都还没有下班,所以没有更新,再等一等 这个场合适合开这个玩笑。。。。大佬不更新我都不敢换电脑。

1499320204 avatar Dec 07 '21 08:12 1499320204

elder brother. How long will I wait to update this and change the computer. . . . .

Mr. Yan was wrong. He didn't mean that night, but that he was off work that day. He hasn't gotten off work all the time, so there is no update. Wait a minute.

Still there question remains, Will this issue be fixed and when? If not I would like to know If I should use a different library.

PanosSpyrakis avatar Dec 07 '21 08:12 PanosSpyrakis

apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' compileOnly 'javax.activation:javax.activation-api:1.2.0' 添加上面这些,然后把annotationProcessor改为kapt,倒是能编译过了,但是添加controller之后又出错了: IllegalArgumentException: couldn't make a guess for com.x.XControllerAdapter

wlxyhy avatar Dec 09 '21 11:12 wlxyhy

哥, 预计什么时候发布新版本, 现在没办法使用 @yanzhenjie

LSeiei avatar Dec 11 '21 11:12 LSeiei

apply plugin:'kotlin-android' apply plugin:'kotlin-kapt' compileOnly'javax.activation:javax.activation-api:1.2.0' add the above, and then change the annotationProcessor to kapt, it can be compiled, but I got an error after adding the controller: IllegalArgumentException: couldn't make a guess for com.x.XControllerAdapter

This maybe a sollution for kotlin, I am using java

PanosSpyrakis avatar Dec 13 '21 09:12 PanosSpyrakis

apply plugin:'kotlin-android' apply plugin:'kotlin-kapt' compileOnly'javax.activation:javax.activation-api:1.2.0' add the above, and then change the annotationProcessor to kapt, it can be compiled, but I got an error after adding the controller: IllegalArgumentException: couldn't make a guess for com.x.XControllerAdapter

This maybe a sollution for kotlin, I am using java

still not fixed,waiting for author too...

w2396631304 avatar Dec 14 '21 11:12 w2396631304

呜呜呜呜,大佬

huaweikai avatar Dec 15 '21 04:12 huaweikai

今年还有戏么,严大佬是不是遇到阿里裁员潮了

1499320204 avatar Dec 27 '21 05:12 1499320204

每天来看一眼都养成习惯了

1499320204 avatar Dec 30 '21 02:12 1499320204

每天来看一眼都养成习惯了

implementation 'javax.activation:javax.activation-api:1.2.0'

https://github.com/yanzhenjie/AndServer/issues/371#issuecomment-845620025

qiusunshine avatar Jan 20 '22 16:01 qiusunshine

什么鬼,是解决了没

kyriej avatar Jan 24 '22 07:01 kyriej

首先很抱歉让大家等这么久,我已经开发好了,今晚发布下,请大家稍等噢。 这意思就是横竖不回应了

1499320204 avatar Feb 01 '22 13:02 1499320204

你可真是个人

1499320204 avatar Mar 02 '22 13:03 1499320204

刚开始进了,就入坑啦。

WheatMaThink avatar Mar 05 '22 08:03 WheatMaThink

大家好,实在不好意思了,工作太忙了没有和大家沟通好。之前其实是发布了2.1.10-SNAPSHOT的,有人也在用,但是我没在GitHub通知。

现在2.1.10正式版本发布了,大家可以升级一下了。

yanzhenjie avatar Mar 19 '22 14:03 yanzhenjie

表哥,你终于好了呀 发自我的iPhone------------------ 原始邮件 ------------------发件人: Zhenjie Yan @.>发送时间: 2022年3月19日 22:52收件人: yanzhenjie/AndServer @.>抄送: yalamo @.>, Author @.>主题: Re: [yanzhenjie/AndServer] 版本适配问题 (Issue #413) 大家好,实在不好意思了,工作太忙了没有和大家沟通好。之前其实是发布了2.1.10-SNAPSHOT的,有人也在用,但是我没在GitHub通知。 现在2.1.10正式版本发布了,大家可以升级一下了。

—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/yanzhenjie/AndServer/issues/413#issuecomment-1073023612", "url": "https://github.com/yanzhenjie/AndServer/issues/413#issuecomment-1073023612", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

yalamo avatar Mar 20 '22 00:03 yalamo

@yanzhenjie this cannot be confirmed fixed. Gradle does not find .pom file

PanosSpyrakis avatar Mar 21 '22 10:03 PanosSpyrakis

Sorry, I forgot to release it, now it's done.

https://repo1.maven.org/maven2/com/yanzhenjie/andserver/api/2.1.10/


It is released central repositories:

release: https://oss.sonatype.org/content/repositories/releases/
snapshot: https://oss.sonatype.org/content/repositories/snapshots/

yanzhenjie avatar Mar 22 '22 06:03 yanzhenjie