
androidProblems
android问题集锦
less more
少则多,简则精
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Glide无法加载http图片问题
版权声明:本文为延成原创文章,转载请标明出处在Android 7.0之后的系统要求默认使用加密连接.解决方案:更改网络安全配置1.在res下创建一个xml文件夹,然后创建一个network_security_config.xml文件<?xml version="1.0" encoding="utf-8"?><network-security-config> <base-config cleartextTrafficPermitted="true" />.原创 2020-06-04 10:34:12 · 1541 阅读 · 0 评论 -
ListView套用EditText的布局复用问题
解决方案,直接上代码:public class EdittextAdapter extends BaseAdapter implements View.OnClickListener, View.OnTouchListener, View.OnFocusChangeListener, View.OnLongClickListener { private int selectedEditTextPosition = -1; private List<ItemBean> mList原创 2021-05-18 10:56:45 · 168 阅读 · 0 评论 -
7.0系统解决拍照的问题 ----StrictMode(严格模式)
版权声明:本文为延成原创文章,转载请标明出处StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder()//线程策略(ThreadPolicy) .detectDiskReads()//检测在UI线程读磁盘操作 .detectDiskWrites...原创 2020-02-22 11:49:58 · 406 阅读 · 0 评论 -
升级到Android studio 4.1 代码无法高亮提示
版权声明:本文为延成原创文章,转载请标明出处原因Plugins 插件导致解决卸载 butterknife zelezny 和 GsonFormat对于GsonFormat 可以安装GsonFormatPlus对于butterknife 等待下一个版本插件吧原创 2020-10-16 14:44:21 · 1886 阅读 · 1 评论 -
android agentweb 打开网页时进度条右侧不满
版权声明:本文为延成原创文章,转载请标明出处 private WebChromeClient mWebChromeClient = new WebChromeClient() { @Override public void onProgressChanged(WebView view, int newProgress) { super.onProgressChanged(view, newProgress); } };.原创 2020-08-27 16:08:12 · 1166 阅读 · 2 评论 -
Connection reset
版权声明:本文为Mr.release原创文章,转载请标明出处问题复Connection reset在Android Studio中打开新的项目或引用在线jar时出现问题解决因为android studio无法下载外网的jar,可以用阿里代理的maven仓库,在build.gradle中进行修改。 apply from: "config.gradle" buildscri...原创 2019-07-10 13:27:44 · 3001 阅读 · 3 评论 -
Type com.xxx.xxx.BuildConfig is defined multiple times:...
版权声明:本文为延成原创文章,转载请标明出处问题复现>Type com.xxx.xxx.BuildConfig is defined multiple times:…编译的时候发生。问题解决原因:在多module的模式下,module的manifest 中的package有相同的,导致产生了两个相同的BuildConfig文件。所以要更改module的清单文件<...原创 2020-04-17 14:48:53 · 33519 阅读 · 5 评论 -
解决引用版本冲突 error: resource android:attr/fontVariationSettings not found.
版权声明:本文为延成原创文章,转载请标明出处问题复现> Android resource linking failedOutput: F:\XXX\app\build\intermediates\incremental\mergeSimpleDebugResources\merged.dir\values\values.xml:808: error: resource andr...原创 2020-04-16 15:01:57 · 4920 阅读 · 2 评论 -
Error:All flavors must now belong to a named flavor dimension...
版权声明:本文为延成原创文章,转载请标明出处问题复现Error:All flavors must now belong to a named flavor dimension…问题解决在build.gradle里加入flavorDimensions “versionCode”,然后同步运行下代码defaultConfig { applicationId "XXX...原创 2020-04-09 17:18:23 · 149 阅读 · 0 评论 -
Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 19
版权声明:本文为延成原创文章,转载请标明出处问题复现Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 19运行到手机5.0版本以下时出现问题解决方案一:降低okhttp3的版本implementation 'com.squareup.okhttp3:okhtt...原创 2020-02-19 15:12:10 · 5218 阅读 · 1 评论 -
ERROR: Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspath
版权声明:本文为延成原创文章,转载请标明出处问题复现ERROR: Unable to find method 'org.gradle.api.tasks.compile.CompileOptions.setBootClasspathPull下代码后,打开项目时出现。问题解决Gradle版本与编译器版本不对应。Gradle版本与编译器版对应表例如改为:...原创 2020-02-11 21:32:45 · 3914 阅读 · 0 评论 -
Error:Unable to resolve dependency for ':xxx/compileClasspath':Cpuld not download xxx.aar
版权声明:本文为延成原创文章,转载请标明出处问题复Error:Unable to resolve dependency for ‘:xxx/compileClasspath’:Cpuld not download xxx.aar升级Android Studio后,打开项目时出现。问题解决 buildscript { repositories { go...原创 2020-02-11 08:58:15 · 226 阅读 · 0 评论 -
Android Studio将.so库关联到svn(Windows/Mac)
版权声明:本文为延成原创文章,转载请标明出处window系统1.File - Settings - Subversion 找到Subversion的安装位置(例如:C:\Users\xxx\AppData\Subversion)2.到该目录下修改config文件,#global-ignores 那一行先移除# 再移除 *.so修改为:3.最后保存config文件的修改,并重启And...原创 2019-12-03 11:31:15 · 266 阅读 · 0 评论 -
Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find...
版权声明:本文为延成原创文章,转载请标明出处问题复现Caused by: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find…android studio 打开新项目时出现。问题解决打开build.gradle文件,将代码修改为:allprojects { reposito...原创 2019-12-19 13:59:33 · 39406 阅读 · 13 评论 -
Caused by: org.gradle.api.resources.ResourceException: Could not get resource
版权声明:本文为延成原创文章,转载请标明出处问题复现Caused by: org.gradle.api.resources.ResourceException: Could not get resourceandroid studio 打开新的的工程时,报如上错误。问题解决allprojects { repositories { mavenCentral()...原创 2019-12-06 17:12:18 · 2048 阅读 · 0 评论 -
ERROR: Cannot create variant 'android-lint' after configuration ':library:debugApiElements' has been
版权声明:本文为Mr.release原创文章,未经博主允许不得转载。如有问题请关注https://blog.csdn.net/AliEnCheng/article/details/84134203问题复现ERROR: Cannot create variant ‘android-lint’ after configuration ‘:library:debugApiElements’ h...原创 2019-03-19 14:37:14 · 1796 阅读 · 0 评论 -
Error: Activity class {com.xxx.xxx/com.xxx.xxx.MainActivity} does not exist.
版权声明:本文为延成原创文章,转载请标明出处问题复现Error: Activity class {xxx/xxx.MainActivity} does not exist.android studio 安装app时报错。问题解决1.首先确定你的applicationId与AndroidManifest.xml中的包名是否一致。 defaultConfig { a...原创 2019-12-05 13:37:24 · 2965 阅读 · 0 评论 -
The device needs more free storage to install the application
版权声明:本文为Mr.release原创文章,转载请标明出处问题复现Installation did not succeed.The application could not be installed: INSTALL_FALLED_INTERNAL_ERRORThe device needs more free storage to install the application...原创 2019-09-27 14:56:24 · 8764 阅读 · 0 评论 -
The application could not be installed: INSTALL_FALLED_INTERNAL_ERROR
版权声明:本文为Mr.release原创文章,转载请标明出处问题复现Installation did not succeed.The application could not be installed: INSTALL_FALLED_INTERNAL_ERRORInstallation failed due to: ‘null’华为手机无法运行apk,android studi...原创 2019-09-27 14:42:38 · 18454 阅读 · 4 评论 -
not permitted by network security policy
版权声明:本文为Mr.release原创文章,转载请标明出处问题复not permitted by network security policyandroid studio http请求网络是出现问题解决出现的原因:Android P(版本27以上限制了明文流量的网络请求) 解决:在res目录下,新建一个xml文件夹,里面建一个network_security_config...原创 2019-07-17 10:51:48 · 482 阅读 · 0 评论 -
No toolchains found in the NDK toolchains folder for ABI with prefix mips64el-linux-android
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android版权声明:本文为恩城原创文章,未经博主允许不得转载。如有问题请关注https://blog.csdn.net/AliEnCheng/article/details/82836073问题复现跟新Androi...原创 2018-11-13 16:29:49 · 224 阅读 · 0 评论 -
Connection refused: connect
版权声明:本文为Mr.release原创文章,转载请标明出处问题复现Connection refused: connectAndroid studio打开项目时出现问题解决关闭电脑代理,删除android studio 之前配置的代理,然后同步下工程,同步完后问题解决。...原创 2019-08-27 09:42:42 · 906 阅读 · 0 评论 -
AGPBI: {"kind":"error","text"...
版权声明:本文为延成原创文章,转载请标明出处问题复现AGPBI: {“kind”:“error”,“text”:"‘int androidx.appcompat.app.AlertDialog.resolveDialogTheme(android.content.Context, int)’ cannot be mapped to ‘a’ because it is in conflic...原创 2019-12-13 10:36:54 · 5609 阅读 · 0 评论 -
Read timed out
版权声明:本文为Mr.release原创文章,转载请标明出处问题复Read timed out升级Android Studio后,打开项目时出现。问题解决 buildscript { repositories { google() mavenCentral() maven { url 'https://maven....原创 2019-07-09 11:41:08 · 7296 阅读 · 3 评论 -
awesomium This view has carshed!(MarkdownPad2)
版权声明:本文为Mr.release原创文章,未经博主允许不得转载。如有问题请关注https://blog.csdn.net/AliEnCheng/article/details/84134203问题复现awesomiumweb-browser frameworkThis view has carshed!成功安装完MarkdownPad2后,win10系统无法进行预览问题解...原创 2019-03-19 14:52:50 · 369 阅读 · 3 评论 -
Your project path contains non-ASCII characters. This will most likely cause the build to fail on...
版权声明:本文为恩城原创文章,未经博主允许不得转载。如有问题请关注https://blog.csdn.net/AliEnCheng/article/details/82836073问题复Your project path contains non-ASCII characters. This will most likely cause the build to fail on Win...原创 2018-11-16 09:49:15 · 2068 阅读 · 0 评论