Android Error
zhao2017
这个作者很懒,什么都没留下…
展开
-
Android JNI 开发 native本地方法报错
AS 下 File ------->Setting------->Editor--------->Code Style -----> Inspections ----(找到 Android JNI) Missing JNI function 勾号去掉 apply 就ok 了。原创 2019-03-20 11:45:36 · 616 阅读 · 0 评论 -
Error: Invoke-customs are only supported starting with Android O (--min-api 26)
查资料意思是没有配置支持Java8:需要添加Java8的支持: compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }关键是:添加的有Java1.8的支持,各种clean无法解决;突然想到第一个...原创 2019-03-29 10:53:07 · 539 阅读 · 0 评论 -
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
ButterKnife黄油刀里面的 点击事件支持工具apt不支持维护后的替代工具:annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'implementation 'com.jakewharton:butterknife:8.8.1'注释掉://annotationProcessor ‘com.jakewhart...原创 2019-03-29 10:38:19 · 1258 阅读 · 0 评论 -
WARNING: One of the plugins you are using supports Java 8 language features.
导入一个项目直接报Warning:WARNING: One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle: apply...原创 2019-03-29 10:19:22 · 720 阅读 · 0 评论 -
Android io rxjava报的错
ERROR: Failed to resolve: io.reactivex.rxjava:rxjava:1.1.0Rxjava 1.0 到 2.0包名都发了变化:2.0+实现: implementation "io.reactivex.rxjava2:rxjava:2.2.7" implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'...原创 2019-03-27 15:52:08 · 763 阅读 · 0 评论 -
Android com.android.support 版本不一致
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 27.1.0. Examples include com.android.support:anim...原创 2019-03-26 14:18:03 · 2491 阅读 · 0 评论 -
Android ButterKnife10.0官方接入的坑
1,按官方要求走:https://github.com/JakeWharton/butterknife查看报的错:ERROR: Android Gradle plugin 3.3.0 must not be applied to project 'F:\AuditonProject\Rx_project\app' since version 3.3.0 was already appli...原创 2019-03-22 17:52:06 · 6283 阅读 · 1 评论 -
Android IjkMediaPlayer 播放器 couldn't find "libijkffmpeg.so" 报错
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/test.com.zh.dragcontentlayout-0_WCv3tIa6KRGDGEmVkZrQ==/base.apk"],nativeLibraryDirectories=[/data/app/t...原创 2019-04-23 19:34:23 · 6067 阅读 · 1 评论