HandSome

Results 10 comments of HandSome

you can see this [solve](https://stackoverflow.com/questions/62535856/intent-resolveactivity-returns-null-in-api-30) or you can see [solve1](https://blog.csdn.net/chinaboyliusir/article/details/109290964)

自己按照代码敲一遍就跑出来了,哈哈哈

我也遇到相同的问题,发送成功,但是接收失败

哇,我解決了,这个问题,是我的代码错误,我在发送了数据后,就把串口关闭了,我要为我的错误反思:下面是我的代码,希望大家不要犯相同的错误 ``` String inputCommand = editText.getText().toString().trim(); if (openSerialPort && !TextUtils.isEmpty(inputCommand)) { boolean sendBytes = mSerialPortManager.sendBytes(hexToByteArray(inputCommand)); Log.d(TAG, "initViews: ----发送:" + (sendBytes ? "成功" : "失败")); Toast.makeText(this, "发送" + (sendBytes ? "成功"...

自己用8.0手机把功能都测试下不就知道了,我昨天测试的直播功能,目前没发现问题

ImageView imageView = captcha.findViewById(R.id.refresh); imageView.setImageResource(R.drawable.cat); 可以通过这个方法进行,找到子控件,然后设置你想要的属性

请看这个 https://issuetracker.google.com/issues/307329994?pli=1 加个校验在sdk 34 时替换掉 START_STICKY

看来不会了,逼乎,逼乎,自从开了逼乎专栏和订阅会员后,都快凉了,这三方库是给投资人看的面子工程,不赚钱,怎么还会有人管,估计开发者都被降本增笑给开除了

而且Android本身都快凉了,被大前端快把市场吃完了,Android的优势越来越小,开发慢,各种版本适配垃圾的一比,谷歌自己都在造屎,把代码下载下来自己慢慢适配吧

> # AndroidStudio 不能预览 > 这个问题并不会影响运行效果,如果无法忍受预览失效 请加上 > > ``` > compile 'com.android.support:design:25.3.1' > ``` 加上这个还是无法预览,求解决?只要使用了ConstraintLayout 基本都无法预览