Comments (3)
log日志里面已经说了,Android上的aspectj版本不支持@DeclareAnnotation
from gradle_plugin_android_aspectjx.
解决了,Android上的aspectj版本不支持@DeclareAnnotation只是个警告,真正的错误时那个ClassFormatException,clean一下就好了
from gradle_plugin_android_aspectjx.
Error:Execution failed for task ':presentation_teachers:transformClassesWithAspectTransformForDebug'.
trouble in:
public class io.netty.handler.codec.protobuf.ProtobufEncoderNano extends io.netty.handler.codec.MessageToMessageEncoder:
public void ():
ALOAD_0 // Lio/netty/handler/codec/protobuf/ProtobufEncoderNano; this (line 60)
INVOKESPECIAL io.netty.handler.codec.MessageToMessageEncoder. ()V
constructor-execution(void io.netty.handler.codec.protobuf.ProtobufEncoderNano.())
| RETURN
constructor-execution(void io.netty.handler.codec.protobuf.ProtobufEncoderNano.())
end public void ()
protected void encode(io.netty.channel.ChannelHandlerContext, com.google.protobuf.nano.MessageNano, java.util.List) throws java.lang.Exception:
ALOAD_2 // Lcom/google/protobuf/nano/MessageNano; msg (line 64)
INVOKEVIRTUAL com.google.protobuf.nano.MessageNano.getSerializedSize ()I
ISTORE 4
ALOAD_1 // Lio/netty/channel/ChannelHandlerContext; ctx (line 65)
INVOKEINTERFACE io.netty.channel.ChannelHandlerContext.alloc ()Lio/netty/buffer/ByteBufAllocator;
ILOAD 4 // I size
ILOAD 4 // I size
INVOKEINTERFACE io.netty.buffer.ByteBufAllocator.heapBuffer (II)Lio/netty/buffer/ByteBuf;
ASTORE 5
ALOAD 5 // Lio/netty/buffer/ByteBuf; buffer (line 66)
INVOKEVIRTUAL io.netty.buffer.ByteBuf.array ()[B
ASTORE 6
ALOAD 6 // [B array (line 67)
ALOAD 5 // Lio/netty/buffer/ByteBuf; buffer
INVOKEVIRTUAL io.netty.buffer.ByteBuf.arrayOffset ()I
ALOAD 5 // Lio/netty/buffer/ByteBuf; buffer
INVOKEVIRTUAL io.netty.buffer.ByteBuf.capacity ()I
INVOKESTATIC com.google.protobuf.nano.CodedOutputByteBufferNano.newInstance ([BII)Lcom/google/protobuf/nano/CodedOutputByteBufferNano;
ASTORE 7
ALOAD_2 // Lcom/google/protobuf/nano/MessageNano; msg (line 69)
ALOAD 7 // Lcom/google/protobuf/nano/CodedOutputByteBufferNano; cobbn
INVOKEVIRTUAL com.google.protobuf.nano.MessageNano.writeTo (Lcom/google/protobuf/nano/CodedOutputByteBufferNano;)V
ALOAD 5 // Lio/netty/buffer/ByteBuf; buffer (line 70)
ILOAD 4 // I size
INVOKEVIRTUAL io.netty.buffer.ByteBuf.writerIndex (I)Lio/netty/buffer/ByteBuf;
POP
ALOAD_3 // Ljava/util/List; out (line 71)
ALOAD 5 // Lio/netty/buffer/ByteBuf; buffer
INVOKEINTERFACE java.util.List.add (Ljava/lang/Object;)Z
POP
RETURN (line 72)
end protected void encode(io.netty.channel.ChannelHandlerContext, com.google.protobuf.nano.MessageNano, java.util.List) throws java.lang.Exception
protected volatile void encode(io.netty.channel.ChannelHandlerContext, Object, java.util.List) throws java.lang.Exception:
ALOAD_0 // Lio/netty/handler/codec/protobuf/ProtobufEncoderNano; this (line 59)
ALOAD_1
ALOAD_2
CHECKCAST com.google.protobuf.nano.MessageNano
ALOAD_3
INVOKEVIRTUAL io.netty.handler.codec.protobuf.ProtobufEncoderNano.encode (Lio/netty/channel/ChannelHandlerContext;Lcom/google/protobuf/nano/MessageNano;Ljava/util/List;)V
RETURN
end protected volatile void encode(io.netty.channel.ChannelHandlerContext, Object, java.util.List) throws java.lang.Exception
end public class io.netty.handler.codec.protobuf.ProtobufEncoderNano
from gradle_plugin_android_aspectjx.
Related Issues (20)
- kotlin 中使用 运行报错 HOT 2
- java.util.zip.ZipException: zip file is empty HOT 6
- kotlin 1.5 会报错 HOT 2
- 1年多没更新了,还维护吗 HOT 1
- ArrayIndexOutOfBoundsException HOT 2
- 无法插桩成功怎么回事? 完全按照文档的步骤去配置的 HOT 1
- 插件会导致androidTest找不到class HOT 1
- library中配置的annotation注解不生效 HOT 2
- 原作者已不再维护,继续使用建议使用我fork后修复发布的版本。(给即将使用或已经使用的几点建议) HOT 18
- 关于代码混淆后,AOP切面异常void java.lang.ClassNotFoundException.
- aspectjx会入侵所有的三方包,那是否可以使用include控制到只在本应用的包名下的类生效?而不去第三方sdk包?
- 一个必现的错误:Java+Kotlin找不到启动类 HOT 9
- 什么时候可以支持kotlin1.5.+
- aspectjx加cmake以后各种冲突externalNativeBuildCleanBxn_nationDebug,我把cmake注释掉以后报错Cause: zip file is empty
- gradle7.1后项目,build.gradle使用plugins,要怎么集成使用 HOT 14
- 【include使用】如果不配置,编译太慢了
- 当前是否支持gradle 8.0.1版本,升级后报错 HOT 2
- 这个项目彻底凉了吗 HOT 3
- 社区有没有使用AGP7-AGP8新的api的版本?不使用trasnform 框架的,跪求! HOT 1
- 推荐一个新的 Android 端 AOP 框架,支持 AGP8 以上 https://github.com/FlyJingFish/AndroidAOP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradle_plugin_android_aspectjx.