Comments (2)
ClassNotFoundException: Didn't find class "com.dean.browser.BaseApplication" on path: DexPathList[[zip file "/data/app/com.dean.browser-1/base.apk"],nativeLibraryDirectories=[/data/app/com.dean.browser-1/lib/x86, /data/app/com.dean.browser-1/base.apk!/lib/x86, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.Instrumentation.newApplication(Instrumentation.java:992)
at android.app.LoadedApk.makeApplication(LoadedApk.java:796)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5411)
at android.app.ActivityThread.-wrap2(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1550)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6153)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)配置如下:
buildscript {
ext.kotlin_version = "1.3.72"
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.hujiang.aspectjx:gradle-android-plugin-aspectjx:2.0.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}module中配置:
apply plugin: 'android-aspectjx'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
implementation 'org.aspectj:aspectjrt:1.9.6'
请问你的问题解决了吗,正在被相同问题困扰
from gradle_plugin_android_aspectjx.
同样的问题....
from gradle_plugin_android_aspectjx.
Related Issues (20)
- 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.