全部 文章 问答 分享 共找到1351个相关内容
[问答] PagerAdapter中getCount()方法返回Integer.MAX_VALUE奔溃的问题
我设置过他的背景观察他是存在的,但是里面的图片没法加载,我也试着把getCount方法返回一个小的数,奔溃问题解决了,无限轮播就自然有问题了…就是说问题在于这个getCount方法,但是我没有调用它,为什么他会直接影响我
2020-02-02 12:19
·
无限轮播
[问答] Android 诡异的奔溃日志(c层的奔溃?)大佬分析下
今天看奔溃发现这样的信息。

[文章] Android逆向-去gif软件广告
就是说App被删除网络权限后打开就奔溃了。奔溃定位打开Androidstudio,打开一个空的工程,链接好手机,打开logcat看log。再打开app让它奔溃一次,过滤奔溃信息。
[问答] service 启动
在我的记忆中service启动是需要start 或者bind的
现在奔溃日志出现了create service 的内容 可是使用该service的Activity是没开放状态(也就是不会使用到
2022-07-14 16:12
·
service

[文章] 关于矢量图在android4.4中的使用
BUG最近跟新了一下应用后发现,新添加的几个界面在Android4.4(最后的倔强,不想放弃4.4的适配)版本无法正常运行,会闪崩。
[问答] SecurityException: Package android does not belong to 10268
大哥们,麻烦帮我看看这是什么原因造成的问题,该如何解决比较好,网络上说可以用 try/ catch 来避免奔溃,但我不知道如何定位,不知道是哪块出的问题,这是后台反馈过来的日志
2023-02-15 18:54
·
android
[问答] Android Webview突然奔溃了,来看看分析
I/ActivityManager: Process com.google.android.webview:sandboxed_process0 (pid 17039) has died: fore TOP
2021-06-17 17:03
·
webview

[文章] Android 保存drawable,bitmap到本地文件夹
就需要做2步处理1.targetsdk大于23,现在基本上26以上,权限申请必须2.保存本地的操作权限申请处理1:申请读写权限<uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE
[问答] Android H5交互事件,导致App奔溃
在AppH5页面中点击后,App不断请求url。最终导致app卡死。logcat中一直执行:hookurl函数。debug中显示,一直执行以下几步:if (hookUrl(url)) if (url.startsWith("edit://")) webView.loadUrl(url);
2021-01-27 20:54
·
Android

[文章] Android 动画切换背景图片的坑与修复
newTransitionDrawable(drawableArray);mIvTransition.setImageDrawable(fade);//设置过度时间fade.startTransition(3000);}});效果:最后以上奔溃不是我搞的
[问答] Android 盒子偶尔不打印log
5:头疼的是有时候能打印出来,但是打不出的情况大多数,别问我为什么用log来调试,因为盒子断点5秒就奔溃了。
[问答] android studio 闪退
;at android.view.ViewGroup.layout(ViewGroup.java:6335)
at android.widget.FrameLayout.layoutChildren
2021-05-26 17:32
·
异常
[问答] Android内存泄漏问题
$ActivityClientRecord#nextIdle
Description: Android AOSP sometimes keeps a reference to

[文章] Android Jetpack 之 Navigation
/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"android:id="@

[文章] Android TV开发03学习HorizontalGridView
><RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"android:layout_width

[文章] Android如何自定义Preference呢?
Android如何自定义Preference呢?
[问答] android绑定远程服务时报错
App: com.android.vending, Service: oauth2:******************************************
 
[问答] Android开启启动
公司要求做一个自启动app,然后一开始使用android.intent.action.LOCKED_BOOT_COMPLETED,但是恢复出厂设置去收不到广播,然后使用和 android.intent.action.BOOT_COMPLETED
2020-03-19 16:24
·
android
[问答] android 问题 Error inflating class fragment
;
import android.view.View;
import android.view.ViewGroup;
public class HomeFragment extends Fragment
2022-07-03 15:51
·
Android

[文章] Android EditText限制输入IP地址
("255");}off+=value.length();off++;}}<EditTextandroid:id="@+id/et_ip_address"android
2020-08-14 11:50
·
控件扩展
[文章] Android 智能刷新框架SmartRefreshLayout
/apk/res-auto"android:id="@+id/refreshLayout"android:layout_width="match_parent"
2020-08-03 23:25
·
UI
[问答] Android 日志
公司有个需求,客户要求关闭Android 版本的log输出,这个有办法解吗?
2022-12-05 10:47
·
AndroidLog

[文章] 5、Android开发基础-其他布局
><AbsoluteLayoutxmlns:android="https://schemas.android.com/apk/res/android"android:layout_width

[文章] Android逆向吾爱新年题目Android01
吾爱新年题目Android01来玩玩新年题目Android的第一题:抓小猫咪。体验打开app之后是这样的:尝试捕捉猫猫。运气真好,居然抓到了。

[文章] Android——RecyclerView使用汇总
/res/android"android:layout_width="match_parent"android:layout_height="match_parent
[问答] Android属性设置
你好我想问一下,我设置Androidsystemproperty,在manifest中也设置了android:sharedUserId="android.uid.system"但是通过set设置属性的时候还是

[文章] Android APP 在线更新功能实现分享
><androidx.cardview.widget.CardViewxmlns:android="http://schemas.android.com/apk/res/android
2022-09-21 22:13
·
APP更新

[文章] Android文件读写权限变更
Android文件读写权限变更一大堆同学在读写文件时遇到权限问题,PermissiondeniedAndroid10以前的访问一般情况下,我们在清单文件声明读写权限,然后Android6.0开始要动态申请权限
- 1
- 2
- 3
- 4
- 5
- 6
- 46
Copyright © 阳光沙滩V1.0.3(2014-) 本网站由程序猿(媛)用爱驱动