Coder Social home page Coder Social logo

aicareles / aoparms Goto Github PK

View Code? Open in Web Editor NEW
526.0 13.0 73.0 2.41 MB

AopArms编写了Android开发中常用的一套注解,如日志、异步处理、缓存、SP、延迟操作、定时任务、重试机制、try-catch安全机制、过滤频繁点击、拦截、埋点统计、全局性能监控(每个方法耗时时长)等,后续还会有更多更强大的注解功能加入

Java 100.00%

aoparms's Issues

建议加入通知栏的注解框架

编写通知栏也需要一堆builder感觉很麻烦,而且对于api26以上的版本还要添加channel id,可不可以出一个通知栏显示的注解框架呢?感激不尽!

当我引入的时候出现了AopArmsInitProvider找不到的问题

java.lang.RuntimeException: Unable to get provider cn.com.superLei.aoparms.AopArmsInitProvider: java.lang.ClassNotFoundException: Didn't find class "cn.com.superLei.aoparms.AopArmsInitProvider" on path: DexPathList[[zip file "/data/app/com.activity.aopdemo-_gKFdnQqkjCcZ-LdJCWznA==/base.apk"],nativeLibraryDirectories=[/data/app/com.activity.aopdemo-_gKFdnQqkjCcZ-LdJCWznA==/lib/arm64, /system/lib64, /system/vendor/lib64]]

Cannot cast object 'com.android.build.gradle.internal.pipeline.TransformTask$2$1@68b452eb' with class 'com.android.build.gradle.internal.pipeline.TransformTask$2$1' to class 'com.android.build.gradle.internal.pipeline.TransformTask'

Cannot cast object 'com.android.build.gradle.internal.pipeline.TransformTask$2$1@68b452eb' with class 'com.android.build.gradle.internal.pipeline.TransformTask$2$1' to class 'com.android.build.gradle.internal.pipeline.TransformTask'

gradle版本3.6以上报这个错

部分类找不到

hi,作者你好

import cn.com.superLei.aoparms.annotation.Callback;

这个类找不到

NoClassDefFoundError

引入 library(aop-arms), Application 初始化 AopArms.init(this);

java.lang.NoClassDefFoundError: cn.com.superLei.aoparms.AopArms
at neil.com.MyApplication.init(MyApplication.java:73)
at neil.com.MyApplication.onCreate(MyApplication.java:65)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4346)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5019)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.